About Me

My photo
Working as Technical Lead in CollabNET software private limited.

Friday 22 February, 2008

Basic X11 Forwarding Over SSH

X11Forwarding needs to be enabled on the sshd server. Do this by making the following edit:
File: /etc/ssh/sshd_config

After you make these changes, you will need to restart sshd so the changes will be accepted:
/etc/init.d/sshd restart

Don't forget to log out and log in to the server for this change to take effect.

Note: one reason for receiving the error messages

xterm Xt error: Can't open display: your_client_name:0.0

may be that X11Forwarding is not enabled on the server.
[edit] Running single apps

$ ssh -X < remote_server >

No comments: