In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.