GNOME and VNC SERVER Installation
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
To install the core components of gnome, use this command:
#sudo apt-get install gnome-core
To install a virtual desktop, use this command:
#sudo apt-get install vnc4server
In order to use VNC, we need to setup a password using the following command:
#vncserver
To make a tweak in startup script, we need to kill the session that we just created:
#vncserver -kill :1
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 &
- Next, create the VNC Session once more:
#vncserver -geometry 1024x600
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).
- 1 Los Usuarios han Encontrado Esto Útil
Artículos Relacionados
Increase PHP file Upload size in windows server 2008
The php.ini file is the default configuration file for running applications that require PHP. It...
Setup Basic POP3/IMAP Mail Server in Centos/RHEL
Setup Basic POP3/IMAP Mail Server in Centos/RHELSetting up a mail server can be quite...
How Do I access RDP
Remote Desktop Protocol (RDP) is a proprietary protocol developed by Microsoft, which provides a...
Update Time-Zone on OpenVZ VPS
OpenVZ will reflect the host server’s time by default, You can configure your VPS with custom...
Enable TUN/TAP in Solus VM
TAP (as in network tap) simulates a link layer device and it operates with layer 2 packets such...