Forwarding X over SSH in 3 simple steps

  1. sudo vim /etc/ssh/sshd_config and make sure X11Forwarding is set to yes on the box you are ssh’ing too.
  2. ssh -v -X -C  (-X specifies X forwarding, -C specifies compression, -v is verbose).
  3. Once logged in, simply execute xinit if it’s not already running on that box, and then fire off the name of your application.  Examples:
    1. gnome-session (will start GNOME)
    2. startkde (will start KDE)
    3. firefox (will forward Firefox to your machine)

Via TuxTraining.


1 Comment »

RSS Feed for this entry

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: