VNC SERVER Installation

VNC SERVER Installation

1) To install VNC just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

#sudo apt-get update

2) To install the core components of gnome, use this command:

#sudo apt-get install gnome-core

3)To install a virtual desktop, use this command:

#sudo apt-get install vnc4server

4)In order to use VNC, we need to setup a password using the following command:

#vncserver

5)To make a tweak in startup script, we need to kill the session that we just created:

#vncserver -kill :1

6)Now open up the file that we need to edit:

To Install Nano Editor:
#sudo apt-get install nano

#cd ~
#nano .vnc/xstartup

Code:

And Modify the file so it looks like this:

Code:

#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-classic &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &

7) Next, create the VNC Session once more:

#vncserver -geometry 1024x600

8) Now, download VNCViewer onto our desktop computer from which we want to access the shared desktop. Connect using ServerIP:1 (:1 is for the VNC server window).


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installation of cPanel on VPS/Dedicated Server.

Installation of cPanel on VPS/Dedicated Server.1st ) Login in SSH of VPS/Dedicated Server using...

Installation of cPanel on VPS/Dedicated Server.

Installation of cPanel on VPS/Dedicated Server.1st ) Login in SSH of VPS/Dedicated Server using...

Installation of kloxo Control Panel on CentOS 5/6 x86Bit

Hello,Today we will learn how to install kloxo control panel on the CentOS 5.8 Final x86bit...

Enable TUN/TAP in Solus VM

Hello,    TAP (as in network tap) simulates a link layer device and it operates...

How to install Fantastico on cPanel/WHM

You don't need to download any files in order to install Fantastico! Just SSH to your server...

Powered by WHMCompleteSolution