help with xorg.conf

Alan Coopersmith alan.coopersmith at oracle.com
Wed Dec 14 17:11:29 PST 2011


On 12/14/11 14:08, James Strother wrote:
> Problem 1: Unable to access config file at non-default location as non-root
> -------------------------------------------------------------------------------------------------------------
> This seems like an extremely simple problem, but I'm stumped.  I have
> written an alt.conf file, and place it into /etc/X11/xorg.conf.d.  The
> file exists, is owned by root, and has permissions of 644.  It shows
> up on ls just fine:
>
> $ ls /etc/X11/xorg.conf.d
> alt.conf
>
> But I can't actually get Xorg to find or use that file:
>
> $ Xorg :1 -config alt.conf

/etc/X11/xorg.conf.d is not the location for alternate configuration files - 
it's used for config file fragments to be used by *ALL* Xorg instances run on
the system.

The xorg.conf man page lists the directories you can put alternate configuration
files in (I just noticed that Xorg(1) man page does not, though it does point 
you off to the xorg.conf man page for the full list).

For instance, for testing, I have a /etc/X11/xorg.conf.dummy config file that
loads the dummy driver, which I can run with Xorg -config xorg.conf.dummy, and
in our OS packages, we ship /usr/lib/X11/xorg.conf.vesa so that the OS installer
can run Xorg -config xorg.conf.vesa when the normal drivers fail on the LiveCD
and the user chooses the VESA mode option from the grub menu instead.

> I expected this to connect to the graphics card at PCI:12:0:0 in order
> to create a one monitor screen.  However, Xorg actually connects to
> both cards and then only displays on the graphics card at PCI:8:0:0.
> I have tried setting AutoAddDevices/AutoEnableDevices to false in
> ServerFlags without success.

The AutoAddDevices/AutoEnableDevices flags only apply to input devices
not video cards.  (I can't explain the rest of your issue here, just
that bit.)

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the xorg mailing list