Re: Switching login screens...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2003-04-13 at 06:16, MyRedHatLinux wrote:
> I am using Red Hat 8.0 (Psyche). I understand that it uses 'xdm' as the
> login screen and I would like to switch to 'kdm'.
> 
> I knew how to do this in other distributions (SuSE, Mandrake): I would
> insert a line like this:
> 
> DISPLAYMANAGER=kdm
> 
> into the file /etc/sysconfig/desktop, but applying this to RH8 just does
> not seem to work.
> 
> Does anybody know how to accomplish this in Psyche?
> 

I changed the line

DESKTOP="GNOME" to DESKTOP="KDE" in /etc/sysconfig/desktop.

Since the script /etc/X11/prefdm looks for DISPLAYMANAGER instead of
DESKTOP, I added the line DISPLAYMANAGER=$DESKTOP to it as shown:

preferred=
if [ -f /etc/sysconfig/desktop ]; then
	. /etc/sysconfig/desktop
	DISPLAYMANAGER=$DESKTOP
	if [ "$DISPLAYMANAGER" = GNOME ]; then
		preferred=gdm
	elif [ "$DISPLAYMANAGER" = KDE ]; then
		preferred=kdm
	elif [ "$DISPLAYMANAGER" = XDM ]; then
	        preferred=xdm
	fi
fi

I don't if that's the preferred way to do it, but it
works for me in both RH8 and RH9.

Doug




-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux