Hi all, I would like to attach additional information in case someone else has the same problem on a systemd-based system, in my case Gentoo. Apologies to the Slack users for hijacking your thread.
I had the same problem (black windows in thunderbird), which comes from thunderbird not being able to create /dev/shm files. However, /dev/shm has already generous permissions:
Code:
$ ls -ld /dev/shm/
drwxrwxrwt 2 root root 40 Nov 28 14:41 /dev/shm/
The problem was the number of allowed open files (ulimit -n was giving 1024).
Classically this limit can be increased through /etc/security/limits.conf, but systemd loads limit settings differently. This was confusing for me because you get different ulimit results in the VTs. Redhat bug #1364332 has information how to set the limits per-user in systemd. I am copying from there:
Code:
mkdir /etc/systemd/system/user@1000.service.d
(If your user uid is something other than 1000 change to that )
Create the file /etc/systemd/system/user@1000.service.d/limit.conf and have it contain
Code:
[Service]
LimitNOFILE=10240
Reload the systemd daemon to pick up the changes
Code:
systemctl daemon-reload
Logout or reboot.
Check that the new limit works:
I hope this saves someone a few hours of debugging when only having "[GFX1-]: Failed to lock new back buffer." to work with.