Install and configure VNC Server on Ubuntu 13.04 12.10 Linux Mint 15 13

Howto install and configure VNC Server on Ubuntu 13.04 12.10 Linux Mint 15 13

vnc server logo

VNC – a remote display system which allows you to view a computing Linux environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures.

Step 1:  Install VNC Server on Ubuntu 13.04 12.10 Linux Mint 15 13

root@ubuntu:~# apt-get install vnc4server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
apache2-mpm-worker apache2-utils apache2.2-common
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
xbase-clients
Suggested packages:
vnc-java
The following NEW packages will be installed:
vnc4server xbase-clients
0 upgraded, 2 newly installed, 0 to remove and 240 not upgraded.
Need to get 2,103 kB of archives.
After this operation, 5,460 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/universe xbase-clients all 1:7.7+1ubuntu4 [2,754 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring/universe vnc4server i386 4.1.1+xorg4.3.0-37ubuntu5 [2,100 kB]
Fetched 2,103 kB in 27s (76.5 kB/s)
Selecting previously unselected package xbase-clients.
(Reading database … 162601 files and directories currently installed.)
Unpacking xbase-clients (from …/xbase-clients_1%3a7.7+1ubuntu4_all.deb) …
Selecting previously unselected package vnc4server.
Unpacking vnc4server (from …/vnc4server_4.1.1+xorg4.3.0-37ubuntu5_i386.deb) …
Processing triggers for man-db …
Setting up xbase-clients (1:7.7+1ubuntu4) …
Setting up vnc4server (4.1.1+xorg4.3.0-37ubuntu5) …
update-alternatives: using /usr/bin/vnc4server to provide /usr/bin/vncserver (vncserver) in auto mode
update-alternatives: using /usr/bin/Xvnc4 to provide /usr/bin/Xvnc (Xvnc) in auto mode
update-alternatives: using /usr/bin/x0vnc4server to provide /usr/bin/x0vncserver (x0vncserver) in auto mode
update-alternatives: using /usr/bin/vnc4passwd to provide /usr/bin/vncpasswd (vncpasswd) in auto mode
update-alternatives: using /usr/bin/vnc4config to provide /usr/bin/vncconfig (vncconfig) in auto mode
root@ubuntu:~#

 

Step 2: Install Gnome X Window for Ubuntu

root@ubuntu:~# apt-get install gnome-core
Setting up libcaribou-gtk-module:i386 (0.4.4-1ubuntu1) …
Setting up libcaribou-gtk3-module:i386 (0.4.4-1ubuntu1) …
Setting up libgdict-common (3.6.0-0ubuntu1) …
Setting up libgdict-1.0-6 (3.6.0-0ubuntu1) …
Setting up gnome-dictionary (3.6.0-0ubuntu1) …
Setting up gnome-icon-theme-extras (3.4.0-2ubuntu1) …
Setting up gnome-online-accounts (3.6.2-1ubuntu1) …
Setting up gnome-packagekit-data (3.6.0-0ubuntu1) …
Setting up gnome-packagekit (3.6.0-0ubuntu1) …
Setting up gnome-icon-theme-full (3.6.2-0ubuntu1) …
update-alternatives: using /usr/share/icons/gnome/scalable/places/ubuntu-logo.svg to provide /usr/share/icons/gnome/scalable/places/start-here.svg (start-here.svg) in auto mode
update-alternatives: warning: skip creation of /usr/share/icons/gnome/256×256/places/start-here.png because associated file /usr/share/icons/gnome/256×256/places/ubuntu-logo.png (of link group start-here.svg) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/icons/gnome/48×48/places/start-here.png because associated file /usr/share/icons/gnome/48×48/places/ubuntu-logo.png (of link group start-here.svg) doesn’t exist
Setting up libmozjs185-1.0 (1.8.5-1.0.0+dfsg-4) …
Setting up libgjs0c (1.34.0-0ubuntu1) …
Setting up gnome-shell-common (3.6.3.1-0ubuntu6) …
Setting up gjs (1.34.0-0ubuntu1) …
Setting up gtk2-engines:i386 (1:2.20.2-2ubuntu1) …
Setting up notification-daemon (0.7.6-1) …
Setting up gnome-sushi (3.6.1-0ubuntu1) …
Setting up gnome-software-manager (3.6.0-0ubuntu1) …
Setting up gnome-update-viewer (3.6.0-0ubuntu1) …
Setting up gtk2-engines-pixbuf:i386 (2.24.17-0ubuntu2) …
Setting up indicator-applet-complete (12.10.2daily13.03.01-0ubuntu1) …
Setting up libenca0 (1.14-2) …
Setting up libgsf-1-common (1.14.26-1ubuntu1) …
Setting up libgsf-1-114 (1.14.26-1ubuntu1) …
Setting up libiptcdata0 (1.0.4-3ubuntu1) …
Setting up libtracker-extract-0.14-0 (0.14.5-1ubuntu1) …
Setting up packagekit-tools (0.7.6-3ubuntu1) …
Setting up tracker-extract (0.14.5-1ubuntu1) …
Setting up tracker-miner-fs (0.14.5-1ubuntu1) …
procps stop/waiting
Setting up tracker-utils (0.14.5-1ubuntu1) …
Setting up xserver-xephyr (2:1.13.3-0ubuntu6) …
Processing triggers for ureadahead …
Setting up gnome-shell (3.6.3.1-0ubuntu6) …
Setting up gnome-core (1:3.4+7ubuntu4) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
root@ubuntu:~#

Step 3: Set the password for VNC Server

root@ubuntu:~# vncpasswd
Password:
Verify:
Password too long – only the first 8 characters will be usedroot@ubuntu:~#

Step 4: Start VNC Server

root@ubuntu:~# vncserver
ubuntu:3 (root)’ desktop is ubuntu:3Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/ubuntu:3.log

 

Step 5: Use VNC Viewer to view and control VNC Server from remote

vnc viewer

 

vnc viewer connect

 

Now we can connect to remote server by VNC viewer.

Thanks for using Ithelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>