Different XF86Config for different user

Bevan C. Bennett bevan at fulcrummicro.com
Sat Feb 21 02:10:43 UTC 2004


Robert Marcano wrote:
> On Thu, 2004-02-19 at 13:49, Ricardo Ardila Vetrovec wrote:
> 
>>i don't know, X configuration file it's made for de SERVICE X WINDOWS! 
>>and not to pass a X WINDOWS for differents users!
>>
>>But, again, I DON'T KNOW ;)
>>
>>Davor Herga wrote:
>>
>>
>>>Is there any chance to set the XF86Config file in such a way, that when
>>>I log in as a different user, a different XF86Config file is used?
>>>
> 
> 
> Try setting the environment variable XF86CONFIG and start X with startx
> when the user is logged in
> 
> As mentioned on "man XF86Config" XFree86 search the following places for
> the configuration file (I have not tried this)
> 
> /etc/X11/<cmdline>
> /usr/X11R6/etc/X11/<cmdline>
> /etc/X11/$XF86CONFIG
> /usr/X11R6/etc/X11/$XF86CONFIG
> /etc/X11/XF86Config-4
> /etc/X11/XF86Config
> /etc/XF86Config
> /usr/X11R6/etc/X11/XF86Config.<hostname>
> /usr/X11R6/etc/X11/XF86Config-4
> /usr/X11R6/etc/X11/XF86Config
> /usr/X11R6/lib/X11/XF86Config.<hostname>
> /usr/X11R6/lib/X11/XF86Config-4
> /usr/X11R6/lib/X11/XF86Config

Note that X will use the -first- matching file it finds.

You could create /etc/X11/bobby with bobby's X11 preferences, then start 
X with "-xf86config bobby" to select that you want the alternate config 
file.





More information about the fedora-list mailing list