Thanks, Wayne.  It looks like "ps/grep" approach wins out.
Maybe even creating an alias for it called vncQuery or something.

Fred

--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada     K1S 5B6
[EMAIL PROTECTED]
==========================================================================

Wayne Throop wrote:

> :: "Shing-Fat (Fred) Ma" <[EMAIL PROTECTED]>
> :: Is there a way to check
> :: what vncserver displays I've started using "vncserver :N"?
>
> : Michael Milette <[EMAIL PROTECTED]>
> : 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   [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to