Table of Contents

VNC

This page describes how to use VNC with your eeePC. VNC is a means to work on a remote system.

Setting up VNC to remotely work on your eeePC

Installing vnc4server

  1. First you want to add the debian feeds to your eeePC if you haven't done so already
  2. Then as superuser do apt-get install vnc4server

Running vnc4server

  1. run vnc4server

The first time you do this you will be asked to enter a password. Remember this.
The program will background after printing a message of the form: New “eeepc-eeepc:1 (root)” desktop is eeepc-eeepc:1
The message will differ somehow depending on the name of your system (mine is eeepc) and the user id under which you are running vnc4server.
You'll need to remember the number after the : (often 1)

Connecting to your eeePC from Windows

For controlling you need a vnc viewer on your PC. I downloaded mine from www.realvnc.com. If you start the viewer it will come up with a box asking for the server.
In this box you need to type the IP address of your eeePC followed by a : followed by a number. This number is 5900 + the number from the previous step. E.g. if your eeePC is at 192.168.1.2 and in the previous step the last number was 1 you would enter:
192.168.1.2:5901
After pressing OK, the vnc Viewer will ask you for the password you choose earlier.
You'll now get a session with an xterm on your PC. The nice thing is that by default this is a 1024×768 window, so you have some more space to see dialog boxes etc. Different sizes can be entered as arguments to vnc4server.

Stopping vncserver

Even if you stop the viewer, the server stays running. If you want to stop the server you need to type:
vncserver -kill :1
if your number is 1.

WARNING

The vnc traffic is not encrypted. I only use it in-home, and do not allow outside access to the eeePC. However, if you want to connect remotely, you better run vnc over a secure tunnel (using ssh). How to set this up is beyond the scope of this page.

Connecting to your eeePC from Linux

On Ubuntu, I used the therminal server client under Applications/Internet. Fill in your eeePC IP address followed by a : followed by the port number (5900 + the number you got from the server). E.g.:
192.168.1.2:5901
Under protocol select VNC, press connect, you'll be asked for the password and bingo (assuming your password is correct)

Setting up VNC to work on a remote system from your eeePC