Call me paranoid but my everyday account has no privileges.
I have a 'administrator' account who is in wheel. When I want to perform administrative tasks, I open a terminal and do
su - administrator sudo ...
This works fine in most situations, except with X11 applications.
Can't open display:
What I've tried:
- start X11 with the everyday user
xhost +localhostwith everyday user
export DISPLAY=:0with administrator
How can I run a X11 application with the administrator account when my desktop runs with the everyday user?