Enable X Session over SSH

Sometimes there is a need to use the graphical X session on Linux machines but you cannot do so, since you don’t have access to the machine, you can just SSH it. But you can forward your X session over SSH. To do this use the -X option. If you are using putty then you can set the option like this. Go to:

Connection -> SSH -> X11 -> “Enable X11 forwarding”

This will enable X session over SSH on putty.

Enjoy the GUI 😉

Add a Comment

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.