Ubuntu 10.04
Sponsored Link

Install VNC Server2010/07/20

[1] Install VNC Server to operate Ubuntu with GUI remotely from Windows client.
root@ubuntu:~#
aptitude -y install vnc4server


root@ubuntu:~#
vi /etc/vnc.conf


# create new

$geometry = "1024x768";

$depth = "24";


root@ubuntu:~#
su - lucid
# switch to a user who set VNC

lucid@ubuntu:~$
# set VNC password

Password:
# input

Verify:
lucid@ubuntu:~$
vncserver
# start

xauth: creating new authority file /home/lucid/.Xauthority

New 'ubuntu:1 (lucid)' desktop is ubuntu:1

Creating default startup script /home/lucid/.vnc/xstartup
Starting applications specified in /home/lucid/.vnc/xstartup
Log file is /home/lucid/.vnc/ubuntu:1.log

lucid@ubuntu:~$
vi .vnc/xstartup


# add lines

exec gnome-session &


lucid@ubuntu:~$
vncserver -kill :1
# stop

Killing Xvnc4 process ID 31104
lucid@ubuntu:~$
vncserver
# start


New 'ubuntu:1 (lucid)' desktop is ubuntu:1

Starting applications specified in /home/lucid/.vnc/xstartup
Log file is /home/lucid/.vnc/ubuntu:1.log
[2] Install VNC viewer on client computer next. Download from the site below to install.

http://www.realvnc.com/products/free/4.1/download.html

Start VNC viewer after installing. Then following scrren is shown. Input [(Server's hostname or IP address):(display number)] like following example.
 
[3] Password is required. Input VNC password you set in the section [1].
 
[4] Just connected.
 
Matched Content