Problem Sharing X11 socket with LXD container

New Manjaro user here. I recently switched from Ubuntu to Manjaro. I utilize LXD a lot and was happy to see that Manjaro supported snaps so I could easily install it. My issue is that for some reason I'm unable to get my GUI apps working like they used to in Ubuntu from the containers.

Typically I would share the X11 socket /tmp/.X11-unix/X0 and the .Xauthority file with the container, and then set your $DISPLAY variable and it would work. However when I follow those steps, it just throws the following error:

(02:35:04) ○ [donofrj@corporate-vpn] ~ 
→ ll .Xauthority 
-rw------- 1 donofrj donofrj 55 Aug  7 01:14 .Xauthority
(02:35:05) ○ [donofrj@corporate-vpn] ~ 
→ ll /tmp/.X11-unix/
total 8.0K
drwxrwxrwt 2 root   root    4.0K Aug  1 20:13 .
drwxrwxrwt 9 root   root    4.0K Aug  7 02:35 ..
srwxrwxrwx 1 nobody nogroup    0 Aug  7 01:13 X0
(02:35:13) ○ [donofrj@corporate-vpn] ~ 
→ export DISPLAY=:0
(02:35:24) ○ [donofrj@corporate-vpn] ~ 
→ glxgears
No protocol specified
Error: couldn't open display :0

Anyone know what could be going on here?

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by