出现提示Warning: localhost:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server localhost:1
New 'localhost:7 (sysop)' desktop is localhost:7
Starting applications specified in /home/su//.vnc/xstartup
Log file is /home/su//.vnc/localhost:7.log
报错信息如下:
Warning: localhost:8 is taken because of /tmp/.X8-lock
Remove this file if there is no X server localhost:8
A VNC server is already running as :8vncserver :8
再次输入vncserver :8还会报错:
Warning: localhost:8 is taken because of /tmp/.X11-unix/X8
Remove this file if there is no X server localhost:8
A VNC server is already running as :8
远程连接vncserver的步骤