Issue with vncserver not starting?

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

 



I've fount that the vncserver doesn't start correctly after a power outage or non-normal shutdown.  It appears that file in the /tmp/.X11-unix directory is left after the reboot, and causes the startup to fail.

My solution at the moment is to have a script in cron.hourly that checks if it is running, and it not it removes the file, and restarts the service.

Example using port 88 (5988)
==========
run=`systemctl status vncserver@:88.service | grep running | cut -b 20-26`
if [ -z "$run" ] ; then
   rm /tmp/.X11-unix/X88
   systemctl start vncserver@:88.service
fi
==========

Should these files be removed automatically on a restart?
Is it a vncserver issue or a system issue or how things are suppose to work?

Thanks.

  
-- 
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
[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