Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 15:38:26 -0500 (EST)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Herk <herk@cwnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: reg user cannot run X server
Message-ID:  <20020107153626.K11088-100000@shumai.marcuscom.com>
In-Reply-To: <3C3A037A.7040300@cwnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020107153626.K11088-100000>