View previous topic :: View next topic |
Author |
Message |
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
Posted: Wed Jun 08, 2005 7:43 pm Post subject: Upgrade to KDE 3.4.1: Environment not set on login |
|
|
I just upgraded my Gentoo box from KDE 3.3.2 to KDE 3.4.1. First, I installed all KDE 3.4.1 packages I needed (from split ebuilds) and then I unmerged the KDE 3.3.2 ebuilds.
Now I restarted XDM, the new KDM appears and I try to login. The login succeeds but no KDE is loaded, just an xterm without windowmanager. When I enter 'export' to see my environment variables, I see that many variables are missing and the PATH variable is far from complete. The KDE directory was missing from the PATH as well. I guess that's why no KDE is loaded.
When I switch to a textmode terminal, login and compare the environment environment, all environment variables are set correctly. The only difference is graphical login using KDM versus textmode login.
Is KDM responsible for setting the environment on login? What could be going wrong here? |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Wed Jun 08, 2005 8:10 pm Post subject: |
|
|
Do you have kdebase-startkde emerged? _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
Posted: Wed Jun 08, 2005 8:17 pm Post subject: |
|
|
Yes, I have startkde. I can manually add the KDE path and start KDE from the xterm. Works fine.
One more note: Starting KDE 3.4.1 automatically on login worked perfectly, *until* I unmerged KDE 3.3.2. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Wed Jun 08, 2005 8:22 pm Post subject: |
|
|
did you edit the end of your rc.conf file?
Also look in your /etc/env.d/ for some old kde entries. should only be two in there I think, *kdepaths-3.4 and *kde-env plus one for qtdir3. Any other kde ones are old and can go. _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
Posted: Wed Jun 08, 2005 8:34 pm Post subject: |
|
|
Yes, I set XSESSION to "KDE-3.4.1". I made the old kde-3.3.x file in env.d invisible by prepending it's filename with a dot. I used that trick for switching between KDE 3.3 and 3.4 while KDE 3.4 was being built over the last couple of days. But you're right, I can even delete it now. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
Posted: Wed Jun 08, 2005 8:46 pm Post subject: |
|
|
well maybe it's something in your ~/ directory that's causing the problelms? any X related things in there that are suppose to load? Could be your ~/.kde* directories got messed up too with the switch between the two versions. I disable the version changing part in the startkde script and just use a .kde directory, no symlinks. _________________ #gentoo-kde on freenode |
|
Back to top |
|
|
PeterZ n00b
Joined: 30 Apr 2005 Posts: 10 Location: Cordova, TN
|
Posted: Wed Jun 08, 2005 9:47 pm Post subject: |
|
|
Try setting XSESSION="kde-3.4". That's what works on my system. |
|
Back to top |
|
|
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
Posted: Thu Jun 09, 2005 3:55 pm Post subject: |
|
|
I set the XSESSION to "KDE-3.4" but it does not change anything.
I found out that KDM executes one of the scripts in /etc/X11/Sessions/ which set the required KDE path and call 'startkde'. All of these scripts appear correctly in the session list of KDM, but they aren't executed when I login.
I also noted that the 'Administrator' button in the KDM KCM module does not work.
Currently re-emerging KDM-3.4.1, hopefully it fixes KDM. |
|
Back to top |
|
|
tuxicated Tux's lil' helper
Joined: 02 Nov 2004 Posts: 120
|
Posted: Thu Jun 09, 2005 4:46 pm Post subject: |
|
|
I re-emerged kdm-3.4.1 and ran etc-update, overwriting my KDM config files. This fixed the problem. It seems that KDM does not like my old KDM 3.3.2 configuration files....
Thanks for helping! |
|
Back to top |
|
|
|