Linux - TigerVNC - Warning: server5:2 is taken because of /tmp/.X11-unix
Dobrý den,
používám na Linux serveru TigerVNC a po restartu nechce žádná tiger vnc služba neběhnout.
Zkusím
Dobrý den,
zkuste provést toto:
rm -f /tmp/.X4-lock
rm -f /tmp/.X11-unix/X4
reboot
Show english version
používám na Linux serveru TigerVNC a po restartu nechce žádná tiger vnc služba neběhnout.
Zkusím
systemctl restart vncserver@:2.service
a mám chybu.journalctl -xe
vrací z logu toto:
-- Unit vncserver@:2.service has begun starting up.
úno 25 08:55:27 server5 systemd[1]: Started Session c13 of user user7.
-- Subject: Unit session-c13.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-c13.scope has finished starting up.
--
-- The start-up result is done.
úno 25 08:55:27 server5 runuser[4663]: pam_unix(runuser-l:session): session opened for user user7 by (uid=0)
úno 25 08:55:27 server5 runuser[4663]: Warning: server5:2 is taken because of /tmp/.X11-unix/X2
úno 25 08:55:27 server5 runuser[4663]: Remove this file if there is no X server server5:2
úno 25 08:55:27 server5 runuser[4663]: A VNC server is already running as :2
úno 25 08:55:27 server5 runuser[4663]: pam_unix(runuser-l:session): session closed for user user7
úno 25 08:55:27 server5 systemd[1]: vncserver@:2.service: control process exited, code=exited status=2
úno 25 08:55:27 server5 systemd[1]: Failed to start Remote desktop service (VNC).
-- Subject: Unit vncserver@:2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vncserver@:2.service has failed.
--
-- The result is failed.
úno 25 08:55:27 server5 systemd[1]: Unit vncserver@:2.service entered failed state.
úno 25 08:55:27 server5 systemd[1]: vncserver@:2.service failed.
úno 25 08:55:27 server5 polkitd[756]: Unregistered Authentication Agent for unix-process:4651:80870 (system bus name :1
ODPOVĚĎ
Dobrý den,
zkuste provést toto:
rm -f /tmp/.X4-lock
rm -f /tmp/.X11-unix/X4
reboot
Show english version