UBUNTU VNC INSTALL::::::::::::::

SERVER::::

# apt-get install vnc4server gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
# apt-get install xvnc4viewer ### command for client

# vim /home/user/.vnc/xstartup; chmod +x /home/user/.vnc/xstartup
!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
:wq

# vim /home/user/.bashrc
# alias vncbaslat=”su – user -c ‘vncserver -geometry 1024×768 :1′”
# alias vncdurdur=”su – user -c ‘vncserver -kill :1′”

CLIENT::::

# wget https://www.realvnc.com/download/file/vnc.files/VNC-6.0.2-Linux-x64-ANY.tar.gz
# tar xvfz VNC-6.0.2-Linux-x64-ANY.tar.gz
# chmod +x VNC-Viewer-6.0.2-Linux-x64.deb
# dpkg -i VNC-Viewer-6.0.2-Linux-x64.deb

# vncviewer ipadress:1
enter password

Success!!!

Tagged:

Leave a Reply

Your email address will not be published.