Different XF86Config for different user

Bevan C. Bennett bevan at fulcrummicro.com
Sat Feb 21 02:12:00 UTC 2004


Sturla Holm Hansen wrote:
> On Thu, 2004-02-19 at 18:57, 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
>>
> 
> Wouldn't it be possible to just switch the file with a bash-script in
> the login procedure of each user?

You don't really want to do that, especially if (as another poster 
described) more than one person might be logged on at once (on different 
virtual terminals).

Create per-user files in /etc/X11 and use the -xf8gconfig flag to select 
which one to use when you start X.





More information about the fedora-list mailing list