Article 4V9GA Unable to start VNC in redhat. PID not readable after start

Unable to start VNC in redhat. PID not readable after start

by
jeethu
from LinuxQuestions.org on (#4V9GA)
After installing VNC I cannot start it. I get the following error.

Code:[root@spp-test-lnx ~]# systemctl status vncserver@:2.service
a- vncserver@:2.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@.service; disabled; vendor preset: disabled)
Active: failed (Result: resources) since Mon 2019-11-18 12:55:06 IST; 20s ago
Process: 16589 ExecStart=/usr/sbin/runuser -l root -c /usr/bin/vncserver %i (code=exited, status=0/SUCCESS)
Process: 16579 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)

Nov 18 12:55:02 dpp-test-lnx.cisco.com systemd[1]: Starting Remote desktop service (VNC)...
Nov 18 12:55:06 dpp-test-lnx.cisco.com systemd[1]: PID file /home/root/.vnc/spp-test-lnx.prol.com:2.pid not readable (yet?) after start.
Nov 18 12:55:06 dpp-test-lnx.cisco.com systemd[1]: Failed to start Remote desktop service (VNC).
Nov 18 12:55:06 dpp-test-lnx.cisco.com systemd[1]: Unit vncserver@:2.service entered failed state.
Nov 18 12:55:06 dpp-test-lnx.cisco.com systemd[1]: vncserver@:2.service failed.I tried removing X0, X1 files from tmp and reboot. But still no luck.latest?d=yIl2AUoC8zA latest?i=BRM2rpAn1R4:2VQhpK9VuXU:F7zBnMy latest?i=BRM2rpAn1R4:2VQhpK9VuXU:V_sGLiP latest?d=qj6IDK7rITs latest?i=BRM2rpAn1R4:2VQhpK9VuXU:gIN9vFwBRM2rpAn1R4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments