Results 1 to 3 of 3

Thread: Problem With VNC refreshing (Centos 6.2)

  1. #1
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Default Problem With VNC refreshing (Centos 6.2)

    I am trying to create a VNC server so I can connect to a system with a desktop. I am able to connect and I can see the desktop with the computer trash and root home icons displayed. When I try clicking on something though the screen blanks out on me and all I can see is the default Centos Background. Everything else is gone. This stay like this until I restart VNC. I searched everywhere and can not seem to find an answer. I found some where that on ubuntu there was a problem like this and it had to do with special display. I tried adding the metacity command to the startup file but this did not work. I also tried changing the desktop type and still have no solution

    Here is the xstart file:
    #!/bin/sh

    [ -r /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
    export LANG
    export SYSFONT
    vncconfig -iconic &
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    OS=`uname -s`
    if [ $OS = 'Linux' ]; then
    case "$WINDOWMANAGER" in
    *gnome*)
    if [ -e /etc/SuSE-release ]; then
    PATH=$PATH:/opt/gnome/bin
    export PATH
    fi
    ;;
    esac
    fi
    if [ -x /etc/X11/xinit/xinitrc ]; then
    exec /etc/X11/xinit/xinitrc
    fi
    if [ -f /etc/X11/xinit/xinitrc ]; then
    exec sh /etc/X11/xinit/xinitrc
    fi
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    #metacity --replace
    #metacity --no-composite
    xsetroot -solid grey
    vncconfig -nowin &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #metacity --no-composite
    #metacity --replace

    exec gnome-session &



    And here is my sysconfig file
    # The VNCSERVERS variable is a list of display:user pairs.
    #
    # Uncomment the lines below to start a VNC server on display :2
    # as my 'myusername' (adjust this to your own). You will also
    # need to set a VNC password; run 'man vncpasswd' to see how
    # to do that.
    #
    # DO NOT RUN THIS SERVICE if your local area network is
    # untrusted! For a secure way of using VNC, see this URL:


    # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.

    # Use "-localhost" to prevent remote VNC clients connecting except when
    # doing so through a secure tunnel. See the "-via" option in the
    # `man vncviewer' manual page.

    # VNCSERVERS="2:myusername"
    # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"

    VNCSERVERS="2:root 3:nz"
    VNCSERVERARGS[2]="-geometry 800x600 -depth 32"
    VNCSERVERARGS[3]="-geometry 640x480"




    Any ideas On where I should head?

    EDIT:

    Here is the Log file for the VNC. The last 2 lines is what is printed when trying to click on something:

    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension VNC
    Initializing built-in extension GLX

    Sat Sep 14 14:04:39 2013
    vncext: VNC extension running!
    vncext: Listening for VNC connections on all interface(s), port 5902
    vncext: created VNC server for screen 0
    expected keysym, got XF86TouchpadOn: line 120 of inet
    expected keysym, got XF86TouchpadOff: line 121 of inet
    vncconfig: symbol lookup error: vncconfig: undefined symbol: _XGetRequest
    gnome-session[17355]: devkit-power-gobject-WARNING: Couldn't connect to system bus: The maximum number of active connections for UID 0 has been reached
    gnome-session[17355]: WARNING: Could not connect to ConsoleKit: The maximum number of active connections for UID 0 has been reached
    gnome-session[17355]: WARNING: Could not connect to ConsoleKit: The maximum number of active connections for UID 0 has been reached
    GNOME_KEYRING_SOCKET=/tmp/keyring-bR3ZrC/socket
    SSH_AUTH_SOCK=/tmp/keyring-bR3ZrC/socket.ssh
    GNOME_KEYRING_PID=17417

    ** (gnome-settings-daemon:17421): WARNING **: /usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so: undefined symbol: _XGetRequest

    ** (gnome-settings-daemon:17421): WARNING **: Cannot load plugin 'Wacom' since file '/usr/lib64/gnome-settings-daemon-2.0/libgsdwacom.so' cannot be read.

    ** (gnome-settings-daemon:17421): WARNING **: Error activating plugin 'Wacom'

    (gnome-panel:17439): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/libexec/gvfs-gdu-volume-monitor received signal 6
    /usr/bin/gnome-session: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest

    (nautilus:17444): EggSMClient-WARNING **: Failed to connect to the session manager: IO error occured opening connection

    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!

    ** (gnome-panel:17439): WARNING **: panel-applet-frame.c:1288: failed to load applet OAFIID:GnoteApplet:
    (null)
    ** Message: Could not connect to session manager: Could not get owner of name 'org.gnome.SessionManager': no such name

    ** (gnome-panel:17439): WARNING **: Could not connect to session manager: Could not get owner of name 'org.gnome.SessionManager': no such name

    ** (gnome-panel:17439): WARNING **: panel-applet-frame.c:1359: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
    Unknown CORBA exception id: 'IDLmg.org/CORBA/INV_OBJREF:1.0'

    (gnome-panel:17439): Gtk-WARNING **: A floating object was finalized. This means that someone
    called g_object_unref() on an object that had only a floating
    reference; the initial floating reference is not owned by anyone
    and must be removed with g_object_ref_sink().

    (nautilus:17444): GVFS-RemoteVolumeMonitor-WARNING **: invoking IsSupported() failed for remote volume monitor with dbus name org.gtk.Private.GduVolumeMonitor: org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/libexec/gvfs-gdu-volume-monitor received signal 6
    Initializing nautilus-gdu extension
    Initializing nautilus-open-terminal extension

    Sat Sep 14 14:05:46 2013
    Connections: accepted: 9.65.70.20::35636

    Sat Sep 14 14:05:47 2013
    SConnection: Client needs protocol version 3.8
    SConnection: Client requests security type VncAuth(2)
    VNCSConnST: Server default pixel format depth 32 (32bpp) little-endian rgb
    max 255,255,255 shift 16,8,0
    VNCSConnST: Client pixel format depth 32 (8bpp) rgb max 7,7,3 shift 0,3,6
    gnome-panel: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest
    nautilus: symbol lookup error: /usr/lib64/libgdk-x11-2.0.so.0: undefined symbol: _XGetRequest
    Last edited by Derage; 15th September 2013 at 12:22 AM. Reason: Log file information

  2. #2
    Junior Member
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Default Solved

    I figrued out what was going wrong. After looking into the log file and finding that error message, I was able to deduce that I need to upade xlibs. Once this was done everything worked fine.

    For anyone that runs into this issue run this command:
    yum install libX11

  3. The Following User Says Thank You to Derage For This Useful Post:

    dheerajkabra (27th November 2013)

  4. #3
    Junior Member
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by Derage View Post
    I figrued out what was going wrong. After looking into the log file and finding that error message, I was able to deduce that I need to upade xlibs. Once this was done everything worked fine.

    For anyone that runs into this issue run this command:
    yum install libX11

    Derage, you answer helped me just now. I have been freaking out on the exact same issue for almost a week now and wasn't hitting anything good. Your answer is a life savior. Many Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CentOS 6 wireless internet problem
    By gohal in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 19th February 2013, 11:23 PM
  2. Centos 5.8 32bits GPT Problem
    By astra in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 30th March 2012, 06:49 PM
  3. Problem with Iptbles in Centos
    By mahi_nix in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 29th April 2011, 01:46 AM
  4. [Solved] weird problem - terminal not refreshing; sleep not terminating
    By vikas027 in forum Solaris/OpenSolaris
    Replies: 3
    Last Post: 15th July 2009, 02:13 PM
  5. Display Problem in CentOS 4.4
    By kasimani in forum Linux software
    Replies: 1
    Last Post: 5th May 2007, 01:36 PM

Posting Permissions

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