From owner-freebsd-questions@FreeBSD.ORG Sun Aug 19 18:38:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34CD106566C for ; Sun, 19 Aug 2012 18:38:40 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id 4475A8FC0C for ; Sun, 19 Aug 2012 18:38:40 +0000 (UTC) Received: (qmail invoked by alias); 19 Aug 2012 18:38:33 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.105.231] by mail.gmx.com (mp-us009) with SMTP; 19 Aug 2012 14:38:33 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1+G14UhXBWGt6GeeBW7LXoP1S6Xvd9ITdJo+rG7Ge D0r6G2/X7Ba6Aq Message-ID: <503132A6.9030906@mail.com> Date: Sun, 19 Aug 2012 21:38:30 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <503125EF.1020500@dreamchaser.org> <20120819195118.00427f87.freebsd@edvax.de> In-Reply-To: <20120819195118.00427f87.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: user specific xorg.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2012 18:38:40 -0000 On 08/19/2012 20:51, Polytropon wrote: > On Sun, 19 Aug 2012 11:44:15 -0600, Gary Aitken wrote: >> In attempting to zero in on my system crash problem, >> I need to customize xorg.conf. >> As I read the documentation, >> there is no way for an ordinary user to provide an xorg.conf; >> Xorg looks for files in the normal server search path, >> which does not include any user directories -- >> unless the user is root. > What if you do (as a user) the "startx" command and try > to hand the -config to the program, like this: > > % Xorg -file /home/user/test/xorg.conf > > I haven't tried that myself, but according to "man Xorg" > this option does exist. However, I'm not sure if xinit > or startx honors this option if you use them (to make > use of ~/.xinitrc). > > > >> Am I missing something? >> Is this because of the security vulnerabilities in X? > A valid consideration. With a malfunctioning X server, you > can easily crash a system. That's why a user should not be > able to have access to such files. > > Gary, why do you need user-specific xorg.conf? By default, there's no xorg.conf file, so if you generate one and put it in /etc/X11/xorg.conf, your file will be used instead of the default options. And before putting the file there, you can test it, as suggested in the Manual: X -config /root/xorg.conf.new -retro