I am looking for a way to list all the active VNC connection to a machine.
I know I can get all the active connection of the machine by running
netstat -na but I don't know how to filter just the connection for the VNC server.
I am running OSX 10.8.3 , any hint?
VNC runs on port 5900 by default, so you should be able to do:
(OS X uses
Example on my OS X machine:
If you are running xrdp to connect to vnc, then 5900 will not show all the connections. Here is a slightly different answer: