Screen numbers

Alexander Gottwald Alexander.Gottwald@informatik.tu-chemnitz.de
Sun Aug 26 11:09:00 GMT 2001


On Sat, 25 Aug 2001, Rasjid wrote:

> Is there any way of checking what screen numbers are already in use, so
> I can pass the next screen number to XWin.exe?

use "netstat -a -n -p tcp" and search for the first nonused port above 
6000. Substract 6000 from this number and you have the displaynumber.

 
> 
> PS.  I posted an verion of this email to the list earlier, but it didn't
> seem to get through.

It just took a while.

bye
    ago
-- 
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org
phone: +49 3725 3498080     mobile: +49 172 7854017



More information about the Cygwin-xfree mailing list