vncserver not starting today

Michael D. Setzer II mikes at kuentos.guam.net
Tue Jul 22 22:55:50 UTC 2014


On 22 Jul 2014 at 13:02, Robert Moskowitz wrote:

Date sent:      	Tue, 22 Jul 2014 13:02:02 -0400
From:           	Robert Moskowitz <rgm at htt-consult.com>
To:             	Community support for Fedora users 
<users at lists.fedoraproject.org>
Subject:        	vncserver not starting today
Send reply to:  	Community support for Fedora users 
<users at lists.fedoraproject.org>
	
> 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.


> I can't find anything I did yesterday that I am not doing today.
> 
> 
> -- 
> users mailing list
> users at lists.fedoraproject.org
> 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


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
ROSETTA     17924585.874977   |   SETI        29593668.378551
ABC         16613838.513356   |   EINSTEIN    28547237.391636



More information about the users mailing list