Find the answer to your Linux question:
Results 1 to 4 of 4
Hi Experts I installed the vncserver rpm on Redhat EL 5.3 after the initial installation. I am able to run $vncserver and can connect with vnc client also. But getting ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    3

    VNC Server - Black Screen on Client

    Hi Experts

    I installed the vncserver rpm on Redhat EL 5.3 after the initial installation. I am able to run $vncserver and can connect with vnc client also. But getting black screen all arrond the xtem and also not able to launch xclock. Here are the error messages in .vnc log

    Couldn't open RGB_DB '/usr/share/X11/rgb'
    _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/ocapma:1
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

    Xvnc Free Edition 4.1.2
    Copyright (C) 2002-2005 RealVNC Ltd.
    See RealVNC - RealVNC remote control software for information on VNC.
    Underlying X server release 70101000, The X.Org Foundation

    Tue Mar 10 00:34:10 2009
    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/lib/xserver/SecurityPolicy
    /home/oracle/.vnc/xstartup: line 9: xsetroot: command not found
    /home/oracle/.vnc/xstartup: line 12: twm: command not found


    Seeking your expert advises where I missed some configuration etc.

    Thanks
    -naveed

  2. #2
    Linux User Felarin's Avatar
    Join Date
    Mar 2007
    Location
    Brazil or Singapore
    Posts
    314
    Is SELinux enabled?

    Type

    getenforce

    And tell me what the output is.
    "A graphical user interface is just a mask. What lies beneath is what matters."

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    3
    Hi Felarin,


    SELinux is Disabled. I am suspecting if following errors might be the cause.

    /home/oracle/.vnc/xstartup: line 9: xsetroot: command not found
    /home/oracle/.vnc/xstartup: line 12: twm: command not found ** this one especially.


    Thanks for replying and helping.

    Regards,
    Naveed

  4. #4
    Linux User Felarin's Avatar
    Join Date
    Mar 2007
    Location
    Brazil or Singapore
    Posts
    314
    Try this,

    Change "twm" to "startx"

    Remember to save the file.

    service vncserver restart

    Then try connecting to your vnc again.

    xsetroot should be at /usr/bin/xsetroot

    The key is to uncomment the first 2 lines in the file, change twm to startx and edit /etc/sysconfig/vncservers to enable your various vncserver sessions to startup with the service.
    "A graphical user interface is just a mask. What lies beneath is what matters."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...