Skip to content

"Authentication required to refresh system repositories" message when connect to my RPi4 with remote desktop #2112

Closed Answered by matt335672
theandychung asked this question in Q&A
Discussion options

You must be logged in to vote

Just tried this on a FrankenPi with LXDE.

The issue seems to be that the packagekit service is asking for authentication for the check when you log in.

On my system, sudo journalctl -u packagekit shows this message after logging in over xrdp:-

Jan 10 09:58:19 xrdp-test-lxde PackageKit[1330]: uid 1001 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)

The org.freedesktop.packagekit.system-sources-refresh string is a PolicyKit action ID. PolicyKit is the system component which decides whether to authorize the action or not.

You can query the response PolicyKit will provide with this command:-

$ pkaction --action-id org.freedesktop.packagekit.system-…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by theandychung
Comment options

You must be logged in to vote
1 reply
@matt335672
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2111 on January 10, 2022 10:12.