You are not logged in.
My Mint 19 xfce doesn't have gksudo. I created a new one with:
echo '/usr/bin/pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY $@'|sudo tee /usr/local/bin/gksudo;chmod +x /usr/local/bin/gksudo
https://forums.linuxmint.com/viewtopic. … 5#p1518125
Problem is, i login as a non-sudo "Desktop user". non-sudo users can't use it.
$ gksudo firefox
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/johny/.Xauthority which is owned by johny.)
Why? How to make it work for non-sudo users? i think i need to do something to polkit.
Last edited by johnywhy (2018-08-28 01:11:33)
arch xfce x86_64
Offline
The Arch wiki polkit page is pretty comprehensible. You'll need to create a new authorization rule in this particular case.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 535.22 KiB (Peak: 550.49 KiB) ]