This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: XWin.exe hangs on SecurityPolicy warning
- To: "'RWatkins at wiley dot com'" <RWatkins at wiley dot com>, cygwin-xfree at sourceware dot cygnus dot com
- Subject: RE: XWin.exe hangs on SecurityPolicy warning
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 2 Apr 2001 14:21:09 -0400
How about fixing your starxwin.sg script????
It is going to hand after xwin command is issued because your all the
commands
are runing in foreground, the xterm is waiting for xwin to finish so it can
execute,
since xwin job never goes to background therefore it kept waiting and
waiting forever ;-)
Here are my suggested modifications to your startxwin.sh
#! /usr/bin/bash
export DISPLAY=127.0.0.1:0.0
export PATH=$PATH:/usr/X11R6/bin
XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0&
xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e bash&
rxvt -fn "Lucidia Console-12"&
twm&
Suhaib
> -----Original Message-----
> From: RWatkins@wiley.com [mailto:RWatkins@wiley.com]
> Sent: Monday, April 02, 2001 1:47 PM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: XWin.exe hangs on SecurityPolicy warning
>
>
> I am trying to get XWindows to run under Windows95 (sorry,
> this is a work
> computer, so I have no choice), but constantly run into the
> same problem
> each time.
>
> I have tried using the XWin95.exe and the Shadow Framebuffer
> Test 9 version
> of XWin.exe, and I have tried various screen resoultions, but
> each time the
> loading of XWindows hangs on the SecurityPolicy warning. I
> have read enough
> of the mailing list archives to know that this is a warning
> that can, in
> most circumstances, be ignored, so I wonder what's goin on
> with my machine
> that's different.
>
> Something that seems odd to me but may simply be the norm is
> that eveythng
> under /etc/X11 is a zero-length file.
>
> Here is the list of messages I get upon trying to start XWindows:
>
> [/usr/X11R6/bin]$ cat startxwin.sh
> export DISPLAY=127.0.0.1:0.0
> export PATH=$PATH:/usr/X11R6/bin
> XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0
> xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e bash
> rxvt -fn "Lucidia Console-12"
> twm
>
> [/usr/X11R6/bin]$ ./startxwin.sh
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines () - Windows 95/98/Me
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Returning, supported engines 00000003
> winSetEngine () - Using Shadow DirectDraw
> winScreenInit () - dwBPP: 16
> winCreateBoundingWindowWindowed () - WorkArea width 1152 height 836
> winCreateBoundingWindowWindowed () - Adjusted width: 1024 height: 768
> winCreateBoundingWindowWindowed () - WindowClient width 1024
> height 768
> winCreateBoundingWindowWindowed () - Returning
>
> winClearVisualTypes ()
> winAllocateFBShadowDD ()
> winAllocateFBShadowDD () - Created a clipper
> winAllocateFBShadowDD () - Attached clipper to window
> winAllocateFBShadowDD () - Created and initialized DD
> winAllocateFBShadowDD () - Created primary
> winAllocateFBShadowDD () - Attached clipper to primary surface
> winAllocateFBShadowDD () - Created shadow
> winAllocateFBShadowDD () - Locking shadow
> winAllocateFBShadowDD () - Locked shadow
> winAllocateFBShadowDD () - Returning
> winInitVisualsShadowDD () - Masks: 0000f800 000007e0 0000001f bpRGB: 6
> winInitVisualsShadowDD () - Returning
> winScreenInit () - Returned from winInitVisuals ()
> winScreenInit () - Calling fbScreenInit ()
> winScreenInit () - Returned from fbScreenInit ()
> winScreenInit () - Calling shadowInit ()
> winScreenInit () - Returned from shadowInit ()
> error opening security policy file
> /usr/X11R6/lib/X11/xserver/SecurityPolicy
>
> At this point it just hangs. I tried waiting an inordinate
> amount of time for a timeout or ... (I don't know what),
> but nothing ever happened. I simply have to Ctrl-c to stop it.
>
> Any help/advice would be appreciated.
>
> Thanks,
> -- Robert
>
>