From owner-freebsd-hackers Fri Jan 19 16: 1:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id B6CCF37B400; Fri, 19 Jan 2001 16:01:30 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id EA8753E02; Fri, 19 Jan 2001 16:01:29 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id E948B3C10A; Fri, 19 Jan 2001 16:01:29 -0800 (PST) To: Chris Stenton Cc: questions@freebsd.org, hackers@freebsd.org Subject: Re: startx /dev/mem problem In-Reply-To: Message from Chris Stenton of "Fri, 19 Jan 2001 16:21:07 GMT." <200101191621.f0JGL7M02097@hawk.gnome.co.uk> Date: Fri, 19 Jan 2001 16:01:24 -0800 From: Dima Dorfman Message-Id: <20010120000129.EA8753E02@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Fatal server error: > xf86OpenConsole: Server must be suid root As it says, the server must be run setuid to root. Old versions of XFree86 (3.x.y) installed all servers setuid to root by default. This is a security hazard. XFree86 4.0.x do not install them setuid to root. You either need to use xdm (or a compatible login manager), or run the server setuid to root. If you choose the latter, you may find the Xwrapper port (/usr/ports/x11/wrapper) may be of some assistance. It allows you not to have every server setuid to root, only itsself, which will run the appropriate server (in short). Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message