Description of problem: Switching user using the KDE way is not possible when LightDM is used as login manager. Version-Release number of selected component (if applicable): lightdm-1.3.3-2.fc19.x86_64 lightdm-kde-0.3.0-1.fc19.x86_64 kde-workspace-4.8.5-3.fc17.x86_64 (with the fix for #849334) How reproducible: Always Steps to Reproduce: 1. Kickoff -> Leave -> Switch User -> Continue Actual results: Screen flickers, returns to the current session Expected results: Creating a new session Additional info: The session was locked afterwards as I have locking set up on user switch.
With kde-workspace-4.9.1-6.fc18.x86_64, the "Switch User" button is not present in the menu when LightDM is used. When KDM is used, the button is back though.
So, as I found out, the button is missing because the environment asks the system (via SystemD or ConsoleKit) if the DM supports switching users. LightDM may not present itself to the system as being capable of this feature but there is definitely a way of doing it - manually, using command "dm-tool switch-to-greeter", a new session is created, making it possible to log in for more users.
lightdm supports switching users. Just like gdm it comes with a gdmflexiserver binary which is exposed over dbus and can be called by dm-tool. Works fine here with lightdm-1.3.3-2 and lightdm-gtk-1.3.1-1, so the problem must either be in kdeworkspace or lightdm-kde. I guess kdm does things differently and kdebase only supports kdm's way.
Yes, I'm investigating this and it seems it's in our patch for systemd support in kde-workspace but I'm not 100% sure, testing it right now.
Created attachment 623460 [details] Proposed patch to fix the issue QDBus refuses to return any of the types returned by SystemD as they are not registered according to its error messages. This patch works around this issue and makes it possible to correctly switch users in KDE using LightDM.
FWIW, this looks like a QDBus (or even QMetaObject) bug.
Yes, it seems so. But what's strange - I looked this up on the Qt bugtracker and there was no report regarding this.... But to me it seems like something that should affect many more projects than just us. And to this bugreport - there are still some issues left - from what I have found out, logging out still works really strange. After creating two sessions and logging from both of them, KDE reports (in a new session) that there are these two open (and lists them as "other" sessions, regardless the fact one of them is on the same VT as the present one).
Also reported here: https://bugs.launchpad.net/lightdm/+bug/851612
I found out today these issues belong under LightDM, reporting a new bug 867924 . Regarding this issue, there is only one more minor problem I know of: the "Switch User" dialog lists sessions that are marked as closing. Also removing the Launchpad tracker as I think the problem is in systemd support. I'll see when I fix it.
Martin, why did you invert the dependency order of the bugs? I think this one really depends on bug #867924 rather than blocking it.
Sorry, Kevin, I did that by accident. Fixed now.
kde-workspace-4.9.2-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kde-workspace-4.9.2-6.fc18
Package kde-workspace-4.9.2-6.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kde-workspace-4.9.2-6.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16735/kde-workspace-4.9.2-6.fc18 then log in and leave karma (feedback).
Package kde-workspace-4.9.2-7.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kde-workspace-4.9.2-7.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16735/kde-workspace-4.9.2-7.fc18 then log in and leave karma (feedback).
kde-workspace-4.9.2-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.