Difference between revisions of "How to use X applications remotely"

From Salix OS
Jump to: navigation, search
m (Connect to the server)
Line 18: Line 18:
 
===Connect to the server===
 
===Connect to the server===
  
Just login via ssh from any Linux machine able to run X using '''-X''' or  "-Y" option ''(difference among them not clear to me)'':
+
Just login via ssh from any Linux machine able to run X using '''-X''' or  "'-Y"' option ''(difference among them not clear to me)'':
  
 
  ssh -Y user@server application_name
 
  ssh -Y user@server application_name

Revision as of 10:34, 13 May 2011

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 or "'-Y"' option (difference among them not clear to me):

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.