This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
XWin Won't Run Without -screen Option
- To: cygwin-xfree at cygwin dot com
- Subject: XWin Won't Run Without -screen Option
- From: "Hon-Chi Ng" <honchi_ng at my-deja dot com>
- Date: Sun, 5 Aug 2001 22:42:37 -0700
Hi
I installed Cygwin 1.3.2 and Cygwin/XFree86 4.1.0 from
ftp://mirrors.rcn.net/pub/sourceware/cygwin/xfree/xc-4-binaries/4.1.0/
I also installed startup-scripts.tgz Release 2 released on Aug 4, 2001.
When I tried to run either startxwin.bat or startxwin.sh, it complained with
"no screen found" error, as shown below.
$ /usr/X11R6/bin/startxwin.sh
Agent pid 1124
Fatal server error:
no screens found
XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0"
after 0 requests (0 known processed) with 0 events remaining.
XIO: fatal IO error 104 (Connection reset by peer) on X server "127.0.0.1:0.0"
after 0 requests (0 known processed) with 0 events remaining.
xterm Xt error: Can't open display: 127.0.0.1:0.0
xsetroot: unable to open display '127.0.0.1:0.0'
twm: unable to open display "127.0.0.1:0.0"
If I tried running XWin without parameter on both cmd.exe and bash, it
complained with the same "no screen found" error
$ XWin
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
Fatal server error:
no screens found
However, if I supply "-screen 0 1024 768" parameter/argument to XWin command
on either command-line of cmd.exe or bash, or in startxwin.* scripts, the X
server runs and comes out fine. E.g.
XWin -screen 0 1024 768
In "Chapter 3. Configuring Cygwin/XFree86" of Cygwin/XFree86 User's Guide at
http://xfree86.cygwin.com/docs/ug/ , it mentions that XWin.exe can be used
without any parameter/argument, which by default, runs in windowed mode with
the largest window that will fit on your Windows desktop, using ...
What have I missed? Why my XWin won't run without -screen option?
BTW, I read the FAQ at
http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#AEN261 and searched
the mailing list archives with "no screens" with
http://cygwin.com/cgi-bin/htsearch?config=htdig&restrict=%2Fml%2Fcygwin-xfree%2F&exclude=&method=and&format=builtin-long&sort=time&words=no+screens
, but found nothing mentioned about the "no screens found" error.
FYI,
$ /tmp/Xinstall.sh -check
Checking which OS you're running...
uname reports 'CYGWIN_NT-5.0' version '1.3.2(0.39/3/2)', architecture 'i686'.
Binary distribution name is 'Cygwin-ix86'
Thanks.
Regards
Hon-Chi
------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/