Pages

Friday, February 2, 2018

Desktop Icons and Panels Missing in VNC Viewer Connection

When VNC viewer connected to Linux server (Oracle Enterprise Linux 6.4), the desktop only show the wallpaper
and the desktop icons and panels are missing. 

And the log file /home/oracle/.vnc/host01.lab.dbaplus.ca:3.log contains following:
Fri Feb  2 20:11:16 2018
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5903
 vncext:      created VNC server for screen 0
gnome-session[9361]: WARNING: Unable to find provider 'gnome-panel' of required component 'panel'
gnome-session[9361]: WARNING: Unable to find provider 'nautilus' of required component 'filemanager'

Verify if the .desktop file for each component in the error messages exists,
[oracle@host01]$ ls -l /usr/share/applications/*panel*
ls: cannot access /usr/share/applications/*panel*: No such file or directory

[oracle@host01]$ ls -l /usr/share/applications/*nautilus*
ls: cannot access /usr/share/applications/*nautilus*: No such file or directory

The files are missing. Check if the packages are installed, 
[oracle@host01]$ rpm -q gnome-nautilus
package gnome-nautilus is not installed
[oracle@host01]$  rpm -q gnome-panel
package gnome-panel is not installed

Neither is found, install them,
[root@host01]# yum install gnome-panel nautilus
<<messages are truncated>>
Installed:
  gnome-panel.x86_64 0:2.30.2-14.el6                         nautilus.x86_64 0:2.28.4-19.el6

Dependency Installed:
  exempi.x86_64 0:2.1.0-5.el6                              gnome-disk-utility-libs.x86_64 0:2.30.1-2.el6
  gnome-session-xsession.x86_64 0:2.28.0-18.el6            gvfs.x86_64 0:1.4.3-15.el6
  libatasmart.x86_64 0:0.17-4.el6_2                        libcdio.x86_64 0:0.81-3.1.el6
  libcroco.x86_64 0:0.6.2-5.el6                            libexif.x86_64 0:0.6.21-5.el6_3
  libgsf.x86_64 0:1.14.15-5.el6                            librsvg2.x86_64 0:2.26.0-5.el6_1.1
  mtools.x86_64 0:4.0.12-1.el6                             nautilus-extensions.x86_64 0:2.28.4-19.el6
  smp_utils.x86_64 0:0.94-4.el6                            udisks.x86_64 0:1.0.1-4.el6
  unique.x86_64 0:1.1.4-2.el6

Complete!

[root@host01]# rpm -q nautilus
nautilus-2.28.4-19.el6.x86_64
[root@host01]# rpm -q gnome-panel
gnome-panel-2.30.2-14.el6.x86_64

[root@host01]# ls -l /usr/share/applications/*panel*
-rw-r--r-- 1 root root 14928 Apr  7  2011 /usr/share/applications/gnome-panel.desktop
[root@host01]# ls -l /usr/share/applications/*nautilus*
-rw-r--r-- 1 root root  3393 Apr 29  2012 /usr/share/applications/gnome-nautilus-autorun-software.desktop
-rw-r--r-- 1 root root 10634 Apr 29  2012 /usr/share/applications/gnome-nautilus-browser.desktop
-rw-r--r-- 1 root root 12690 Apr 29  2012 /usr/share/applications/gnome-nautilus-computer.desktop
-rw-r--r-- 1 root root  3960 Apr 29  2012 /usr/share/applications/gnome-nautilus.desktop
-rw-r--r-- 1 root root 11229 Apr 29  2012 /usr/share/applications/gnome-nautilus-file-management-properties.desktop
-rw-r--r-- 1 root root  3058 Apr 29  2012 /usr/share/applications/gnome-nautilus-folder-handler.desktop
-rw-r--r-- 1 root root  7651 Apr 29  2012 /usr/share/applications/gnome-nautilus-home.desktop
[root@host01]#

Now, we can start vnc-viewer to create a connection with everything needed.

No comments: