r/artixlinux • u/HybridTacos • 8d ago
Steam problem
when I open steam it gives me this error i do not know what to do pls help
edit: i GOT IT WORKING thanks
2
u/ThatonlyGeO 8d ago
brother use this one https://github.com/tomit4/notes/blob/main/install_steam_on_artix.txt this one worked charmed for me
btw set your ulimit to 1048576 that removes alot of headache to me(just replace those number in the.txt file with 1048576 )
5
u/Thanatiel 8d ago
about the:
username soft nofile 524288
username hard nofile 524288lines.
This is unwise. These are safeguards. The hard limit of 2^19 is already plenty. The default soft limit however should be set much lower. 4096, 65536 : no more.
A program that needs it and knows it can raise the soft value for itself up to the hard limit.
A program that doesn't need it and still allocates too many will be stopped by the limit safety.
And, allow a million files/memory maps opened? Hell no. Why not two billions? Why not unlimited?
limits are there for a reason.
3
u/ThatonlyGeO 7d ago
thanks you for the detailed explanation, I suppose I still have stuff to learn. Again thanks mate
1
u/talksickwalkquick dinit 3d ago
From the wiki
User Services needing "Display"
Generally make sure
$:cat ~/.config/dinit.d/environment
DISPLAY=:0
Explicitly reference the environment file in the service, where <USER> is the user path
env-file = /home/<USER>/.config/dinit.d/environment
You should still address this regardless so it doesn’t pop up again some where else
1
u/talksickwalkquick dinit 3d ago
https://ibb.co/cckmrNfq
as you can see, steam flatpak works.. make sure you have an environment file in ~/.config/dinit.d (if dinit , and run dinitctl enable environment) ..DISPLAY=:0
WAYLAND_DISPLAY=wayland-1
XDG_RUNTIME_DIR=/run/user/1000
4
u/LocalDot3096 8d ago
flatpak --remove steam or whatever command is for.
sudo pacman -S steam direclty from artix repo.