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.