Skip site navigation (1)Skip section navigation (2)
Date:      02 Nov 2003 10:02:36 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Brunoc@quipo.it" <brunoc@quipo.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xinit: "xf86OpenConsole: Server must be running with root permissions"
Message-ID:  <44ptgaerub.fsf@be-well.ilk.org>
In-Reply-To: <017701c3a07b$d38d9a00$73015e3e@computer>
References:  <017701c3a07b$d38d9a00$73015e3e@computer>

next in thread | previous in thread | raw e-mail | index | archive | help
"Brunoc@quipo.it" <brunoc@quipo.it> writes:

> I have problems with my startx script,see my other email
> "when I invoke startx, it seems to 'freeze' for a minute or so,then starts".
> Before fixing the startx issue (I think startx has been overwritten
> by the fluxconf->XFree86-libraries-4.3.0 installation),
> I tested xinit after setting the root setuid bit of the X server 
> (which on my machine points to XF86_SVGA).According to the
> xinit error,"I should be using Xwrapper to start the server or xdm.
> We strongly advise against making the server SUID root!".
> So,with the setuid bit set,xinit works,but the elegant solution
> would be to use Xwrapper.How can I use Xwrapper ?
> Does it accept a server name to execute ?

Install the /usr/ports/x11/wrapper port.  It replaces the X link in
/usr/X11R6/bin.  If you've really corrupted your startx script, you
may need to fit that up (there are several approaches), but I doubt
that will be an actual problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ptgaerub.fsf>