From owner-freebsd-questions Mon Jan 7 12:38:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id E2A7037B41B for ; Mon, 7 Jan 2002 12:38:22 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g07KcQF29264; Mon, 7 Jan 2002 15:38:26 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 7 Jan 2002 15:38:26 -0500 (EST) From: Joe Clarke To: Herk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: reg user cannot run X server In-Reply-To: <3C3A037A.7040300@cwnet.com> Message-ID: <20020107153626.K11088-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Mon, 7 Jan 2002, Herk wrote: > Hi, freebsd-questions. > > As a regular user I can't start the X windowing system. If I start X as > root, then "su" to > my regular user account, I can't run emacs or mozilla as a regular user. > In all three cases, > there are error messages relating to access to the X server permission. If you're using XFree 4.x, you need to install /usr/ports/x11/wrapper, then create a ~/.xserverrc with the line: exec Xwrapper :0 Then you should be able to start X as a non-root user using the command startx. If you're using XFree 3.x, Xwrapper should already be installed. Just create the ~/.xserverrc as mentioned above. Joe > > I've just installed FreeBSD4.4--initially without X; I installed X > afterwords, following > the steps in the FreeBSD Handbook. My regular user has been made a > member of wheel, > as well as dialer and network. > > I'd appreciate any suggestions you might have. > > Thanks. > Herk Gibbs > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message