How to start a X-application on remote server over ssh

x11

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?

Best Answer

someapp --display <display identifier>

or

DISPLAY=<display identifier> someapp

The display identifier is usually :0.