“Xorg” process does not take limits from /etc/security/limits.conf

I have this in my /etc/security/limits.conf: #<domain> <type> <item> <value> root – memlock 65536 root – stack 524288 root – nice -20 root – nofile 16384 yet, the process /usr/lib/xorg/Xorg, which does run as root still has only 1024 for RLIMIT_NOFILE: cat /proc/$(pgrep Xorg)/limits | grep ‘open file’ Max open files 1024 4096 files Why…

Details