This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [ANNOUNCEMENT] Shadow Framebuffer Test 5
- To: cygwin-xfree at sources dot redhat dot com
- Subject: RE: [ANNOUNCEMENT] Shadow Framebuffer Test 5
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Mon, 26 Mar 2001 06:45:42 -0500
Sure. There is a default SecurityPolicy in Xfree86 source (xc/programs/xdm)
that is what Linux install.
Suhaib
> -----Original Message-----
> From: Robert Collins [mailto:robert.collins@itdomain.com.au]
> Sent: Sunday, March 25, 2001 9:55 PM
> To: Suhaib Siddiqi; Paul Fine; cygwin-xfree@sources.redhat.com
> Subject: RE: [ANNOUNCEMENT] Shadow Framebuffer Test 5
>
>
> Suhaib, can we create a default SecurityPolicy file in the next server
> tarball? It would save questions on the list..
>
> Rob
>
>
> > -----Original Message-----
> > From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
> > Sent: Saturday, March 24, 2001 1:32 AM
> > To: 'Paul Fine'; cygwin-xfree@sources.redhat.com
> > Subject: RE: [ANNOUNCEMENT] Shadow Framebuffer Test 5
> >
> >
> >
> > > I have several questions/comments. I am running Windows 98
> > > on a Toshiba
> > > 4025CDT Laptop with a Pentium II and 160MB RAM. I installed
> > > the latest
> > > cygwin this week and dowloaded the Cygwin-XFree86 from a
> > mirror site,
> > > installed it and then installed Harold's new XWin.exe.
> > >
> > > I was getting an error message saying that the SecurityPolicy
> > > file could
> > > not be opened.
> >
> > This is just a warning, you can ignore it.
> >
> > >I followed the link from
> > > /usr/X11R6/lib/X11/xserver to
> > > find that the link destination did not exist, so I added
> the proper
> > > directory structure and copied the SecurityPolicy file
> from a Linux
> > > system. That cleared up the error.
> > >
> > > Is this a valid fix or am I going to get further trouble down
> > > the road?
> >
> > That is a proper fix, that is what I recommend to users who
> > wants to install
> > their SecurityPolicy file.
> >
> > >
> > > I have had good success running Test4, but I do get an error
> > > (warning?)
> > > upon startup
> > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> >
> >
> > Ignore, it just a warning. OIt is coming from libX11 and
> > libdix. Someday I
> > need
> > to fix the setgid, and uid issues. When I was porting XF86 code
> > this used to be a fatal error, because X was looking for user root.
> > I hacked the code so it does not crash, instead return a
> > warning, which
> > is of course a security loophole. A remote user can exploit it.
> > The main concern was to get the XF86 code patched so it work then
> > polish it to perfection. Anyhow, this needs to be fixed.
> >
> > >
> > > I am not sure how to get rid of this message. Using chown
> to change
> > > ownership of the directory to root tells me that there is no
> > > user called
> > > root. I added a user root, but the chown returned without
> > error, and
> > > also without changing anything. I haven't fought this
> > > problem too hard
> > > because it does not seem to be detrimental.
> >
> > This is not detrimental. It has nothing to do with Harold
> > code. This is
> > me when I patched XF86 libraries code. It is a security
> loophole as I
> > mentioned.
> > Chown or adding a user root won't help.
> >
> > Your Test5 carsh question goes to Harold. That is his code.
> >
> > Suhaib
> >
> >
> > >
> > > Other than the _XSERVTransmkdir warning, Test4 works very nicely.
> > >
> > > I downloaded the Test5 XWin.exe.bz2 this morning and
> > > decompressed it in
> > > /usr/X11R6/bin. I did not download xwin-20010322-1411.tar.bz2 or
> > > xc-programs-Xserver-20010320-2100.tar.bz2. Do I need to to
> > > get XFree86
> > > to work properly?
> > >
> > > When I ran the same startxwin.bat batch file from a DOS
> > > shell, I got a
> > > coredump. Trying Xwin directly from the DOS prompt (using
> > > two different
> > > screen sizes), this is the error message I got.
> > > ----
> > > C:\usr\X11R6\bin>Xwin -screen 0 800x600x16 -whitepixel 255
> > > -blackpixel 0
> > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> > >
> > > winClearVisualTypes ()
> > > winInitVisuals () - comp 00000003 rm 00000000 gm 00000000
> > bm 00000000
> > > winInitVisuals () - Using dwBitsPerRGB: 5
> > > winInitVisuals () - Returning
> > > 0 [main] XWIN 490683 handle_exceptions: Exception:
> > > STATUS_ACCESS_VIOLATION
> > >
> > > 859 [main] XWIN 490683 stackdump: Dumping stack trace to
> > > XWIN.EXE.stackdump
> > >
> > > C:\usr\X11R6\bin>Xwin -screen 0 600x400x16 -whitepixel 255
> > > -blackpixel 0
> > > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> > >
> > > winClearVisualTypes ()
> > > winInitVisuals () - comp 00000003 rm 00000000 gm 00000000
> > bm 00000000
> > > winInitVisuals () - Using dwBitsPerRGB: 5
> > > winInitVisuals () - Returning
> > > 0 [main] XWIN 490683 handle_exceptions: Exception:
> > > STATUS_ACCESS_VIOLATION
> > >
> > > 6980 [main] XWIN 490683 stackdump: Dumping stack trace to
> > > XWIN.EXE.stackdump
> > >
> > > C:\usr\X11R6\bin>
> > > ----
> > >
> > > I have the stackdump if that would be helpful.
> > >
> > > Great work Harold,
> > >
> > > Paul Fine
> > > Delphi Communication Systems, Inc.
> > >
> > > -----------------------------------------
> > > Harold Hunt wrote:
> > >
> > > Test 5 has been uploaded to:
> > > http://www.msu.edu/~huntharo/xwin/shadow/
> > >
> > >
> > >
> > >
> > >
> >
>