Twitter Updates

Thursday, 20 November 2008

Remote X Forwarding

Forwarding the GUI (Graphical User Interface) from an application on a remote (not locallhost) server is known as X Forwarding. As X11 is the unix/linux display stuff.

a typical noddy example is the xclock which can be lanched from any terminal mac users might have to use the X11 terminal instead of

so to make sure that my (remote) server was setup to forward X over ssh check that the config file contains the forwarding option
$sudo vim /etc/ssh/sshd_config
X11Forwarding yes

Then when I ssh on the local machine to the remote machine include the -X option
$ssh -X me@remote_server

No comments: