As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [pkexec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
9k views

How to move folder in /usr/share/themes

I want to put a folder on /usr/share/themes but it says permission denied. How can i paste a folder on this location?
Elementary User 0.1's user avatar
3 votes
1 answer
3k views

Why can I not open gedit with pkexec?

I'm trying to run gedit as root, and heard that it is better to use pkexec over sudo -i. However, when I run pkexec gedit I see this: Unable to init server: Could not connect: Connection refused (...
user avatar
7 votes
1 answer
2k views

What about sudo makes it less secure than pkexec?

I just heard that it isn't recommended to use sudo -i on GUI programs - because it's less secure. Is there any truth here - is there an advantage to this: sudo -i pantheon-files /location over ...
user avatar