This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Screen numbers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]