VNCServer startup error Failed to start Remote Desktop Service (VNC)

Viewed 2

Due to the previous installation of Linux graphical interface, when reinstalling VNCServer, an error message appears as follows:

Failed to start Remote desktop service (VNC)

Use the command to view the status:

systemctl status vncserver@:1.service

1 Answers

rm -rf /tmp/.X*
and
systemctl start vncserver@:1.service