*running as root, works fine. *running as regular user, using DISPLAY=localhost:0, and xhost + localhost, works fine (after getting gdm to start Xorg while allowing TCP connections).
Based on this, it appears to be something related to the default connection type for X11 (unix socket; DISPLAY=:0).
Some additional things to note:
*running as root, works fine.
*running as regular user, using DISPLAY=localhost:0, and xhost + localhost, works fine (after getting gdm to start Xorg while allowing TCP connections).
Based on this, it appears to be something related to the default connection type for X11 (unix socket; DISPLAY=:0).