no-desktop-icons-files-and-folders-mouse-pointer-as-a-cross-in-vnc

December 2, 2014 1.4k views

I have a server running Cent Os 6.6 and around ten users access that server via VNC. Now I might have (actually have) messed up with the system and users cannot access their desktop via VNC. All they get is the background image and mouse pointer as a cross.

For root account everything is fine.

I have tried the method given in above question but to failed.

Here is the startx log for a user when i tried to log in at run level 3

xauth:  creating new authority file /home/vinay/.serverauth.9255


X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: c6b8 2.6.32-220.el6.x86_64 
Current Operating System: Linux wheatappserver 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64
Kernel command line: ro root=UUID=a95a0f05-f7a6-4400-8f8d-d502da865253 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
Build Date: 18 October 2014  11:46:15AM
Build ID: xorg-x11-server 1.15.0-22.el6.centos  
Current version of pixman: 0.32.4
Before reporting problems, check https://wiki.centos.org/
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 10 15:38:39 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
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 SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
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 Present
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension VNC
Loading extension GLX
error setting MTRR (base = 0xcf800000, size = 0x00800000, type = 1) Invalid argument (22)

Mon Nov 10 15:38:39 2014
vncext:      VNC extension running!
vncext:      Listening for VNC connections on all interface(s), port 5900
vncext:      created VNC server for screen 0

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86AudioMicMute
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86AudioMicMute
Errors from xkbcomp are not fatal to the X server
/etc/X11/xinit/xinitrc.d/popup.sh: line 3: cd: /usr/local/MegaRAID Storage Manager/MegaPopup: 

Permission denied
    /etc/X11/xinit/xinitrc.d/popup.sh: line 13: cd: OLDPWD not set
    /etc/X11/xinit/xinitrc.d/popup.sh: line 12: ./popup: No such file or directory
    gnome-session[9348]: WARNING: Unable to find provider 'metacity' of required component 'windowmanager'
    gnome-session[9348]: WARNING: Unable to find provider 'gnome-panel' of required component 'panel'
    gnome-session[9348]: WARNING: Unable to find provider 'nautilus' of required component 'filemanager'
    GNOME_KEYRING_SOCKET=/tmp/keyring-3oysNT/socket
    SSH_AUTH_SOCK=/tmp/keyring-3oysNT/socket.ssh
    GNOME_KEYRING_PID=9365

    (process:9392): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(process:9392): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0

(process:9392): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0
Failed to play sound: File or data not found

(polkit-gnome-authentication-agent-1:9409): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:9409): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Failure: Module initalization failed
** Message: applet now removed from the notification area

** (nm-applet:9415): WARNING **: get_all_cb: couldn't retrieve system settings properties: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files.

** (nm-applet:9415): WARNING **: fetch_connections_done: error fetching system connections: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files.

waiting for X server to shut down gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
gnome-screensaver: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
error setting MTRR (base = 0xcf800000, size = 0x00800000, type = 1) Invalid argument (22)
(EE) Server terminated successfully (0). Closing log file.


xinit:  unexpected signal 1.
3 comments
  • Are you currently able to log into a new session as root or only use a running one? The messages seem to indicate that some required items (metacity, gnome-panel, nautilus) that make up core components of the desktop environment could not be found.

  • Hey ryanpq,

    Thanks for replying. Yes even if I turn off the system and restart it, rrot user can log on. However for a normal user he also seems to log on but nothing is displayed. While using ssh the normal user also can log on from a terminal and all the directories and files are safe. But they are not displayed..

    Any suggestions?

  • Ok. I would recommend checking on your ~/.vnc/xstartup file for these users to ensure it is set up to load a desktop environment session.

1 Answer

This question was answered by @ryanpq:

Ok. I would recommend checking on your ~/.vnc/xstartup file for these users to ensure it is set up to load a desktop environment session.

View the original comment

Have another answer? Share your knowledge.