["Followup-To:" header set to comp.os.linux.x.]
On Tue, 11 May 2004 14:49:49 -0500, s staggered into the Black Sun and said:
> How can I run an X app on a remote machine through an SSH connection?
> Notice, I don't want the display to show on the local machine, I want
> the process AND display to run on the remote machine.
This works for me, YMMV:
Log into remote as username using xdm/kdm, so a valid ~/.Xauthority is
generated for username.
local:~$ ssh -l username -x remote
( -x to disable X11 forwarding since you said you don't want that)
remote:~$ export DISPLAY=:0
remote:~$ nohup xeyes &
....this starts xeyes on the remote machine, and it displays on the
remote machine without problems.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / Hire me!
-----------------------------/
http://crow202.dyndns.org/~mhgraham/resume