How to Configure the VNC Server in Ubuntu
The virtual network computer application allows you to log in, view and make changes to your Linux-based computer from a remote computer. In order to use the VNC application, you must install and set up the VNC server on the computer that you want remote access to, and enable your firewall settings to allow remote access.
Instructions
-
-
1
Click on "Applications." Browse to "Accessories" and click on "Terminal" to open the Linux terminal window.
-
2
Download the VNC installation package and save it to a location where you can easily find it.
-
-
3
Input "sudo aptitude install x11vnc vnc-java" (without quotes) into the command line in the terminal. Click "Enter."
-
4
Input "x11vnc -storepasswd" (without quotes) into the command line in the terminal window. Click "Enter." This command allows you to set the login password for your VNC server.
-
5
Open a browser and enter the IP address for your router. Refer to your router user manual for the IP for your specific model of router. Configure your router firewall so that ports 5800 and 5900 allow access from remote computers attempting to log in to your VNC server.
-
6
Input "x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800" (without quotes) into the command line in the terminal window. Click "Enter."
-
7
Open a browser from a separate computer (that has the VNC viewer installed) and enter the IP address of your Linux computer. Enter the password, when prompted, and log into the VNC server to verify that it works. Note that the viewer will display the desktop of the computer with the VNC server installed, if working properly.
-
1