Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to KDE 3.4.1: Environment not set on login
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Wed Jun 08, 2005 7:43 pm    Post subject: Upgrade to KDE 3.4.1: Environment not set on login Reply with quote

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
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Wed Jun 08, 2005 8:10 pm    Post subject: Reply with quote

Do you have kdebase-startkde emerged?
_________________
#gentoo-kde on freenode
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Wed Jun 08, 2005 8:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Wed Jun 08, 2005 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Wed Jun 08, 2005 8:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
firephoto
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1612
Location: +48° 5' 23.40", -119° 48' 30.00"

PostPosted: Wed Jun 08, 2005 8:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterZ
n00b
n00b


Joined: 30 Apr 2005
Posts: 10
Location: Cordova, TN

PostPosted: Wed Jun 08, 2005 9:47 pm    Post subject: Reply with quote

Try setting XSESSION="kde-3.4". That's what works on my system.
Back to top
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Thu Jun 09, 2005 3:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuxicated
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2004
Posts: 120

PostPosted: Thu Jun 09, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum