My .xinitrc file contains "exec kde". When I try to run startx, I get the error "/root/.xinitrc: line 1: exec: kde: not found". Also, when I load kdm, it doesn't list KDE as an option and, when someone logs in, it gives a really ugly interface with just one terminal window. Any help would be greatly appreciated because I have been having trouble finding similar problems on the message board.
ie, I installed Xfree, and then compiled kde-3.0.5a
All works well.
my problems is if I start kdm as my login manager kde is not an option to start, to get around this, I have edited /usr/share/config/kdm/kdmrc and added kde as a "session" option
# Session types the users can select. It is advisable to have "default" and
# "failsafe" listed herein, which is also the default.
# Note, that the meaning of this value is entirely up to your Session program.
SessionTypes=Xsession,kde
Now when I start kdm I DO get a kde session option, however this dissapears after a reboot.
To make sure this works I then followed the startup from /etc/X11/xdm/Xsessions, this calls the "chooser.sh" script
which references options from /etc/X11/Sessions/Xsession
I have edited Xsessions to look like this
case $# in
1)
case $1 in
failsafe)
exec xterm -geometry 80x24-0-0
;;
kde)
exec /usr/bin/startkde
;;
esac
esac
so as I see it this should work, yet when I login to kdm using the kde option, I still start the basic Xsession, and when I restart the Xderver kde is gone from the options (/usr/share/config/kdm/kdmrc has lost the kde option in sessiontypes)
Whats going on here ???? I just want to use kdm to manage my windows session and then start a kde desktop ???
1.) the main problem is kde not being available as a session, however to test this I have tried a few things to try and narrow down where the problems lie
I created a .xinitrc file in a users $HOME dir that contains
/usr/bin/startkde
when the user logs in it still starts the basic twm desktop
I launched twm desktop, and then ran startkde within a xterm, and another couple of twm windows opened containing a kde desktop and a kde menu bar.
I launch startkde from the command line and it doesn't start a X server so it can't start kde.