Guide Install VNC Server For Ubuntu 14.04 LTS – Method 1

0
1491

VNC, or “Virtual Network Computing”, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on a remote server. VNC makes managing files, software, and settings on a remote server easier for users who are not yet comfortable with working with the command line.

In this article, Azhowto guide install VNC Server for Ubuntu 14.04 LTS (Linux VPS) and connecting to it securely through an SSH tunnel. I use Gnome, the GUI can be accessed from anywhere over the internet or local network with a VNC client on any OS.

Prerequisites

Before you begin with this guide, You will need Ubuntu Server 14.04 with minimum 512mb of ram, 1GB Ram is bester than.

Step one – Install Gnome GUI

Install PUTTY so you can access the console of the linux vps. Log in as “root” and enter the pass you have from the vps. If you never used linux vps please search google “how to login linux”.

On the console type the lines:

apt-get update

When prompted type Y and then press [Enter].

apt-get install gnome-core

Step Two –  Install VNC Server for Ubuntu 14.04 LTS

Type the under lines, when prompted type Y and press [Enter].

apt-get install vnc4server

Continued type:

vncserver

You’ll then be prompted to create and verify a new password.

Type the following command to kill the session:

vncserver -kill :1

Now type the following command to open up the file we need to edit:

vim .vnc/xstartup

In Trusty we need to make quite a few changes. So, press the [Insert] key once (this will switch us into “edit” mode) and then edit the script so it ends up looking like this:

how to install jingling on linux vps azhowto

You have to enter this 3 lines at the end of the file to make it look like above:

metacity &
gnome-settings-daemon &
gnome-panel &

When you’re done editing the .vnc/xstartup file for your particular version of Ubuntu press the [Esc] key once and type the following:

:wq

Next type the following command to create the VNC Session once more:

vncserver -geometry 1024×768

Done, you installed successfully VNC Server for Ubuntu 14.04. The next step we will test and connect VNC Server.

Step Three – Connect to VNC Desktop

I using VNC Viewer in this Guide because I like this client, but you may use any other VNC client as well. Download and install VNC Viewer on to your computer.

In VNC Viewer Client, Click menu File -> Choose New Connection.

install vnc for ubuntu 14.04

Type your Host name or Serrver IP Address. Make sure you don’t forget that :2 at the end, Example: 217.61.14.210:2

Encryption: chosse Prefer off for bester settings.

install vnc for ubuntu 14.04

Connect your server. You will enter the VNC Server password.

install vnc for ubuntu 14.04

If you are connected, you should see the default GNOME desktop ready for configuration and use! It should look something like this:

install vnc for ubuntu 14.04

Note

You should now have a secured VNC server up and running on your Ubuntu 14.04 server. Now you’ll be able to manage your server’s files, software, and settings with an easy-to-use graphical interface.

Good Luck

[Total: 2    Average: 5/5]

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz