From owner-freebsd-bugs Sat Aug 3 16:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 581AD37B400 for ; Sat, 3 Aug 2002 16:40:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1727543E4A for ; Sat, 3 Aug 2002 16:40:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g73Ne4JU075543 for ; Sat, 3 Aug 2002 16:40:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g73Ne4Kx075542; Sat, 3 Aug 2002 16:40:04 -0700 (PDT) Date: Sat, 3 Aug 2002 16:40:04 -0700 (PDT) Message-Id: <200208032340.g73Ne4Kx075542@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: misc/41288: startx works for root but not for users Reply-To: Edwin Groothuis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/41288; it has been noted by GNATS. From: Edwin Groothuis To: Buenaventura Carreras Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/41288: startx works for root but not for users Date: Sun, 4 Aug 2002 09:36:18 +1000 On Sat, Aug 03, 2002 at 09:50:19AM -0700, Buenaventura Carreras wrote: > > >Number: 41288 > >Category: misc > >Synopsis: startx works for root but not for users > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sat Aug 03 10:00:11 PDT 2002 > >Closed-Date: > >Last-Modified: > >Originator: Buenaventura Carreras > >Release: 4.6 > >Organization: > University of Granada > >Environment: > >Description: > After installing freeBSD I could start XWindow only as root. When I tried startx as user I got the following message "Fatal server error: cannot open log file "/var/log/XFree86.0.log". > I changed permissions of "var/log/XFree86.0.log" to 777. Then I got among other messages something like "set suid the server". After several trials (I did not know exactly which file was the server) I found and set suid "/usr/X11R6/bin/XFree86". Since then I can start XWindow as a user. Try installing /usr/ports/x11/wrapper, it works better than doing the chmod. Also try -questions next time. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message