You are not logged in.
I tried out xrdp and nomachine, and I got this message when starting Discover in KDE (I didn't before I installed these). Now I've uninstalled both of them, but I keep getting this message.
Is there any way to remove this?
Solution: Not much of a fix, but I just stopped using Discover for package management...
Last edited by Perro (2023-05-09 02:10:31)
Offline
Remove what? Discover requires system privileges to use polkit to update system packages, so this message seems completely normal. If you don't wan to use discover for pacman packages (which I'd reccommend since the integration here is simply not as good nor stable on Arch) you can remove packagekit-qt5
Offline
Sorry, english is not my native language.
Before installing these remote access packages, Discover didn't request for this password when I opened it. I would like to go back to that behaviour.
I use Discover to browse apps like an app store, and ease the installation of flatpaks and system updates. I use pacman and AUR (makepkg) for everything else.
Offline
Looking at the packagekit polkit policies they require a proper session so your logind session is likely broken. How exactly are you starting plasma/your session? Outputs of
printenv DBUS_SESSION_BUS_ADDRESS
loginctl session-statusOffline
$ printenv DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus$ loginctl session-status
2 - perro (1000)
Since: Mon 2023-05-08 17:10:41 -04; 1h 6min ago
Leader: 859 (sddm-helper)
Seat: seat0; vc1
Display: :0
Service: sddm; type x11; class user
Desktop: KDE
State: active
Unit: session-2.scope
├─859 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth354ed1ff-9e75-4b79-9a74-3b9bd9245244 --id 1 --start /usr/bin/startplasma-x11 --user perro
├─875 /usr/bin/kwalletd5 --pam-login 6 8
└─876 /usr/bin/startplasma-x11
May 08 17:10:42 archdog systemd[1]: Started Session 2 of User perro.
May 08 17:10:42 archdog sddm-helper[876]: Adding cookie to "/home/perro/.Xauthority"Offline
I just deleted packagekit-qt5
Problem deleted fixed
Refresh and upgrade:
pacman -SyuQuery orphan packages
pacman -QtdQuery foreign (AUR) packages
pacman -QmLast edited by Perro (2023-05-09 02:08:55)
Offline
It is a problem with nomachine uninstaller script. It doesn't clean up properly. You need to manually remove the following file after uninstalling nomachine and it will be okay.
sudo rm /usr/share/polkit-1/rules.d/55-org.nomachine.rulesOffline