Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Login error due to DBUS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
luxifer
n00b
n00b


Joined: 04 Feb 2016
Posts: 4

PostPosted: Thu Feb 04, 2016 3:15 pm    Post subject: Login error due to DBUS? Reply with quote

Hi there,

Already posted this in the DE sub forum but from what I've found since then I think this might not be the right one.

I've messed up my login system and exhausted my ideas on how to fix it. Here's what happened:

I have upgraded from KDE 4 (stable) to KDE 5 (kde overlay) last weekend but it turned out I didn't like it because quite some things I'm used to just didn't work as expected or at all. So I've decided to downgrade to KDE 4 again. After going through dependency hell I managed to remove any KDE 5 (and kde overlay) packages again and downgrade to their KDE 4 parts (where applicable). Everything went fine.

"emerge -avuND --newrepo --keep-going=y --with-bdeps=y world" shows no packages to merge
"emerge -av @preserved-rebuild" shows no packages to merge
"revdep-rebuild" shows no packages to merge

all KDE 5 packages are gone

However: I cannot log in using KDM (VT works fine) - it acts as if I entered the wrong password. I also cannot unlock my session once I have locked it with the KDE screenlocker.

kdm.log holds those lines upon a login try:
klauncher(4496) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(4487)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"

I have done emerge "$(qlist -IC dbus)" and emerge "$(qlist -IC polkit)" to no avail. DBUS and Polkit are running.

I'm using systemd if that helps.

Also, when I log in via VT, then do startx and then startkde, I have this in my env:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-vz4qnHXN5l,guid=7b817e6bf7a88fa813f8719d56b35edb

however, the file does not exist so I guess that's the main issue here: dbus not creating the socket it gives me...

Please lend me a hand here - I'm out of ideas and the way it currently is I cannot use the kde screenlocker (because I cannot unlock!), have to log in from the VT, doing startx et. al. and have to go back to the VT to vlock my session... drives me crazy
Back to top
View user's profile Send private message
luxifer
n00b
n00b


Joined: 04 Feb 2016
Posts: 4

PostPosted: Thu Feb 04, 2016 8:36 pm    Post subject: Reply with quote

problem solved - thread can be closed, kthxbye :)

to whom it may concern: problem eventually boiled down to missing /etc/pam.d/kde - despite(!) kdebase-pam being re-emerged at least once! linking /etc/pam.d/lightdm to /etc/pam.d/kde did the trick for me
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9266

PostPosted: Sat Feb 06, 2016 3:25 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads, given "Messed up Login in KDE".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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