Register now and start sharing your code snippets.
-->
Remote X11 apps through SSH
Shell Script (Bash) posted about 1 year ago by marko
In order to forward X11 applications from a remote server into your local X session the server must support tunneling of X11 apps with this property in sshd_config
1 X11Forwarding yes
Then simply issue the -X parameter for the SSH client.
1 ssh -X remotehost
Now run an X11 application from the SSH terminal and it’s UI will be tunneled to your local X session.
1 gvim my_script.rb