SUMMARY Logged on as user x, but KRunner is running as root. (different theme, and e.g. steam complains it cannot be run as root, while yast2 can be started without any password request. STEPS TO REPRODUCE 1. Startup 2. Login 3. Alt-Tab, enter yast2, hit enter OBSERVED RESULT YAST2 launches without (root)password dialog EXPECTED RESULT YAST2 asks for root password SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Operating System: openSUSE Tumbleweed 20200614 KDE Plasma Version: 5.19.0 KDE Frameworks Version: 5.70.0 Qt Version: 5.15.0 Kernel Version: 5.7.1-1-default OS Type: 64-bit Processors: 12 × AMD Ryzen 5 3600X 6-Core Processor Memory: 31,3 GiB Arbeitsspeicher Graphics Processor: Radeon RX 580 Series ADDITIONAL INFORMATION Killed krunner and started again from KDE Menue, same result.
On KDE Neon unstable it runs with user privileges. Can maybe one of the SUSE users have a look?
If there is a howto I can also send logs or debug messages. Whatever is helpful.
I'm on openSUSE Tumbleweed too, with that same snapshot, and my KRunner is running with user privileges. This seems like a local config issue. Did you accidentally login as root yourself, maybe?
No, I don't use kde as root, always su'ing. It maybe a rare condition but that is why I didn't restart, hoping it could be found and eliminated.
I rebooted, now krunner is behaving as expected.
I guess you can close the ticket, since the error isn'T reproducible anymore. Thank you
Just the same happened to me... openSUSE Leap 15.2: Plasma: 5.18.5 Frameworks: 5.71.0 QT: 5.12.7 I see running both processes Krunner as user and as root in System activities. If I kill root variant and try to hit Alt+F2 to activate krunner, root variant starts again
Restart "solved" the issue
And one more observation. It is probably not krunner problem, but keyboard shortcuts problem. Before restart, I cannot run Spectacle via PrintScreen key and via "root Krunner". Via Konsole it was possible. So I think Spectacle tried to run as root via PrintScreen too.
Seems like the kglobalaccel daemon (which is responsible for launching KRunner and Spectacle) got run as root. Can you check to see if this is the case?
Unfortunately I already restarted computer and now everything works fine again. But I would check it, when it happens next time.
OK thanks!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
*** This bug has been marked as a duplicate of bug 429435 ***
It is not duplicate mentioned task. In mentioned task is nothing about root. Just happened again. And yes, that service is running as user and root
Created attachment 135213 [details] ps aux after bug happened
I dumped sudo journalctl --since=today > ~/Stažené/dump-of-journalctl.txt How safe it is include it into bugzilla? Can be there some private data, which should I censore?
cat ~/Stažené/dump-of-journalctl.txt | grep global led 26 09:05:45 linux-fyol dbus-daemon[2779]: [session uid=1000 pid=2779] Activating service name='org.kde.kglobalaccel' requested by ':1.12' (uid=1000 pid=2927 comm="/usr/bin/kaccess ") led 26 09:05:45 linux-fyol dbus-daemon[2779]: [session uid=1000 pid=2779] Successfully activated service 'org.kde.kglobalaccel' led 26 09:05:46 linux-fyol kded5[2921]: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.15' led 26 13:27:13 linux-fyol dbus-daemon[20116]: [session uid=0 pid=20114] Activating service name='org.kde.kglobalaccel' requested by ':1.1' (uid=0 pid=20118 comm="/usr/lib64/libexec/kactivitymanagerd ") led 26 13:27:14 linux-fyol kglobalaccel5[20125]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' led 26 13:27:14 linux-fyol kglobalaccel5[20125]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' led 26 13:27:14 linux-fyol kglobalaccel5[20125]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' led 26 13:27:14 linux-fyol kglobalaccel5[20125]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' led 26 13:27:14 linux-fyol dbus-daemon[20116]: [session uid=0 pid=20114] Successfully activated service 'org.kde.kglobalaccel' led 26 16:48:06 linux-fyol org.kde.kglobalaccel[20116]: Error: org.freedesktop.DBus.Error.Spawn.ChildSignaled led 26 16:48:06 linux-fyol org.kde.kglobalaccel[20116]: Process org.kde.Spectacle received signal 6 led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Error: org.freedesktop.DBus.Error.Spawn.ChildSignaled led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Process org.kde.Spectacle received signal 6 led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Error: org.freedesktop.DBus.Error.Spawn.ChildSignaled led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Process org.kde.Spectacle received signal 6 led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Error: org.freedesktop.DBus.Error.Spawn.ChildSignaled led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Process org.kde.Spectacle received signal 6 led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Error: org.freedesktop.DBus.Error.Spawn.ChildSignaled led 26 16:48:13 linux-fyol org.kde.kglobalaccel[20116]: Process org.kde.Spectacle received signal 6
And I know now, why kglobalaccel5 runs as root: * Alt+F2 to run Krunner * type "kdesu kate /etc/hosts" * edit it * CTRL + S to save it -> now kglobalaccel5 runs both as root and as user But printscreen still works now, after I tried to reproduce it. So I am not sure, what changed, that kglobalaccel5 root start grabbing keyboard shortcuts instead of user instance
Fixed by Fabian Vogt with https://invent.kde.org/frameworks/kglobalaccel/-/commit/bbec74337b3186bc258bd5adf849b89191789535 in Frameworks 5.81
*** Bug 435130 has been marked as a duplicate of this bug. ***