nothing is impossible!!!!

nothing is impossible!!!!

Thursday, December 18, 2008

Use remote Linux GUI application tools locally.

You must have OpenSSH server installed.
Open SSHD configuration file /etc/ssh/sshd_config
$ sudo vi /etc/ssh/sshd_config

Turn on X11Forwarding by setting X11Forwarding parameter to yes:
X11Forwarding yes
Save and close the file.

Restart OpenSSH server you so the changes will take place:
$ sudo /etc/init.d/sshd restart

Logout and close ssh connection.

Running a command remotely
$ ssh -X /usr/bin/gnome-terminal

Another option is to connect to the remote server and use X port forwarding:
$ ssh -X {remote server}

Reference Links:
* Refer to OpenSSH man pages (man sshd, sshd_config, ssh_config)
* VNC - An alternative to X forwarding

No comments: