Created attachment 166193 [details] the dialog window rejecting my correct password SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. try to launch an app as root from menu 2. you will prompt for the root password 3. your (correct) password is not accepted OBSERVED RESULT Password not accepted ("Permission denied. Possibly incorrect password, please try again.") EXPECTED RESULT Password accepted/working SOFTWARE/OS VERSIONS Operating System: KDE neon 6.0 KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.5.0-21-generic (64-bit) Graphics Platform: Wayland Processors: 2 × Intel® Core™ i3-7100 CPU @ 3.90GHz Memory: 7,6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 630 Manufacturer: MSI Product Name: MS-7A74 System Version: 1.0 ADDITIONAL INFORMATION I have followed these instructions (https://bugs.kde.org/show_bug.cgi?id=481940) but unsuccessfully
The only way to launch an app as root from desktop menu, is to use this code: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true [your app, such as krusader]
> 1. try to launch an app as root from menu I don't understand what that means, how exactly do you do this?
I mean : editing menu item -> Advanced - > run as a different user - > root
Any news? This problem should at least be recognized, I think. There is some further info I can provide?
Today, after new upgrade neither the above code works: the only way to get a root app is via terminal (sudo + app name).
This is easy to reproduce on KDE neon by installing "KSystemLog" from the repositories. Attempting to launch KSystemLog from the K menu will ask for your password, but the password is never accepted and the application can't be launched.
This code works (it's an example: krusader as root): [Desktop Entry] Comment=Twin-Panel File Manager Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY KDE_SESSION_VERSION=5 KDE_FULL_SESSION=true krusader GenericName=File Manager Icon=krusader_user Name=Krusader-root NoDisplay=false Path= StartupNotify=true StartupWMClass=krusader Terminal=false TerminalOptions= Type=Application X-DocPath=krusader/index.html X-KDE-SubstituteUID=false X-KDE-Username=root
Why is it marked as corrected? It still doesn't work unless additional commands are added in the '.desktop' files.
Yes, you're right. It's a temporary workaround. But unfortunately the KDE developers have bigger problems to solve, due to the release of Plasma 6...
Can reproduce with Ksystemlog. Bug 483701 seems related/duplicate. Operating System: KDE neon Unstable Edition KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Graphics Platform: Wayland
I don't have KSystemLog installed. And the problem is still there. So this should not be a duplicate of Bug 483701