I’ve recently migrated from Linux Mint to Manjaro.
In Mint, all of my containers were working flawlessly.
Since my development workflow was established, I wanted to migrate to a
rolling release distro. Also because of Arch being so involved with it’s installation,
I decided to go with Manjaro.
LXD Version: 4.1
Installed with Snap
I’m able to launch containers, and share folders between host and container.
My permission seems to be correct, since I’m able to write files to the shared folders.
Giving my containers access to the host Xserver however has been a challenge…
After reading through the “GUI Apps in LXD (Archlinux Host)” thread I’ve learned two possible solutions, one to disable the access control on my XServer with the xhost command, or to include a correctly configured .Xauthority file in my container.
I’m able to successfully do either of them, however things are still not working quite right.
$ xclock Warning: Unable to load any usable ISO8859 font Warning: Missing charsets in String to FontSet conversion
$ glxgears libGL error: MESA-LOADER: failed to retrieve device information libGL error: Version 4 or later of flush extension not found libGL error: failed to load driver: i915 libGL error: failed to open drm device: No such file or directory libGL error: failed to load driver: iris 6212 frames in 5.0 seconds = 1242.326 FPS
I did not have these issues on Mint… I’m a little puzzled on why it’s so different with Manjaro…
Is there a better way to accomplish this?
This is the profile I’m using for trouble shooting.
config: nvidia.runtime: "true" nvidia.driver.capabilities: graphics, compute, display, utility, video environment.DISPLAY: :0 raw.idmap: | uid 1000 1000 gid 1000 1000 security.idmap.isolated: "true" user.user-data: | #cloud-config package_upgrade: true packages: - x11-apps - mesa-utils description: Enables X forwarding to host devices: root: path: / pool: zfs-pool size: 20GB type: disk gpu: pci: "0000:01:00.0" type: gpu eth0: name: eth0 nictype: bridged parent: lxdbr0 type: nic X0: bind: container connect: unix:@/tmp/.X11-unix/X0 listen: unix:@/tmp/.X11-unix/X0 security.gid: "1000" security.uid: "1000" type: proxy name: gui used_by:
Thank you for your time.