How to use X applications remotely

From Salix OS
Revision as of 10:31, 13 May 2011 by Witek (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you have several computers running Salix you can access one from another using seral methods. Some of them are described below:

X forwarding via SSH

Configure the server

enable X forarding by uncommenting the following line in /etc/ssh/sshd_config:

X11Forwarding yes

make sure ssh daemon is restarted and running:

service restart sshd

if you want sshd to run at boot:

chmod a+x  /etc/rc.d/rc.sshd

Connect to the server

Just login via ssh from any Linux machine able to run X using -X option:

ssh -Y user@server application_name

like this:

ssh -Y jack@192.168.1.2 thunar

Thunar will be executed on machine with IP 192.168.1.2 but the display will be forwarded to the client`s X server.