New comment by VoidDuck on void-packages repository https://github.com/void-linux/void-packages/issues/20051#issuecomment-599146673 Comment: That's it! If I start Xfce from command line without using LightDM I keep the unlimited memlock. Unless someone has an idea about solving that problem I'm just getting rid of LightDM. Thank you @daniel-eys for your help.