This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: How to get xdm working?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com, spetreolle at users dot sourceforge dot net
- Date: Mon, 8 Sep 2003 17:29:04 -0400 (EDT)
- Subject: Re: How to get xdm working?
- References: <20030908200739.35578.qmail@web10101.mail.yahoo.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Mon, 8 Sep 2003, Sylvain Petreolle wrote:
> This doesnt work for me on Win2K.
> I have an account that is in the Administrators group.
> I copied the SYSTEM line and changed it to root: xdm fails the same
> way.
> I tried with the Administrator line too, no way.
>
> rcv0095@GE1C01WN2K30 ~
> $ grep 544 /etc/passwd
> SYSTEM:*:18:544:,S-1-5-18::
> root:*:18:544:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
>
> rcv0095@GE1C01WN2K30 ~
> $ xdm
> Only root wants to run xdm
>
> > This is probably a bug in xdm. It's been discussed on this list
> > before. Cygwin (or, rather, Windows) doesn't have a root user, but
> > does have users with various permissions usually attributed to "root".
> > On Win9x you can simply add a line for "root" to /etc/passwd (on
> > WinNT/2k/XP you can copy the line for "system" and change the user
> > name in that new line to "root").
Erm, yes. I forgot that some programs check for root by checking whether
UID==0. You might need to also change the UID (3rd field) to 0. If xdm
will try to do a seteuid(), use the SYSTEM line as your template (to have
the same SID).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton