07-15-2002
670,
4
Join Date: Dec 2000
Last Activity: 9 July 2019, 2:02 AM EDT
Location: Phoenix, AZ
Posts: 670
Thanks Given: 0
Thanked 4 Times in 4 Posts
If you wish that KDE becomes the default window manager for a user, make (or edit) a file named .xsession in the user's home directory. This file should looks like this :
#!/bin/sh
kde
Another way by looking at the file /etc/X11/xdm/Xsession, which selects the window manager at login if you pick one from the list, It checks to see what desktop is specified in a file called /etc/syscongfig/desktop. If /etc/syscongfig/desktop doesn't exist, it chooses Gnome by default unless the PREFERRED environment variable is set to KDE. To set to KDE as the default, then, all u had to do create the file /etc/syscongfig/desktop with "KDE" in it in capital letters, logout and re-login.