In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
The landlord did not know what had happened, but suddenly there was no VNC on the side. I planned to restart the service and found that the service could not be started. I used it.
The following appears in the journalctl-xe command:
Apr 24 21:30:24 zhouziqi runuser [23390]: pam_unix (runuser-l:session): session opened for user root by (uid=0)
Apr 24 21:30:24 zhouziqi runuser [23390]: Warning: zhouziqi:1 is taken because of / tmp/.X11-unix/X1
Apr 24 21:30:24 zhouziqi runuser [23390]: Remove this file if there is no X server zhouziqi:1
Apr 24 21:30:24 zhouziqi runuser [23390]: A VNC server is already running as: 1
Apr 24 21:30:24 zhouziqi runuser [23390]: pam_unix (runuser-l:session): session closed for user root
Apr 24 21:30:24 zhouziqi systemd [1]: vncserver@:1.service: control process exited, code=exited status=2
Apr 24 21:30:24 zhouziqi systemd [1]: Failed to start Remote desktop service (VNC).
-- Subject: Unit vncserver@:1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vncserver@:1.service has failed.
--
-- The result is failed.
Apr 24 21:30:24 zhouziqi systemd [1]: Unit vncserver@:1.service entered failed state.
Apr 24 21:30:24 zhouziqi systemd [1]: vncserver@:1.service failed.
Apr 24 21:30:24 zhouziqi polkitd: Unregistered Authentication Agent for unix-process:23380:8874254 (system bus n
And then I knew it might be
So I deleted the file and restarted it and found it.
[root@zhouziqi tmp] # rm-rvf. X11-unix
Removed'. X11Musi UnixCompact X0'
Removed'. X11MuiUnixUnixCompare X1'
Removed directory: '.X11Mui Unix'
[root@zhouziqi tmp] # systemctl restart vncserver@:1.service
[root@zhouziqi tmp] #
The landlord wants to see what this folder is for, so I'll go in and have a look. It turns out that this folder contains a file, X1. It is estimated that this file was generated when you connected. If you VNC does not exit normally, this file will not be deleted, so it will appear.
A VNC server is already running as: 1. At this point, you can restart the service by manually deleting the files in that folder.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.