Hello @karywina, it appears you've already have an answer to this. Yes, the desktop environment does need to work with X11 one way or another to work with Steam.
Installing xwayland-satellite and restarting Niri fixed this for me!
https://niri-wm.github.io/niri/Important-Software.html#xwayland
Nothing extracted yet.
Your system information
Please describe your issue in as much detail as possible:
When launching Steam on Niri it hits me with an error saying: Check your DISPLAY environment variable and make sure that you have enabled X.
If you are running remotely, make sure that you have a remote connection which will allow an X connection.
For more information visit https://support.steampowered.com/kb_article.php?ref=4050-WOJB-0608
This is only happening on Niri, every other wayland/x11 DE/WM works fine. I do not have xwayland if that's an issue (other thread I saw had this as the fix.) yeah i jus want to play adofai
Steps for reproducing this issue: