You'll have to kill the Xvnc process manually code example Example: you'll have to kill the xvnc process manually ps -ef | grep vnc