This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xinit working (no more startxwin.bat)
- To: <cygwin-xfree at cygwin dot com>
- Subject: xinit working (no more startxwin.bat)
- From: "Piers Haken" <piersh at friskit dot com>
- Date: Sat, 21 Jul 2001 08:03:51 -0700
(sorry if this is a FAQ, but I didn't see anything in the archives)
Firstly, I have Cygwin/X11 running (I had to untar Xfnts manually to get
round the 'fixed' font problem) and I'm very impressed. Although, I
thought the whole 'startxwin.bat' thing was a bit klunky mainly because
the xterm and twm fail to find the server because it doesn't get a
chance to start before they run.
So, I tried running 'xinit' from within a Cygwin bash prompt but I got
some memory error from cygwin (version 1.3.2):
c:\bin\cygwin\usr\X11R6\bin\XWin.exe: *** Couldn't reserve space
for cygwin's heap (0x27B0000) in child, cygheap, Win32 error 487
So I created the following batch file (and called it
/usr/X11/bin/XWin-start):
#!/bin/sh
cmd.exe /c XWin.exe -screen 0 800x600x32 -engine 4
And did
ln -s /usr/X11R6/bin/XWin-start /usr/X11R6/bin/X
Now 'startx' just works!
Piers.