This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
Re: Xfree86-4_0 installation problem
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: Re: Xfree86-4_0 installation problem
- From: Sorhel at cs dot com
- Date: Mon, 25 Sep 2000 16:28:02 EDT
Thanks to both Suhaib and Hajime Murao! Suhaib's idea,
start xwin :0
fails with the "Direct Draw Init Failed" error I had before.
I assume this has to do with the default screen resolution
of XWin, since the output says among other things
pwin->width = 00000500
pwin->height = 00000400
so it's apparently trying to create a 1280x1024 Xserver
on a 1024x768 display (my laptop is set up with 1024x768
resolution).
Hajime Murao's script fails with the same problem I had
described also in my previous posting (copied at the bottom
of this posting) -- as soon as I press a mouse button it's
all over.
I've played with the start-up scripts and if I put X applications
with a specific -geometry they actually show up on my screen.
So I've seen a functioning xterm with a shell running in it
(although it didn't respect the colors I set with -fg and -bg --
it came up with some strange, garish colors for some reason).
The mouse moves as it should. But as soon as I press a
mouse key, the whole X background dies and I'm back in
the Windows NT interface. The Xwin program is still
running and I have to kill it.
Any ideas? Once it's solved I'd be happy to write it
up for others so they can avoid the problem! The
mouse problem is a killer but I'd like to solve the color
problem too...
Thanks,
Soren
Here are the details again:
> I get a grey X screen with the black small "X" cursor in the middle,
> and after a second or two an outline of a window (probably an
> xterm) shows up in the lower right quarter of the screen. But as
> soon as I press the mouse key the whole grey X screen goes
> away. In this last case the error message from the Xwin.exe
> window is:
>
> _XSERVTransmkdir: Owner of /tmp/.X11_unix
> should be set to root
> pwin->width = 00000400
> pwin->height = 00000300
> pwin->paddedWidth = 00000800
> pwin->bitsperPixel = 00000010
> calling WinAllocateFramebufferMemory
> calling cfb16ScreenInit( 0a589e0, 147b0000, 00000400,
> 00000300, 00000064, 00000064, 00000400 )
> Successful addition of Screen 0xa058bc8 0xa0589e0
> error opening security policy file /usr/X11R6/lib/X11/xserver/
> SecurityPolicy