On 5 Apr 2012 at 10:29, Lets Go Canes wrote: Date sent: Thu, 5 Apr 2012 10:29:17 -0700 (PDT) From: Lets Go Canes <letsgonhlcanes@xxxxxxxxx> Subject: Re: Problem starting vncserver - but only during reboot To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>, "Michael D. Setzer II" <mikes@xxxxxxxxxxxxxxxx> > > --- On Wed, 4/4/12, Michael D. Setzer II <mikes@xxxxxxxxxxxxxxxx> > wrote: > > > Did you modify the /lib/systemd/system/vncserver@1.service > > file > > to change the <USER> to the id of the user to run the > > vncserver > > on? > > Yes > > > What does > > rpm -qa | grep vnc > > show? > > > > I get 7 lines, with 5 being tiger-vnc packages. > sh-4.2$ rpm -qa | grep vnc > tigervnc-server-minimal-1.1.0-3.fc16.x86_64 > tigervnc-license-1.1.0-3.fc16.noarch > tigervnc-server-1.1.0-3.fc16.x86_64 > libvncserver-0.9.8.2-2.fc16.x86_64 > > > The service starts and works properly if I start it after the system > has booted, so I don't think the problem is with vnc. I'm wondering > if there is a startup synchronization issue of sort sort. The only problem that I have had is that a system restart without a proper shutdown causes the vnc startup to fail since the file still exists. My current solution to this is a cron.hourly file to restart the vnc if it is not running. On one machine that has 3 vnc servers I have this. run=`systemctl status vncserver@:79.service | grep running | cut -b 20-26` #echo $run if [ -z "$run" ] ; then rm /tmp/.X11-unix/X79 systemctl start vncserver@:79.service rm /tmp/.X11-unix/X20 systemctl start vncserver@:20.service rm /tmp/.X11-unix/X65 systemctl start vncserver@:65.service fi That way it will automatically restart the vnc if it didn't get started correctly. Note: you have to have the cron service enabled. +----------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mikes@xxxxxxxxxxxxxxxx mailto:msetzerii@xxxxxxxxx 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 12029945.909740 | EINSTEIN 7623371.809852 ROSETTA 4388616.446766 | ABC 12124980.377137 -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org