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?
someapp --display <display identifier>
DISPLAY=<display identifier> someapp
The display identifier is usually
export DISPLAY=:0.0 and then run your program. you may need to do
xauth +localhost first. edit:
xhost +localhost not