well, if you can do it thru an SSH console, you should be able to do the same thing thru a one-liner SSH.
if you previously did this and it worked:
Quote:
HEADNODE> ssh node1
NODE1> xinit &
|
then this should work too:
Quote:
HEADNODE> ssh node1 "xinit &"
|
If you get the error "xinit: Command not found.", it would mean that your PATH was not imported properly since u did not execute it thru a login shell. In that case, you can try using the full path, such as:
Quote:
HEADNODE> ssh node1 "/usr/X11R6/bin/xinit &"
|
Also, when executing a remote script that you want to leave in the background even when disconnected, you might want to check out the
nohup command.
Cheers.