Menu

Install and Configure Remote Desktop on Ubuntu 14.04 Server Install and Configure Remote Desktop on Ubuntu 14.04 Server

Install Ubuntu Desktop

Let’s start by updating apt cache,
1
apt-get update
Following command will install Ubuntu desktop on your Ubuntu 14.04 server,
1
apt-get install ubuntu-desktop

Install VNC Server

Following command will install gnome packages that are required by VNC Server,
1
apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
Since the server is now ready for VNC, let’s install it by running below command,
1
apt-get install vnc4server
Now open vncserver config file with nano,
1
nano /usr/bin/vncserver
Look for the following line (Ctrl+W),
1
"# exec /etc/X11/xinit/xinitrc\n\n".
Paste following lines after that,
1
2
3
4
5
"gnome-panel &\n".
       "gnome-settings-daemon &\n".
       "metacity &\n".
       "nautilus &\n".
       "gnome-terminal &\n".
File should look like this after changes,
vnc-config-file
Start a VNC session with following command,
1
vncserver
It’ll ask you to create a password that will be used to access your desktop. Setting up VNC on remote server is now completed. But you’ll need a VNC viewer installed on your PC to access it. I use RealVNC. It’s free for personal use.
Install VNC Viewer on your PC and you’ll see following window when you open it.vnc-screencap
Type your server’s ip address followed by :1 and then click Connect. You’ll be asked for the password you created earlier. Entering correct password will open your Ubuntu 14.04 server’s desktop in a new window. Now if you’re familiar with Ubuntu, you’ll know what to do. If not take some time and get used it.

Không có nhận xét nào :

Đăng nhận xét