From owner-freebsd-questions Fri Aug 23 4: 2: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91DED37B400 for ; Fri, 23 Aug 2002 04:01:57 -0700 (PDT) Received: from colossus.systems.pipex.net (colossus.systems.pipex.net [62.241.160.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37B543E4A for ; Fri, 23 Aug 2002 04:01:56 -0700 (PDT) (envelope-from alex@pipex.com) Received: from myname.my.domain (81-86-155-60.dsl.pipex.com [81.86.155.60]) by colossus.systems.pipex.net (Postfix) with ESMTP id 1BB041600ABEF; Fri, 23 Aug 2002 12:01:53 +0100 (BST) Received: from myname.my.domain (localhost [127.0.0.1]) by myname.my.domain (8.12.5/8.12.3) with ESMTP id g7NB3Zoa080923; Fri, 23 Aug 2002 12:03:35 +0100 (BST) (envelope-from alex@myname.my.domain) Received: (from alex@localhost) by myname.my.domain (8.12.5/8.12.3/Submit) id g7NB3ZUk080922; Fri, 23 Aug 2002 12:03:35 +0100 (BST) Date: Fri, 23 Aug 2002 12:03:35 +0100 From: Aleksandar Simic To: freebsd-questions@freebsd.org Cc: Thomas Spreng Subject: Re: /usr/X11R6/bin/Xfree86 permissions ? Message-ID: <20020823110334.GA80783@myname.my.domain> Mail-Followup-To: Aleksandar Simic , freebsd-questions@freebsd.org, Thomas Spreng References: <20020823094116.GA93478@myname.my.domain> <20020823121554.A68179@rock.stable.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020823121554.A68179@rock.stable.ch> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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