Need to login twice to start KDE with compiz and kde-window-decorator from kdm
I have been experiencing an annoyance for some time. This box is setup to boot to run level 4 to kdm. When I log in the first time, KDE and compiz start, but kde-window-decorator fails to start so that I am left with windows with no borders and the Klipper icon fails to appear. If I logout and login again, everything starts OK.
This problem did not occur with Slackware 12.0, then appeared as I tracked Slackware-current to Slackware 12.1 (maybe when upgrading to KDE 3.5.9?). It is now a consistent problem at every boot.
This box has an nVidia 7300 LE GPU, and the problem continues with an update to the latest nVidia kernel module.
I am starting to suspect that the kde-window-decorator is being launched before compiz has completed. I have tried increasing the Server Timeout in kdmrc, but that made no difference.
There is nothing obviously useful in my ~/.xsession-errors file or /var/log/syslog.
This is the contents of my ~/.kde/share/config/ksmserverrc file.
I never have experienced this problem. A first reasonable guess is a session problem/corruption. The next time you log out and return to the KDM login manager, logout without saving the session.
For comparison, here is my normal user ksmserverrc:
You also could boot into runlevel three. After logging in at the command line, do not immediately run startx. Your KDE user session files are stored in $HOME/.kde/share/config/session. Delete the files. Then run startx. Exit X/KDE without saving the session. Reboot or telinit into runlevel four and login through KDM.
Perhaps the tip in this thread solves it?
Thanks for the good suggestions. Unfortunately nothing that I have tried to date has fixed the problem.
I am wondering if this may have something to do with loading dbus for the session.
I noted that I did not have DBUS_SESSION_BUS_ADDRESS environment variable set,
and that a dbus session process was started after compiz and kde-window-decorator.
I have tried adding a ~/.bash_profile to my home directory, to load dbus when a KDE session is started.
|All times are GMT -5. The time now is 04:34 PM.|