Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 16:41:14 -0400 (EDT)
From:      <scott.nolde@mediaone.net>
To:        Eric Kozowski <eric@routergeeks.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: another xfree86 question
Message-ID:  <20010710163804.L63641-100000@bsd.smnolde.com>
In-Reply-To: <20010710112748.C16356@schooner.routergeeks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
If you've got XFree86 running as root, then you need to allow your
non-root users.

I've installed Xwrapper (/usr/ports/x11/wrapper ?) and use a script
~{HOME}/.xserverrc:
#!/bin/sh
Xdepth="-bpp 16"

if [ -x /usr/X11R6/bin/Xwrapper ] ; then
        exec /usr/X11R6/bin/Xwrapper -auth $HOME/.Xauthority ${Xdepth}
else
        exec X -auth $HOME/.Xauthority ${Xdepth}
fi

It'll give you a warning, but this will let non-root users to run X using
startx.

- Scott

On Tue, 10 Jul 2001, Eric Kozowski wrote:

>
> ok, now i can run xf86cfg as root and create a config file.  however,
> i cannot run XFree86 -xf6config XF86Config as another user.  i get:
>
> Fatal server error:
> no screens found
>
> i checked the config file and there are valid screens defined.
>
> anyone have any ideas?
>
>
> 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?20010710163804.L63641-100000>