Remote Server Ubuntu with VNC

VNC (Virtual Network Computing) is a very easy tools for us in the affairs of the remote computer. Tools are very flexible, because it can work on any operating system, whether it is windows, linux, mac or unix. To connect a remote computer, vnc need ip address .

In this opportunity, I will write how to install vnc server on ubuntu server machine, which in the ubuntu server we add it to gnome-core functions, so that when we are remote with ubuntu vnc server will look like ubuntu with gnome desktop-manager .

Ok, following the step-by-step for installation !!!

Initial step please open your terminal console and please do the following directions:

root@server:~# apt-get install gnome-core vnc4server vnc4-common

After doing the above command, then the gnome-core and will be installed vnc server on your computer. Next we must edit the file / home / udiniq / .vnc / xstartup, please do the following :

root@server:~# vncserver
root@server:~# vncserver -kill :1

root@server:~# vim /home/username/.vnc/xstartup

– By pressing the letter i add gnome-session & at the bottom line –

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
twm &
gnome-session &

Furthermore revive vnc server functions, by performing the following command :

root@server:~# vncserver

Publish on October 18th, 2011 under Ubuntu by udiniq | No Comments »

Berikan Komentar Anda

= 5+9 (Wajib dijumlahkan)