vncserver dependency problems in RHEL 4

From: Frappy John (frappyjohn_at_gmail.com)
Date: 08/13/05

  • Next message: ckibler_at_uiuc.edu: "Re: redhat-list Digest, Vol 18, Issue 16"
    Date: Sat, 13 Aug 2005 03:36:55 -0400
    To: redhat-list@redhat.com
    
    

    Hi. I'm running RHES 4.1.

    I've installed the vnc-server (vnc-server-4.0-8.1) via up2date but
    seem to be getting dependency problems.

    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 "server" directory in /usr/X11R6/lib/X11/?
    --which package provides "xsetroot"?
    --why the vnc-server is being distributed with these dependency
    problems and what we can do to correct them?

    Thanks in advance,

    John Hicks

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: ckibler_at_uiuc.edu: "Re: redhat-list Digest, Vol 18, Issue 16"

    Relevant Pages

    • RHEL4 vnc-server package dependency problems
      ... vncext: VNC extension running! ... removing from list! ... vncconfig: unable to open display "my.server.net:1" ...
      (RedHat)
    • Re: 2ten Domänecontroller löschen
      ... > auf betriebsmaster kann nicht umgestellt werden. ... There is allways the brute force way of removing it from the AD. ... DC to remove any left-over references to the failed server. ... Nils Kaczenski - MVP Windows Server ...
      (microsoft.public.de.german.win2000.active_directory)
    • Re: Migrating to windows server 2003
      ... > to move over to win2K3., by removing exchange then removing the DC, then ... > doing a clean install of win2k3 server. ...
      (microsoft.public.windows.server.active_directory)
    • Re: [SLE] exim bashes firewall
      ... >to our internal dns and then to our ISP, removing the localhost entry. ... What do the server logs show when you send mail ... Exim or the firewall then ...
      (SuSE)
    • Re: Terminal Server License Problem
      ... Not from personal experience (I am a frequent user of RD on my internal ... network) but you may be experiencing a bug with removing TS ... --Jonathan Maltz [Microsoft MVP - Windows Server, ... >>went into either Admin or App mode upon install, ...
      (microsoft.public.windows.server.general)