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