From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3fd6a0572766b75ab6e66952b3458f04.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199802050221.SAA02591@icarus.icarus.com> Date: Mon, 09 Feb 1998 16:36:10 -0700 From: Christian Worley Subject: Re: KDE newbie question Scott wrote: > > Hi Chris, > I > wish I was as optimistic as you regarding KDE but unfortunately when I > start, the kdm offers me a choice of window managers. I > select the default (KDE) and end up with a lesstif style manager. I assume > (and ya know what they say) that being that I have a UDB and using the TGA > card and it being an 8 bit plane card I cannot use the KDE desktop. > I too have a (aka I'm stuck with a) TGA. I was shocked to see KDE handle it (256 colors) so well (my old fvwm95 had to be coaxed, by melting all the icons into a small color map)! I also have a Matrox Millenium II, which works great. Your problem: I had that too. You have to follow how xdm is setup to figure out the problem. KDM keys off of the XDM setup in /etc/X11/xdm, but expects things a little differently from how RedHat5.0 xdm is setup. KDM is expecting that your .Xclients file will take an argument of the window manager to run, which it does not. Actually, there would be a few ways to set this up (look at all the ways /etc/X11/xdm/Xsession tries to start X), but I already have an ~/.Xclients file, so I attacked it from there. I hacked a line in /etc/X11/xdm/Xsession from: exec "$HOME/.Xclients" to: exec "$HOME/.Xclients" $1 (I added the incoming "$1" arg to be an arg to my ~/.Xclients file). Then, in my ~/.Xclients file, I changed it to look like: xrdb .Xdefaults manager=${1:-kde} case $manager in kde) exec $HOME/.xinitrc.kde ;; fvwm95) exec $HOME/.xinitrc.fvwm95 ;; *) exec $1 ;; esac This now says: if there's no given argument, use "kde". If the argument is "kde", run ".xinitrc.kde", if it's "fvwm95", run ".xinitrc.fvwm95", otherwise, run whatever the argument is. I've tried this for: fvwm, fvwm2, mwm, twm, as well as fvwm95 and kde; they all work. That kdm window manager is the slickest I've seen (well, actually, it's kinda like on the SGI). My ".xinitrc.kde" is the ".xinitrc" that Hans provided in the original post. Anybody know of a more appropriate way (i.e., that doesn't require changing /etc/X11/xdm/Xsession)? Chris -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com