LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2019, 02:22 AM   #1
jeethu
LQ Newbie
 
Registered: Oct 2009
Posts: 14

Rep: Reputation: 3
Unhappy Unable to start VNC in redhat. PID not readable after start


After installing VNC I cannot start it. I get the following error.

Code:
[root@spp-test-lnx ~]# systemctl status vncserver@:2.service
● 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.
 
Old 11-18-2019, 06:06 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,787

Rep: Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773Reputation: 2773
As I recall, one must configure and enable a desktop before starting the service. It will not start and serve a no-desktop situation.

There is another issue, however, with your question. Why ask here? If you have a valid RHEL license, why not ask Red Hat? You are paying them for access to the resources to ask such questions, and instructions for "the right way to do it on RHEL" online. Why are you not pursuing the support resources you have paid for?
 
  


Reply

Tags
linux, red hat, tigervnc, vnc, vncserver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista & Ext 3 HD Readable/Non-Readable HCour Linux - Newbie 1 01-19-2009 02:18 PM
kill pid.... won't work with 'pid' variable given.. sachitha Programming 6 03-06-2006 07:48 PM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 10:32 PM
rm cannot remove /var/run/atd.pid and /var/run/xdm.pid danishmr Linux - Software 1 05-04-2004 08:01 AM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration