After Upgrading/new installing to Kubuntu/Ubuntu 22.04 the Calling of Root-Krusader via Alt+Umschalt+k is impossible also in all other Desktops. STEPS TO REPRODUCE 1. Start User-Krusader 2. Hit "Alt+Umschalt+k" 3. Nothing is doing OBSERVED RESULT Nothing is doing EXPECTED RESULT Starting the Root-Krusader after Passwort entering SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kernel-Version: 5.15.0-41-generic (64-bit ) - Grafik-Plattform: X11 (available in About System): Ubuntu 22.04 KDE Plasma Version: plasmashell 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
Can someone tell the procedure how User-krusader call intern the new instance of Root-krusader?
Hi, Hanisch > After Upgrading/new installing to Kubuntu/Ubuntu 22.04 the Calling of Root-Krusader via Alt+Umschalt+k is impossible also in all other Desktops. It looks related to: https://bugs.kde.org/show_bug.cgi?id=452532 - https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439 > Can someone tell the procedure how User-krusader call intern the new instance of Root-krusader? You can try using: sudo -i krusader Did that work :-?
You can also try: sudo -i KDE_FULL_SESSION=true krusader so that Krusader is better seen.
> You can try using: > sudo -i krusader That is not the problem. Better is: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY krusader The reason for crashing of Root-krusader via Alt+shift+k is missing of "kdesu" in Kubuntu/Ubuntu 22.04. ~$ krusader QCoreApplication::applicationDirPath: Please instantiate the QApplication object first 09:48:11.184-debug default unknown@0 # System icon theme: "Papirus" 09:48:12.712-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action 09:48:12.795-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action 09:48:13.126-warning kf.i18n unknown@0 # Trying to convert empty KLocalizedString to QString. org.kde.kdesu: Daemon not safe (not sgid), not using it. Don't need password!! kf.su: [ ./src/stubprocess.cpp : 225 ] Unknown request: "ok" ~$ sudo apt install kdesu Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig E: Paket kdesu kann nicht gefunden werden. Please change the call of Root-krusader via Alt+shift+k from User-krusader with "kdesu" to "pkexec".
Created attachment 151029 [details] attachment-20437-0.html Hello, Am 30.07.22 um 20:38 schrieb Toni Asensi Esteve: > https://bugs.kde.org/show_bug.cgi?id=456949 > > --- Comment #3 from Toni Asensi Esteve<toni.asensi@kdemail.net> --- > You can also try: > > sudo -i KDE_FULL_SESSION=true krusader > > so that Krusader is better seen. > ~$ sudo -i KDE_FULL_SESSION=true krusader That is not the problem. Better is: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY krusader The reason for crashing of Root-krusader via Alt+shift+k is missing of "kdesu" in Kubuntu/Ubuntu 22.04. ~$ krusader QCoreApplication::applicationDirPath: Please instantiate the QApplication object first 09:48:11.184-debug default unknown@0 # System icon theme: "Papirus" 09:48:12.712-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action 09:48:12.795-warning default unknown@0 # QWidget::insertAction: Attempt to insert null action 09:48:13.126-warning kf.i18n unknown@0 # Trying to convert empty KLocalizedString to QString. org.kde.kdesu: Daemon not safe (not sgid), not using it. Don't need password!! kf.su: [ ./src/stubprocess.cpp : 225 ] Unknown request: "ok" ~$ sudo apt install kdesu Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig E: Paket kdesu kann nicht gefunden werden. Please change the call of Root-krusader via Alt+shift+k from User-krusader with "kdesu" to "pkexec". with regards Ch. Hanisch
The 'kdesu' is always in the System. ~$ apt-file search /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu kde-cli-tools: /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu libkf5su-bin: /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu_stub libkf5su-bin: /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesud But Alt+shift+k does not work in Kubuntu 22.04. In Siduction (Debian Bookworm/sid) it works well - why?
> Please change the call of Root-krusader via Alt+shift+k from > User-krusader with "kdesu" to "pkexec". On <https://help.ubuntu.com/community/RootSudo#Graphical_sudo> it's written that "pkexec is being deprecated by the mainline Ubuntu developers"... 🤷 > But Alt+shift+k does not work in Kubuntu 22.04. In Siduction (Debian Bookworm/sid) it works well - why? In the https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439 address that I mentioned, it's written that: "kdesu was fixed in Debian with: https://tracker.debian.org/news/1330116/accepted-kdesu-5940-2-source-into-unstable/ and fixed in Kinetic with: https://launchpad.net/ubuntu/+source/kdesu/5.94.0-0ubuntu2 [...]" that may be a reason.
The solution is found. Create a File /etc/sudoers.d/kdesu-sudoers with following contents "Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty": # cat /etc/sudoers.d/kdesu-sudoers Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty
Hello, Am 01.08.22 um 01:14 schrieb Toni Asensi Esteve: > https://bugs.kde.org/show_bug.cgi?id=456949 > > Toni Asensi Esteve <toni.asensi@kdemail.net> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|WAITINGFORINFO |--- > Status|NEEDSINFO |REPORTED > > --- Comment #7 from Toni Asensi Esteve <toni.asensi@kdemail.net> --- >> Please change the call of Root-krusader via Alt+shift+k from >> User-krusader with "kdesu" to "pkexec". > On <https://help.ubuntu.com/community/RootSudo#Graphical_sudo> it's written > that "pkexec is being deprecated by the mainline Ubuntu developers"... 🤷 > >> But Alt+shift+k does not work in Kubuntu 22.04. In Siduction (Debian Bookworm/sid) it works well - why? > In the https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439 address > that I mentioned, it's written that: > "kdesu was fixed in Debian with: > > https://tracker.debian.org/news/1330116/accepted-kdesu-5940-2-source-into-unstable/ > and fixed in Kinetic with: > https://launchpad.net/ubuntu/+source/kdesu/5.94.0-0ubuntu2 > [...]" > that may be a reason. > The solution was found: # cat /etc/sudoers.d/kdesu-sudoers Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty with regards Ch. Hanisch Mein öffentlicher Schlüssel ist auf dem Keyserver 'pool.sks-keyservers.net' unter ch-hanisch@t-online.de
> # cat /etc/sudoers.d/kdesu-sudoers > Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty If it may be helpful for anyone, on the page of the bug https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439 it's seen: The issue can be worked around by adding /etc/sudoers.d/kdesu-sudoers with the contents Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty As it seems that it's not a bug of Krusader (because it depends on the operating system), I'm going to mark this bug as "RESOLVED - NOT A BUG". Anyway, please feel free to write in this bug report if you think it's necessary.