From owner-freebsd-current Thu Jan 23 10:46:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C98E37B401 for ; Thu, 23 Jan 2003 10:46:11 -0800 (PST) Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9959D43F3F for ; Thu, 23 Jan 2003 10:46:07 -0800 (PST) (envelope-from veldy@veldy.net) Received: from veldy.net (veldy-host33.dsl.visi.com [209.98.200.33]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id 000108342; Thu, 23 Jan 2003 12:46:06 -0600 (CST) Received: from VELDYT (localhost [127.0.0.1]) by veldy.net (Postfix) with SMTP id B4DCA5CDC; Thu, 23 Jan 2003 12:46:04 -0600 (CST) Message-ID: <021a01c2c30f$a249da70$0605010a@VELDYT> From: "Thomas T. Veldhouse" To: "Adam Maas" , "Charlie ROOT" , References: <20030123122658.C20711-100000@x74-47.forestry.umn.edu> <049401c2c30e$732d6af0$7419cdcd@ticking> Subject: Re: only root can startx Date: Thu, 23 Jan 2003 12:45:42 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No, probably not. The original user to start X was probably root and then the file was created. If another user then tries to start X (assuming they are allowed), then they may not be able to append to that log file because it will have permissions and ownership set for root. Also, startx does not work for non-root users by default. You need to install wrapper to get it to work: # (cd /usr/ports/x11/wrapper && make all install clean) Tom Veldhouse ----- Original Message ----- From: "Adam Maas" To: "Charlie ROOT" ; Sent: Thursday, January 23, 2003 12:37 PM Subject: Re: only root can startx > Your permissions for /var/log are wrong. > > --Adam > > ----- Original Message ----- > From: "Charlie ROOT" > To: > Sent: Thursday, January 23, 2003 1:30 PM > Subject: only root can startx > > > > I am working the kinks out of an upgrade from 4.7 to 5.0-R. So far I see a > > problem starting X. first off xinit does not seem to work. Was that > > removed in 5.0? Second, oly root can startx. When I try as a regular user, > > I get the message: 'Fatal server error connot open log file > > /var/log/XFree86.0.log' > > > > what's going on here? > > > > thanks, > > > > Kirk > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message