Here's an alternative method that works for me. Enter this to allow all local users to launch GUI windows: (Enter exactly as shown, including the final colon.)
xhost +local:
Or, more extreme (may not be secure without running a firewall):
xhost +
To undo, enter:
xhost -
I don't need to type sudo to run these commands when I enter them as my local user that has X authority (if I'm understanding the situation correctly).
Here's an alternative method that works for me. Enter this to allow all local users to launch GUI windows: (Enter exactly as shown, including the final colon.)
xhost +local:
Or, more extreme (may not be secure without running a firewall):
xhost +
To undo, enter:
xhost -
I don't need to type sudo to run these commands when I enter them as my local user that has X authority (if I'm understanding the situation correctly).