Skip to content

Why does GTK polkit password dialogue work, but not QT? #3062

Answered by HubKing
HubKing asked this question in Q&A
Discussion options

You must be logged in to vote

Found out the reason. It was not because whether it is QT or GTK. It was because of the presence of <allow_any>auth_admin</allow_any> in the policy files under /usr/share/polkit-1/actions, and it just happened to be that all GTK/Gnome apps on the computer had it and all the QT apps did not.

Gparted

KDE Partition

When I modified the policy file of KDE Partition and add <allow_any>auth_admin</allow_any>, it showed the password dialogue.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HubKing
Comment options

Answer selected by HubKing
@HubKing
Comment options

@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