From owner-freebsd-questions Tue Jul 10 21:11:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 9060E37B401 for ; Tue, 10 Jul 2001 21:11:27 -0700 (PDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.11.3/8.11.3) with SMTP id f6B4AtQ14242; Wed, 11 Jul 2001 00:10:56 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Wed, 11 Jul 2001 00:10:54 -0400 (EDT) From: Doug Denault X-Sender: doug@fledge.watson.org To: scott@smnolde.com Cc: Eric Kozowski , freebsd-questions@FreeBSD.ORG Subject: Re: another xfree86 question In-Reply-To: <20010710163804.L63641-100000@bsd.smnolde.com> Message-ID: 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 Tue, 10 Jul 2001 scott.nolde@mediaone.net wrote: What is the advantage to this of just running xdm from /etc/ttys or from a /usr/local/etc/rc.d script?? > 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: > [cut] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message