Über eine SSH Verbindung Programm auf der X öffnen

chr@desktop:~$ gnome-terminal
cannot open display:
Run 'gnome-terminal --help' to see a full list of available command line options.

Dafür muss man die Display Variable auf die Aktuelle X Session gesetzt sein. Mit echo $DISPLAY kann man die Variable ausgeben ausgeben. Das erste Display ist Standardmäßig ":0.0".

export DISPLAY=:0.0
kann man die Variable setzen. Nun öffnet auch das Programm auf die ausgewählten Screen.

  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • RSS
  • Slashdot
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

Leave a Reply