Monday, 10 November 2014

How to run a whole desktop environment on the remote machine with X11 session forwarding


To test you can first run something like this ssh -X -f username@host xclock and enter the password. You should then see the the clock window on your screen. If this does not work, please check in /etc/ssh/sshd_config whether X11 forwarding has been set to 'yes'.


You should see the GNOME panel appear on your local display.

Now, to run a whole desktop environment run

ssh -X -f username@host gnome-session

Finally, you can end your SSH session by pressing Ctrl-D.


No comments:

Post a Comment