Date: Sun, 19 Aug 2012 21:38:30 +0300 From: Jeff Tipton <jeff.t@mail.com> To: freebsd-questions@freebsd.org Subject: Re: user specific xorg.conf? Message-ID: <503132A6.9030906@mail.com> In-Reply-To: <20120819195118.00427f87.freebsd@edvax.de> References: <503125EF.1020500@dreamchaser.org> <20120819195118.00427f87.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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<file> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503132A6.9030906>