4

I need to start a X program on a remote server over ssh. The program should use the remote X-server (no x-forwarding required). What's the proper way to do this?

Eugene Yarmash
  • 2,433
  • 5
  • 34
  • 54

2 Answers2

6
someapp --display <display identifier>

or

DISPLAY=<display identifier> someapp

The display identifier is usually :0.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84
3

export DISPLAY=:0.0 and then run your program. you may need to do xauth +localhost first. edit: xhost +localhost not xauth

cpbills
  • 2,720
  • 18
  • 12