Thomas' Tidbits: A few tidbits from Thomas about a variety of topics like programming, gaming, sports and other things.



Speed Up X11 Forwarding
By: Thomas Hawkins     Published Date: 2011-12-24 21:25:00
linux x11 ssh

For those who work on multiple Linux/Unix machines, we sometimes need to do work remotely. Sometimes the terminal doesn’t cut it, and we need to use a GUI application. There are a number of ways to view a GUI on a remote machine, but one way is by X11 forwarding through an SSH connection.

One problem with X11 forwarding, especially over the internet, is the slow speed. This post hopes to explain X11 forwarding, and ways to speed it up.

You can use the command:
ssh -c arcfour,blowfish-cbc -X -C user@192.168.11.3
To establish an SSH session with X11 forwarding enabled. Then all you need to do is launch a X program and it should appear on your local display. Before I explain the command, you must first have X11 forwarding enabled in your sshd_config on your server. Set X11Forwarding yes in your config file.

Now, for the SSH command:

  • -c arcfour,blowfish-cbc : specifies the encryption algorithms to use. These seem to be some of the fastest.
  • -X : This enables X11 Forwarding
  • -C : This enables compression
  • user@192.168.11.3 : This is the user name of the remote machine, and the IP address of that server.


Comment on this post:
You can choose to post your email with your message.
Your name as it will appear on the comments section.
Showing comments:
#ByCommentPost DateLikes
Subscribe to our blog


© Thomas' Tidbits