Date: Fri, 23 Aug 2002 12:03:35 +0100 From: Aleksandar Simic <asimic@dsl.pipex.com> To: freebsd-questions@freebsd.org Cc: Thomas Spreng <spreng@insomniac.ch> Subject: Re: /usr/X11R6/bin/Xfree86 permissions ? Message-ID: <20020823110334.GA80783@myname.my.domain> In-Reply-To: <20020823121554.A68179@rock.stable.ch> References: <20020823094116.GA93478@myname.my.domain> <20020823121554.A68179@rock.stable.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 23, 2002 at 12:15:54PM +0200, Thomas Spreng wrote: > On Fri, Aug 23, 2002 at 10:41:16AM +0100, Aleksandar Simic wrote: ... > > after upgrading my ports collection using portupgrade(1) I couldn't start > > X. I got the following error: > > > > "xf86OpenConsole: Server must be suid root" > > > > So I changed the permission of /usr/X11R6/bin/XFree86 from > > > > -rwxr-xr-x to -rwsr-xr-x, and then I could startx(1). > > > > The server in questions is XFree86-Server-4.2.0_5. > > > > I was wondering why wasn't suid bit set by default ? And did > > anybody else get this same error ? > > you'll need the x11/wrapper package in order to run the xserver > without the setuid flag. Thanks Thomas, I know about that, and I already have it installed. I had X working before, then I just upgraded it via portupgrade, as mentioned above, and despite having x11/wrapper installed I still received the above error. Just to be sure, I checked whether the wrapper was installed properly, and it appears it has: ls -l /usr/X11R6/bin/Xwrapper-4 -r-sr-sr-x 1 root wheel 4844 May 19 20:41 /usr/X11R6/bin/Xwrapper-4 Thanks, --Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020823110334.GA80783>