My Oracle Support Banner

VNC Server Issue after Upgrade to Oracle Linux 7.4 (Doc ID 2423494.1)

Last updated on SEPTEMBER 21, 2021

Applies to:

Linux OS - Version Oracle Linux 7.0 to Oracle Linux 7.4 [Release OL7 to OL7U4]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Oracle Linux 7 has issues with VNC server not working as expected, after updating to Oracle Linux ( OL ) 7.4 server from previous releases.

The following issues may be observed:

Prior to the upgrade: VNC screen in OL7.3/2/1 with Tiger VNC Server 1.3
- Background with colours, more resolution and Menus are visible.

After the upgrade: On OL7.4 with Tiger VNC Server V1.8
-Gnome-shell starts in black desktop and without apps. It has less resolution without menus.

Also systemctl status on OL7.4 or higher may show the following errors:

# systemctl status vncserver@:1.service -l

Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2017-09-21 15:02:10 CDT; 21h ago
Process: 1339 ExecStart=/usr/bin/vncserver %i -geometry 1360x768 -nolisten tcp (code=exited, status=0/SUCCESS)
Process: 1256 ExecStartPre=/usr/bin/vncserver -kill %i (code=exited, status=2)
Main PID: 1384 (Xvnc)
CGroup: /system.slice/system-vncserver.slice/vncserver@:1.service
+- 1384 /usr/bin/Xvnc :1 -auth /root/.Xauthority -desktop <HOSTNAME>:1 (root) -fp catalogue:/etc/X11/fontpath.d -geometry 1360x768 -pn -rfbauth /root/.vnc/passwd -rfbport 5901 -rfbwait 30000 -nolisten tcp
+- 1854 /usr/libexec/gnome-session-binary --session=gnome-classic
+- 1866 dbus-launch --sh-syntax --exit-with-session
+- 1869 /bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
+- 1949 /usr/libexec/imsettings-daemon
+- 1953 /usr/libexec/gvfsd
+- 1958 /usr/libexec/gvfsd-fuse /root/.gvfs -f -o big_writes
+- 2012 /usr/bin/ssh-agent /etc/X11/xinit/Xclients
+- 2026 /usr/libexec/at-spi-bus-launcher
+- 2031 /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
+- 2033 /usr/libexec/at-spi2-registryd --use-gnome-session
+- 2047 /usr/bin/gnome-keyring-daemon --start --components=ssh
+- 2100 /usr/libexec/gnome-settings-daemon
+- 2116 nautilus-desktop --force
+- 2124 /usr/libexec/gsd-printer
+- 2132 /usr/libexec/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
+- 2138 /usr/bin/vmtoolsd -n vmusr
+- 2141 abrt-applet
+- 2143 /usr/libexec/tracker-miner-fs
+- 2146 /usr/libexec/tracker-miner-user-guides
+- 2148 /usr/libexec/tracker-store
+- 2150 /usr/libexec/tracker-extract
+- 2168 /usr/libexec/gvfs-udisks2-volume-monitor
+- 2170 /usr/bin/gnome-software --gapplication-service
+- 2173 /usr/libexec/tracker-miner-apps
+- 2205 /usr/libexec/gvfs-gphoto2-volume-monitor
+- 2230 /usr/libexec/gvfs-afc-volume-monitor
+- 2254 /usr/libexec/gvfs-mtp-volume-monitor
+- 2267 /usr/libexec/dconf-service
+- 2269 /usr/libexec/gvfs-goa-volume-monitor
+- 2278 /usr/libexec/goa-daemon
+- 2293 /usr/libexec/goa-identity-service
+- 2300 /usr/libexec/mission-control-5
+- 2316 /usr/libexec/gvfsd-metadata
+-17771 /usr/libexec/gnome-terminal-server
+-17777 gnome-pty-helper
+-17778 sh

 

 And var/log/messages shows the following:

Sep 21 15:02:25 HOSTNAME gnome-session[1854]: gnome-session-binary[1854]: WARNING: App 'pulseaudio.desktop' exited with code 1
Sep 21 15:02:26 HOSTNAME gnome-settings-[2100]: g_task_return_error: assertion 'error != NULL' failed
Sep 21 15:02:26 HOSTNAME sealertauto.desktop[2140]: SELinux Troubleshooter: Applet requires SELinux be enabled to run.
Sep 21 15:02:26 HOSTNAME gnome-session-binary[1854]: Entering running state
Sep 21 15:02:26 HOSTNAME libcanberra-login-sound.desktop[2149]: Failed to play sound: Not available
Sep 21 15:02:28 HOSTNAME nautilus-deskto[2116]: Can not get _NET_WORKAREA <=============================================
Sep 21 15:02:28 HOSTNAME nautilus-deskto[2116]: Can not determine workarea, guessing at layout <========================
Sep 22 06:03:46 HOSTNAME gnome-software-service.desktop[2170]: 11:03:46:0071 GLib-GIO unable to send notifications through org.freedesktop.Notifications: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
Sep 22 12:28:41 HOSTNAME tracker-miner-f[2143]: (Sparql buffer) Error in task 0 (file:///root/logs-nonworking) of the array-update: column nie:url is not unique (strerror of errno (not necessarily related): Inappropriate ioctl for device)
Sep 22 12:28:41 HOSTNAME tracker-miner-f[2143]: Could not execute sparql: column nie:url is not unique (strerror of errno (not necessarily related): Inappropriate ioctl for device)

 

 

 

Changes

VNC server was already installed and working on the server.
The server was updated from previous versions of OL7.4.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.