this post was submitted on 06 Jun 2026
24 points (96.2% liked)
Linux Gaming
26129 readers
33 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
No memes/shitposts/low-effort posts, please.
Resources
Help:
- ProtonDB
- Are We Anticheat Yet?
- r/linux_gaming FAQ
- Fork of an earlier version of the above
- PCGamingWiki
- LibreGameWiki
Launchers/Game Library Managers:
General:
Discord:
IRC:
Matrix:
Telegram:
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Did you try with 64k instead of 1 million in the file and rebooting? If that doesn't work, then idk what will work.
No, it didn't work, what I did find weird is that I can login as even root or any other even new user and it says 4096 but if I enter the sudo shell it does the number I put in the file.
I found something on reddit.
The link they pointed to
It works! :D Quoting the thing "in /etc/pam.d/login add the line session required /lib/security/pam_limits.so to the bottom then do the same for the file associated with your DM i.e. /etc/pam.d/lightdm"
Oh I found a similar thing in the voidlinux subreddit I should've probably checked reddit idk.
oh yea it's probably something like that, if I go directly to console to login it works like it should, I can't start any DEs like that cuz they're not setup but yea, and I guess the sudo thing works for some weird reason related. Also I think you got like cutoff.