From owner-freebsd-questions@FreeBSD.ORG Sun Nov 2 07:02:37 2003 Return-Path: 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 9B5AE16A4CE for ; Sun, 2 Nov 2003 07:02:37 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A7E43FA3 for ; Sun, 2 Nov 2003 07:02:37 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 8061A3AB7; Sun, 2 Nov 2003 10:02:36 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Brunoc@quipo.it" References: <017701c3a07b$d38d9a00$73015e3e@computer> From: Lowell Gilbert Date: 02 Nov 2003 10:02:36 -0500 In-Reply-To: <017701c3a07b$d38d9a00$73015e3e@computer> Message-ID: <44ptgaerub.fsf@be-well.ilk.org> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: xinit: "xf86OpenConsole: Server must be running with root permissions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 15:02:37 -0000 "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.