root@three-desktop:/home/three# vncserver
Couldn’t start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn’t start Xvnc process.
Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:22:10 Xvnc version 3.3.7 – built Jul 4 2006 10:06:30
11/11/07 20:22:10 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:22:10 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:22:10 All Rights Reserved.
11/11/07 20:22:10 See http://www.realvnc.com for information on VNC
11/11/07 20:22:10 Desktop name ‘X’ (three-desktop:1)
11/11/07 20:22:10 Protocol version supported 3.3
11/11/07 20:22:10 Listening for VNC connections on TCP port 5901
11/11/07 20:22:10 Listening for HTTP connections on TCP port 5801
11/11/07 20:22:10 URL http://three-desktop:5801
_FontTransSocketUNIXConnect: Can’t connect: errno = 2
trying another option :
three@three-desktop:~$ sudo vncpasswd /root/.vncpasswd
Password:
Verify:
three@three-desktop:~$ sudo /usr/bin/Xvnc :2 -query localhost -geometry 800×600 -depth 16 -once -fp /usr/share/X11/fonts/misc -dontdisconnect -nevershared -rfbauth /root/.vncpasswd
Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:28:54 Xvnc version 3.3.7 – built Jul 4 2006 10:06:30
11/11/07 20:28:54 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:28:54 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:28:54 All Rights Reserved.
11/11/07 20:28:54 See http://www.realvnc.com for information on VNC
11/11/07 20:28:54 Desktop name ‘x11’ (three-desktop:2)
11/11/07 20:28:54 Protocol version supported 3.3
11/11/07 20:28:54 Listening for VNC connections on TCP port 5902
Font directory ‘/usr/share/X11/fonts/misc’ not found – ignoring
Fatal server error:
could not open default font ‘fixed’
trying again : install vnc4server
root@three-desktop:/home/three# apt-get install vnc4server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
vnc-java
The following NEW packages will be installed:
vnc4server
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 1066kB of archives.
After unpacking 2470kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com edgy-updates/universe vnc4server 4.1.1+xorg1.0.2-0ubuntu1.6.10.2 [1066kB]
Fetched 1066kB in 28s (37.1kB/s)
Selecting previously deselected package vnc4server.
(Reading database … 85336 files and directories currently installed.)
Unpacking vnc4server (from …/vnc4server_4.1.1+xorg1.0.2-0ubuntu1.6.10.2_i386.deb) …
Setting up vnc4server (4.1.1+xorg1.0.2-0ubuntu1.6.10.2) …
root@three-desktop:/home/three# vncserver
New ‘X’ desktop is three-desktop:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/three-desktop:1.log
root@three-desktop:/home/three# ps ax | grep vnc
18374 pts/1 S 0:00 /bin/sh /root/.vnc/xstartup
18378 pts/1 S+ 0:00 grep vnc
need to download vnc viewer now 🙂