Summary: | 'XSESSION="KDE"' in rc.conf does *not* trigger KDE session script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Alan Black <dblack> |
Component: | [OLD] KDE | Assignee: | Dan Armak (RETIRED) <danarmak> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | vapier |
Priority: | High | ||
Version: | 1.2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Alan Black
2002-08-02 21:37:30 UTC
thats weird, XSESSION=KDE in rc.conf causes /etc/init.d/xdm to launch kdm for me if you read /etc/init.d/xdm you'll see that it finds the correct binary for kdm and then have init launch it in other words, you're really not suppose to use rc.conf to setup chooser.sh ;) rc.conf is used to setup /etc/init.d/xdm > ------- Additional Comments From vapier@netzero.com 2002-08-02 22:02 ------- > thats weird, XSESSION=KDE in rc.conf causes /etc/init.d/xdm to > launch kdm for me if you read /etc/init.d/xdm you'll see that it > finds the correct binary for kdm and then have init launch it in > other words, you're really not suppose to use rc.conf to setup > chooser.sh ;) rc.conf is used to setup /etc/init.d/xdm Have another look; I don't think that's right. chooser.sh actually sources rc.conf, looking for XSESSION. There's definitely a direct connection. /etc/init.d/xdm, on the other hand, makes no mention of XSESSION. I believe you're thinking of DISPLAYMANAGER, a different variable defined in rc.conf, which does pertain to xdm/kdm. XSESSION is not xdm/kdm specific. Here's what rc.conf says: # XSESSION is a new variable to control what window manager to start # default with X if run with xdm, startx or xinit. The default # behavior is to look in /etc/X11/Sessions/ and run the script in # matching the value that XSESSION is set to. This "default behavior" is what's broken. Specifically, this: # KDE - will start startkde is wrong. It fails, and you end up with twm (the fallback scenario from /etc/X11/xinit/xinitrc). David Black This is correct. I'll change the rc.conf comment. It should be in the next base-layout. OK, this exists in the latest baselayout packages. |