This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[RESOLVED] switch user not working for 1 account in kde4

Tags: None
(comma "," separated)
User avatar
google01103
Manager
Posts
6668
Karma
25
running kde4.2beta and kde4-kdm

My primary account cannot "switch user" as nothing happens (there is a cpu spike) using the kmenu but a dummy account can. Also using the kde3 kmenu I can "switch user" and the switch user in the screen saver lock works BUT not in kde4's kmenu

I'm assuming there's a corrupted rc file somewhere but I have no idea which and don't want to blow out everything just to get this to work - any idea?

Also related (I think) systemsettings doesn't seem to have any affect on the kdm login screen. And does anyone know why or if there will be a "administer mode" in the systemsettings "login manager" module as there was in kcontrol.

thanks,

Last edited by google01103 on Fri Dec 12, 2008 11:02 am, edited 1 time in total.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
any ideas?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
What about the file ksmserverrc? This file is used by the KDE Session Manager, which is responsible for safely shutting down KDE, restoring applications states, etc. so make sure you fully close all applications, so they can save what they need to.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
bcooksley wrote:What about the file ksmserverrc? This file is used by the KDE Session Manager, which is responsible for safely shutting down KDE, restoring applications states, etc. so make sure you fully close all applications, so they can save what they need to.


no, I renamed the file and tried switch user and got a krunner error

thanks,


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
What was the krunner error? any specific error message? Also what distribution are you running? Did you self compile 4.2 Beta or are you using Beta packages?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
bcooksley wrote:What was the krunner error? any specific error message? Also what distribution are you running? Did you self compile 4.2 Beta or are you using Beta packages?


Running openSuse latest kde4.2 from their build service. Unfortunately the krunner error doesn't always display but it looks generic iirc.

This only happens in my kde4 kmenu, not the kde3 kmenu and it works correctly from my kde4 kmenu lock command. It is only a problem for my account which indicates there is a corrupt rc file somewhere, if I rename .kde4 and restart kde4 then it works correctly.

It would help if I knew the command called so I could run it from konsole

thanks,


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try removing the config file 'kickoffrc' and 'kickerrc' if they are present, they are menu configuration files which for some reason are seperate. Are you using the 'Classic' menu?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
using kickoff but neither menu works

removing kick*rc files and restarting did not resolve the problem

thanks,


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Another intresting bit of information is that both Kickoff and the Classic KMenu work for me, but Lancelot does not. Does the command "qdbus org.kde.krunner /App switchUser" produce anything for you?

If it does -> It is the fault of Kickoff & KMenu
if it doesn't -> KRunner is to blame ( try removing ~/.kde4/share/config/krunnerrc )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
google01103
Manager
Posts
6668
Karma
25
bcooksley wrote:Another intresting bit of information is that both Kickoff and the Classic KMenu work for me, but Lancelot does not. Does the command "qdbus org.kde.krunner /App switchUser" produce anything for you?

If it does -> It is the fault of Kickoff & KMenu
if it doesn't -> KRunner is to blame ( try removing ~/.kde4/share/config/krunnerrc )


results in:
> qdbus org.kde.krunner /App switchUser
Error: org.freedesktop.DBus.Error.NoReply
Message did not receive a reply (timeout by message bus)

YES!!! removing ~/.kde4/share/config/krunnerrc fixed it - I'm wondering if "fast user switching" was not checked? Seems an odd place to place a config setting that affects a kmenu item.

Question lancelot works for me by bringing up the kdm screen which is not quite as desirable as the pop up window - is this how Lancelot is supposed to act?

thanks,

Last edited by google01103 on Thu Dec 11, 2008 8:31 pm, edited 1 time in total.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
No problem. The reason krunnerrc had to be removed is because it is the KRunner configuration file. KRunner handles many things, including locking the desktop, etc. Switching user is clearly one of those duties.

Lancelot for me just fills "SESSIONS" ( yes all in caps ) into the search bar, how Lancelot acts for you must have been the old / new behaviour. Must be a work in progress, I intend to 'svn up' tonight, to get back to latest.

If this issue is truly resolved, could you add [SOLVED] to the start of the subject? Thanks in advance.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]