RHEL4 vnc-server package dependency problems

Frappy John frappyjohn at gmail.com
Sun Aug 14 17:48:01 UTC 2005


Hi. I'm running RHES 4.1 and I've installed the vnc-server
(vnc-server-4.0-8.1) via up2date but seem to be getting dependency
problems.

The problem in a nutshell:

On running vncserver, I get:
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
and then three "command not found" errors

I would like to know:
--which package creates the "xserver" directory in /usr/X11R6/lib/X11/?
--which package provides "xsetroot"?
--why Red Hat is distributing the vnc-server with these dependency
problems and what we can do to correct them?

The details:

Upon running vncserver for the first time, I get the following in its
(newly created) log file:

Xvnc version 4.0 - built Nov 24 2004 16:08:56
Underlying X server release 60801000, The X.Org Foundation

Sat Aug 13 02:33:58 2005
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!

Fatal server error:
could not open default font 'fixed'
/root/.vnc/xstartup: line 9: xsetroot: command not found
/root/.vnc/xstartup: line 11: xterm: command not found
/root/.vnc/xstartup: line 12: twm: command not found
vncconfig: unable to open display "my.server.net:1"
---END LOG FILE

The first error (opening secirity policy file) is because there is no
"xserver" directory in  /usr/X11R6/lib/X11/.

I can see that two of those last three "command not found" errors are
due to my not having two packages installed:
"xterm" requires the xterm package
"twm" requires the xorg-x11-twm package
but I can't find a package that delivers "xsetroot"

I installed those two packages (xterm and xorg-x11-twm) and now get
the following in the log file:

Xvnc version 4.0 - built Nov 24 2004 16:08:56
Underlying X server release 60801000, The X.Org Foundation

Sat Aug 13 03:08:49 2005
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!

Fatal server error:
could not open default font 'fixed'
/root/.vnc/xstartup: line 9: xsetroot: command not found
vncconfig: unable to open display "my.server.net: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.
│term Xt error: Can't open display: %s
twm:  unable to open display "my.server.net:1"
---END LOG FILE

Finally, just for good measure, I tried running vncserver as non-root
and got this:

Xvnc version 4.0 - built Nov 24 2004 16:08:56
Underlying X server release 60801000, The X.Org Foundation


Sat Aug 13 03:27:34 2005
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      Listening for HTTP connections on port 5801
 vncext:      created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from list!

Fatal server error:
could not open default font 'fixed'
/home/jhicks/.vnc/xstartup: line 9: xsetroot: command not found
vncconfig: unable to open display "my.server.net:1"
│term Xt error: Can't open display: my.server.net:1
twm:  unable to open display "my.server.net:1"
---END LOG FILE

Any ideas on:
--which package creates the "xserver" directory in /usr/X11R6/lib/X11/?
--which package provides "xsetroot"?
--why Red Hat is distributing the vnc-server with these dependency
problems and what we can do to correct them?

Thanks in advance,

John Hicks




More information about the redhat-list mailing list