Fixed it (was re: non-root user startx problem)


Subject: Fixed it (was re: non-root user startx problem)
From: Sam Moore (samiwas@macconnect.com)
Date: Sun Jul 09 2000 - 16:14:52 MDT


OK, I figured out I had to turn on the setuid bit on the binary XF68_FBDev at
/usr/X11R6/bin to get this to work.
Just curious why no one else had this problem...

On 7/8/00 at 4:11 PM, samiwas@macconnect.com (Sam Moore) wrote:

> Didn't get any response on this, so I thought I'd try again...
>
> > Hi folks. This is probably real simple, but here goes...
> > After upgrading to CS 1.2, I can't startx as anybody but root any more.
> > I've read the instructions at
> > http://www.dartmouth.edu/~jonh/lppc-serve/cache/69.html
> > which refer to "Xpmac-6.3" or "Xpmac-6.1"
> > I don't have either of these at /usr/bin/X11, just a binary called "Xpmac"
> > (actually it lives in /usr/X11R6/bin/, with a link back to /usr/bin). I've
set
> > permissions on this binary to 4511 as instructed, so that the owner "root"
> has
> > read and exec privileges, and the group "users" and "others" have exec
> > privileges only. SetUID is on.
> > Nonetheless, when I try to startx as anyone but root I get:
> >
> > Authentication failed - cannot start X server
> > Perhaps you do not have console ownership?
> > ::long pause::
> > xinit: Connection refused (errno 111): unable to connect to X server
> > xinit: No such process (errno 3): Server error.
> >
> > Any clues appreciated.
> > thanks
> >
>
>



This archive was generated by hypermail 2a24 : Sun Jul 09 2000 - 16:17:48 MDT