Re: vncserver not starting today

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/22/2014 06:55 PM, Michael D. Setzer II wrote:
On 22 Jul 2014 at 13:02, Robert Moskowitz wrote:

Date sent:      	Tue, 22 Jul 2014 13:02:02 -0400
From:           	Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
To:             	Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject:        	vncserver not starting today
Send reply to:  	Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
	
OK.  New day, new testing.  I can get IPv4 setup quickly and routing
right.  Yeah me (with a little help from my friends I got by)!

So I go to start vncserver where I was up to yesterday where I got the
display wrong and get:

# systemctl start vncserver@:3.service
Job for vncserver@:3.service failed. See 'systemctl status
vncserver@:3.service' and 'journalctl -xn' for details.

# systemctl -l status vncserver@:3.service
vncserver@:3.service - Remote desktop service (VNC)
     Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
     Active: failed (Result: exit-code) since Fri 2010-01-01 00:28:15
EST; 35s ago
    Process: 952 ExecStart=/sbin/runuser -l rgm -c /usr/bin/vncserver
    %i
(code=exited, status=2)
    Process: 949 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i >
/dev/null 2>&1 || : (code=exited, status=0/SUCCESS) Jan 01 00:28:15
cb2.htt-consult.com systemd[1]: vncserver@:3.service: control process
exited, code=exited status=2 Jan 01 00:28:15 cb2.htt-consult.com
systemd[1]: Failed to start Remote desktop service (VNC). Jan 01
00:28:15 cb2.htt-consult.com systemd[1]: Unit vncserver@:3.service
entered failed state.

So now what?  It worked yesterday....

Check if there is a /tmp/.X11-unix/X3 file.
It is suppose to be removed with a normal shutdown, but sometimes isn't and
causes the vnc not to start. I used a cron.hourly script that would check if vnc
serve running, and if not, it would remove the file, and then use systemctl to
restart the service.

That might have been it. I had just pulled the plug on the last shutdown. This time I did a proper poweroff and powered on, and it is starting.

# systemctl -l status vncserver@:3.service
vncserver@:3.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:3.service; enabled)
Active: active (running) since Wed 2014-07-23 01:13:16 EDT; 8min ago
Process: 1172 ExecStart=/sbin/runuser -l rgm -c /usr/bin/vncserver %i (code=exited, status=0/SUCCESS) Process: 1169 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Main PID: 1196 (Xvnc)
CGroup: /system.slice/system-vncserver.slice/vncserver@:3.service
‣ 1196 /usr/bin/Xvnc :3 -desktop cb2.htt-consult.com:3 (rgm) -auth /home/rgm/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/rgm/.vnc/passwd -rfbport 5903 -fp catalogue:/etc/X11/fontpath.d -pn

Jul 23 01:13:16 cb2.htt-consult.com systemd[1]: Started Remote desktop service (VNC).


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux