Ubuntu VNC – How to Manually Kill VNC Process

tightvncUbuntuvnc

I'm looking for a way to reset the display counter for VNC to :1.

What has happened is that my server has been restarted without killing the VNC processes first and upon reboot and then starting vncserver once more with a new process it has started at :2, completely ignoring :1.

On trying to kill :1 it says: "You'll have to kill the Xtightvnc process manually".

I cannot kill this process, there is no pid files for this display to delete and the process has long gone as the server has restarted. Please can someone advise me on how to restart this count back to :1. Can anyone please help me reset these settings.

Using tightvncserver on Ubuntu 14.01

Best Answer

Try running

ps -ef | grep vnc

to see which VNC services are running.

Related Question