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?

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted
someapp --display <display identifier>

or

DISPLAY=<display identifier> someapp

The display identifier is usually :0.

link|improve this answer
It worked, thanks. – eugene y May 15 '10 at 20:05
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.