This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Screen numbers
- Subject: Re: Screen numbers
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- Date: Sun, 26 Aug 2001 19:58:47 +0200 (MEST)
- Cc: Cygwin-XFree <cygwin-xfree at xfree dot cygwin dot com>
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