Desktop remoting for Ubuntu using x11vnc


x11vnc is a neat way to remote an existing X11 session to another machine. You can use a regular VNC client on the remote machine to interact with your Ubuntu Desktop.

Installation

Execute the following command to install x11vnc

sudo apt-get install x11vnc

Then, execute x11vnc thus

x11vnc

VNC Client

There are several VNC clients you can choose from but I prefer the TightVNC Viewer. Once installed, point the viewer to host_name:display_number or host_ip:display_number e.g. 192.168.0.2:0. The display number can be obtained from a terminal window on Ubuntu thus

echo $DISPLAY

Some neat features to try out:

  • Send keyboard commands like Alt+Tab or Ctrl+Alt+Del
  • Copy to or paste from the remote machine

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s