vnc server error


error:

Warning: XXX:4 is taken because of /tmp/.X4-lock
Remove this file if there is no X server XXX:4

Warning: XXX:5 is taken because of /tmp/.X5-lock
Remove this file if there is no X server XXX:5

Warning: XXX:6 is taken because of /tmp/.X6-lock
Remove this file if there is no X serverXXX:6


solution:


vncserver -kill :4
vncserver -kill :5
vncserver -kill :6
rm /tmp/.X11-unix/X4
rm /tmp/.X11-unix/X5
rm /tmp/.X11-unix/X6
rm /tmp/.X4-lock
rm /tmp/.X5-lock
rm /tmp/.X6-lock

留言

熱門文章