[ale] Can't start X as non-root user...
Scott Nolde
smnoldelinux at mediaone.net
Thu Jan 11 08:09:43 EST 2001
Try this file for .xserverrc:
#!/bin/sh
Xdepth="-bpp 16" #YBPPMV
if [ -x /usr/X11R6/bin/Xwrapper ] ; then
exec /usr/X11R6/bin/Xwrapper -auth $HOME/.Xauthority ${Xdepth}
else
exec X -auth $HOME/.Xauthority ${Xdepth}
fi
It's simple, but it worked for my FreeBSD install. Put it in your home
directory.
- Scott
Benjamin Scherrey wrote:
>
> The permissions for Xwrapper are:
> -rws--x--x 1 root root
> I presume this is correct? If not, how do I make it correct? This is
> really bugging me! I definately don't want to be booting up in X mode
> all the time.
>
> thanx & later,
>
> Ben Scherrey
>
> Fulton Green wrote:
> >
> > Make sure Xwrapper has the setuid permission bit set. Beyond that, I'm not
> > sure. I think I have a similar problem on RH7. I cured it by setting the
> > runlevel in /etc/inittab to 5, thus loading the X Window-based login prompt.
--
Never do Windows again with | Scott M. Nolde
Linux! No streaks, haze or | smnoldelinux at mediaone.net
glaze! |
8:05am up 8:58, 1 user, load average: 1.10, 1.06, 1.01
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list