My Oracle Support Banner

"Unit service entered failed state" When Trying to Start a Properly Configured VNC Service (Doc ID 2432667.1)

Last updated on MAY 26, 2021

Applies to:

Oracle Compute Cloud Service - Version N/A and later
Oracle Linux Cloud Service - Version Oracle Linux 7.0 and later
Information in this document applies to any platform.

Symptoms

           Aug 07 21:59:14 <HOST> systemd[1]: PID file /home/opc/.vnc/localhost.localdomain:1.pid not readable (yet?) after start.
           Aug 07 21:59:14 <HOST> systemd[1]: Failed to start Remote desktop service (VNC).
           Aug 07 21:59:14 <HOST> systemd[1]: Unit vncserver_opc@:1.service entered failed state.
           Aug 07 21:59:14 <HOST> systemd[1]: vncserver_opc@:1.service failed.

           Remove This File If There Is No X Server

            In this example, the opc user should be able to start VNC with the display number 1, but it wrongly started with 14.

          $ ps -fea | grep vnc
           opc 2723 1 0 20:20 ? 00:00:00 /usr/bin/Xvnc :14 -auth /home/opc/.Xauthority -desktop <HOST>:14 (opc) -fp catalogue:/etc/X11/fontpath.d -geometry 1024x768 -pn -rfbauth /home/opc/.vnc/passwd -rfbport 5914 -rfbwait 30000 ps -fea | grep vnc

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
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.