Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cannot run X as non-root user



On Wed, Oct 20, 1999 at 07:54:41PM +0100, Lars Hecking wrote:
> 
> > > OsVendorInit: can't open keyboard: Permission denied
> > ...
> > >  startx as root works fine, and I have been unable to determine
> > >  where the permissions problem is. I followed INSTALL.X11 by the
> > >  book, so hold your flames, please.
> > 
> > You want to use the "Xwrapper" wrapper around Xamiga, afaik, instead of
> > the direct Xamiga. 
> > 
> > The server nowadays refuses to run setuid root, so you cant access 
> > the necessary devices.
> 
>  I'm running X through startx, which, as far as I can find out, runs
>  xinit, which runs Xwrapper, which runs X, which is a link to Xamiga.

Oh. in this case, compare to below:

jocelyn log !% ls -l `which Xwrapper`
-r-s--x--x  1 root  bin  16384 Apr  9  1999 /usr/X11R6/bin/Xwrapper*

and

jocelyn log !% ls -l /dev/kbd
crw-------  1 root  wheel  14, 0 Nov 25  1995 /dev/kbd


Regards,
        Ignatios



Home | Main Index | Thread Index | Old Index