Description
Just wanted to have an issue to track possible repercussions of #151 - feel free to close after a while if nobody chimes in.
Copypaste from PR
Sometimes on container startup X will throw a fit with (possibly non-exhaustive list):
Xorg: ../../../../../../include/privates.h:121: dixGetPrivateAddr: Assertion 'key->initialized' failed.
Xorg: ../../../../dix/privates.c:384: dixRegisterPrivateKey: Assertion '!global_keys[type].created' failed.
as soon as neko starts (and then neko itself dies). When that happens supervisord will restart both and soon enough they'll both manage to say alive and settle down.
Looking for clues reveals a bunch of long-standing X bugs with a bunch of supposed patches and the general advice of "start X as root kthx" (which is not the case in neko, as it stands).
References
Some of the links I dug up:
- https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1745345
- https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1861609
- https://gitlab.freedesktop.org/xorg/xserver/-/issues/615
And a hilarious quote from one of them which perhaps accurately reflects the state of Xorg:
Is there another workaround?
Yes, just select 'Ubuntu on Wayland' from the login screen.
Which had me think that maybe one day in the distant future it might be nice to switch to wayland
+pipewire
...