I found that, exporting DISPLAY=:0.0 and starting a gnome app (xclock) would run on remote machine. The issue , when i log out of SSH, the xclock closes on the remote machine. I wanted it run there until i quit or kill it from remote machine itself. Is there way achieve it ?.
How I do run gnome app and let it run via SSH even after SSH closed
remote accessssh
Best Answer
If I understand your question correctly, the X Server is on the remote machine. Then you just need to filter the HUP signal with
nohup
.Another nice command is
screen
which lets you reconnect to older sessions. Its worth a look when you often use SSH.