Vnc view only shows the command line, when the use is completely normal, suddenly the virtual machine restarts, and then this is the problem under root permissions again.

introduce the virtual machine environment, which is in the spark cluster. The virtual machine is the master node. After the virtual machine is restarted abnormally, the vnc of other nodes can log in normally, which should have nothing to do with the spark environment. Searching for a lot of related descriptions is about the configuration problem of just installing vnc, and there should be no problem with the configuration file attached.

clipboard.png

clipboard.png
there is another special feature in this problem. I set root to port 1, and the other two users are 2Magi 3, respectively. The vnc of port 2mem3 is normal, but port 1 of root only displays the command line. At this time, port 4 is reopened as a port for root. After logging in, it is still only a command line
when you open vnc, only the error
VNC error: "Could not connect to session bus: Failed to connect to socket"
attempts to restart the virtual machine. Restart vncserver, but it is still useless. Now I don"t know how to log in to vnc directly

Mar.20,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bec59d-1402f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bec59d-1402f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?