How to install VNC server in Ubuntu
Virtual Network Computing (VNC) is a system for providing remote access to the desktop of the computer. Through the network transmitted a picture of the screen are mouse clicks and keyboard keys. In Ubuntu the system is installed via the official repository, then the procedure is superficial and detailed settings.
Install VNC server in Ubuntu
Because in recent versions of Ubuntu default to the Gnome desktop environment, installing and configuring VNC we will, starting from this environment. The whole process, for convenience, divide into incremental steps, so you should have no difficulties with understanding the adjustment of interest tool.
Step 1: Install prerequisites
As mentioned earlier, we will use the official repository. There is the most recent and stable version of the VNC server. All actions are performed via a console because you should start with running it.






Now in Ubuntu contains all the necessary components, it remains only to check their work and do the setup before running remote desktop.
Step 2: First start a VNC server
During the first run of the tool is to configure a few basic settings and then starts the desktop. You should make sure that everything is functioning normally, and it can be done like this:




Step 3: configure the VNC server for full operation
If in the previous step, we only made sure of the efficiency of the installed components, now we need to prepare them for the implementation of the remote desktop connection on another computer.


#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator-geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
x-window-manager &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &





Step 4: check the operation of the VNC server
The last step is to check installed and configured VNC server in action. To use this we will be one of the applications to manage remote desktops. Its installation and start we invite you to read on.









Of course, for connections so a user needs to know the external IP address of the second computer. To determine this, there are special online services or additional utilities added to Ubuntu. Detailed information on this topic you will find in the official documentation from the developers of the OS.
Now you are aware of all major actions you must perform to install and configure VNC server under Ubuntu on the Gnome shell.