Launch remote GUI locally trough SSH

This post is over 3 years old, so please keep in mind that some of its content might not be relevant anymore.

Let me explain what I want to do first since the title might be misleading.
I want to launch a GUI on my local environment that belongs to a remove server.
For example, there are times on which it's easier changing a setting via a GUI rather than the command line.
An easy way to achieve this safely is trough SSH.

Both machines have to be Linux with a desktop environment installed. I've tried it with two Ubuntu 10.04 systems.

If all requirements are in place, adding the parameter "-X" to the usual ssh command is all you need to do.
As the manual sais: "-X Enables X11 forwarding".

ssh -X [email protected]_name

Now you can run any application you want graphically from the terminal.
Hope it helps.

1 thought on “Launch remote GUI locally trough SSH”

Leave a Reply

Your email address will not be published.