VNC Question
Howard Coles Jr.
dhcolesj at gmail.com
Wed Dec 20 03:01:27 UTC 2006
I have a desktop running exactly the same version of software as my laptop.
I run:
vncserver -geometry 1024x768
on the desktop, which produces the following:
vncserver -geometry 1024x768
New 'homepc:1 (root)' desktop is homepc:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/homepc:1.log
Now the above mentioned log has this:
Xvnc Free Edition 4.1.1
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70000000, The X.Org Foundation
Tue Dec 19 20:35:58 2006
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/X11/fonts/TTF/, removing from
list!
Could not init font path element /usr/share/X11/fonts/OTF, removing from list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from
list!
Fatal server error:
could not open default font 'fixed'
xsetroot: unable to open display 'homepc:1'
/root/.vnc/xstartup: 12: twm: not found
vncconfig: unable to open display "homepc:1"
Warning: This program is an suid-root program or is being run by the root
user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
So, I run it as normal user.
homepc::~$vncserver -geometry 1024x768
New 'homepc:1 (userid)' desktop is homepc:1
Creating default startup script /home/userid/.vnc/xstartup
Starting applications specified in /home/userid/.vnc/xstartup
Log file is /home/userid/.vnc/homepc:1.log
Ok, check log mentioned above:
Xvnc Free Edition 4.1.1
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 70000000, The X.Org Foundation
Tue Dec 19 20:47:22 2006
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/X11/fonts/TTF/, removing from
list!
Could not init font path element /usr/share/X11/fonts/OTF, removing from list!
Could not init font path element /usr/share/X11/fonts/CID/, removing from
list!
Fatal server error:
could not open default font 'fixed'
xsetroot: unable to open display 'homepc:1'
/home/userid/.vnc/xstartup: 12: twm: not found
vncconfig: unable to open display "homepc:1"
xterm Xt error: Can't open display: homepc:1
The question is, how can I get it to open, or be able to open this port?
--
See Ya'
Howard Coles Jr.
John 3:16!
More information about the kubuntu-users
mailing list