user specific xorg.conf?
jeff.t at mail.com
Sun Aug 19 18:38:40 UTC 2012
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
More information about the freebsd-questions