How to list VNC server displays

Wayne Throop throopw "at" sheol.org
Wed, 17 Oct 2001 22:10:47 +0000


:: "Shing-Fat (Fred) Ma" <fma "at" doe.carleton.ca>
:: Is there a way to check 
:: what vncserver displays I've started using "vncserver :N"? 

: Michael Milette <tng "at" cyberus.ca>
: On Windows, "netstat -a" at the command prompt will list all of the ports 
: in use. Then look for port numbers that are an offset of 5800 and 5900.

Given the "started using vncserver :N", and the implication of starting
more than one at a time, I'm guessing the question is for linux or some
other unixish environment. 

You could use netstat as described above, 
but it might be more interesting to try

    /usr/bin/ps -eo user,args | grep Xvnc

At least, that's what I use.


Wayne Throop   throopw "at" sheol.org
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------