PDA

View Full Version : Seperate XF86Config's for each user???


thingi
04-12-03, 07:04 AM
Is this possible anymore?

What I want to do is have a 'user' set up on my system with a different XF86Config than the rest of the system.

I want this because I want a nice small customised desktop displayed on my telly using nvtv without having any virtual x screen estate.

1. User name = "tv".... this bit is already done :)
2. It's XF86Config file would have a default res of 800x600 with no virtual X.
3. nvtv will run via a script in the users home directory using settings I've already got running ver nicely with my widescreen telly.... this bit is already done :)

I've got the XF86Config/4 files, I've put them in the home directory with a . in front of them but they don't seem to be read.

Am I going to have to get rid of KDM? The main Xserver is already running when KDM comes up. Will I have to exit to a prompt and then launch a seperate XF86 session with my user "tv" telly settings???

Please help, I'm confused!

thingi

bwkaz
04-12-03, 08:27 AM
Originally posted by thingi
What I want to do is have a 'user' set up on my system with a different XF86Config than the rest of the system. Possible, yes, as long as you trust that user to not change their XF86CONFIG environment variable.

I've got the XF86Config/4 files, I've put them in the home directory with a . in front of them but they don't seem to be read. Umm... that never worked, that I know of. That's for /etc/X11/xinit/xinitrc vs. ~/.xinitrc, but it does not work with XF86Config.

To look at the list of places the X server looks for the config file, look at the XF86Config manpage -- man XF86Config. You'll notice that one of those choices is /etc/X11/$XF86CONFIG -- so if you set the XF86CONFIG environment variable to something other than XF86Config and other than XF86Config-4, you can get it to use another filename in that directory.

Am I going to have to get rid of KDM? The main Xserver is already running when KDM comes up. Will I have to exit to a prompt and then launch a seperate XF86 session with my user "tv" telly settings? Most likely you will have to get rid of your display manager, yes. You have to be logged in as the other user when X starts for it to use the (user-specific) environment variable for the config file. Doing a ctrl-alt-f1, logging in as your other user, and then doing a startx might work.