Difference between revisions of "How to use X applications remotely"
From Salix OS
(Created page with '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 ser…') |
|||
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''' option: | + | 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 | ||
Line 24: | Line 24: | ||
like this: | like this: | ||
− | ssh -Y jack@192.168.1.2 thunar | + | 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. | Thunar will be executed on machine with IP 192.168.1.2 but the display will be forwarded to the client`s X server. |
Revision as of 10:33, 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.