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