I've had the issue of the vncserver not starting after a bad restart 
where the /tmp/.X11-unix/X79 file has not been deleted during the 
shutdown (Usually a power outage). 

My current solution has been to have a script in cron.hourly that 
checks if the status is running, and if not it deletes the 
/tmp/.X11-unix/X79 file and then starts the service. 

Is there a better method to have it delete the file during the start 
process? Not sure if something else is supose to delete this file if 
it wasn't deleted during a normal shutdown.

 Before I would have to manually ssh into the machines to delete 
the file, and manually restart the service. (now systemctl). 

Fedora 16 by the way.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[email protected]                            
  mailto:[email protected]
  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@HOME CREDITS
SETI        11969293.719299   |   EINSTEIN     7540627.629852
ROSETTA      4338248.975416   |   ABC         11870729.099396


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Tigervnc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to