Can't find file /home/luy/.vnc/MS-7B48:1.pid You'll have to kill the Xvnc4 process manually code example Example: you'll have to kill the xvnc process manually ps -ef | grep vnc