Summary: | root apps not launching via desktop menu in plasma 6 | ||
---|---|---|---|
Product: | [Applications] kdesu | Reporter: | Duns <web> |
Component: | general | Assignee: | kdesu bugs tracker <kdesu-bugs-null> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | alexander.lohnau, bnafta, bugseforuns, natalie_clarius, nate, nicolas.fella, sergio, s_chriscollins, web |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 6.1.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | the dialog window rejecting my correct password |
Description
Duns
2024-02-29 14:54:21 UTC
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 |