SteamVR-for-Linux
SteamVR-for-Linux copied to clipboard
[BUG] Installation says is "requires superuser access to finish setup", but doesn't ask for it, then displays an error that installation "is incomplete."
So far I've installed Steam from both Snap and Flatpak and had the same outcome:
It displays a dialog box, saying "SteamVR requires superuser access to finish setup. Proceed?" The available options are "No" and "Yes."
Clicking Yes causes the dialogue to disappear, but it does not then go through the normal flow of asking for superuser access.
Subsequently, a dialogue box ("error" severity) appears, saying: "SteamVR setup is incomplete, some features might be missing. See Steam client logs folder for details."
A cursory look through the logs doesn't show me anything that immediately stands out, but there are quite a lot of logged messages and I'm not sure what to grep for.
After the error message, SteamVR launches, but my headset (Bigscreen Beyond) is not detected.
To Reproduce Steps to reproduce the behavior:
- Install SteamVR
- Click "Yes"
- See error
Expected behavior For the installation to proceed normally.
System Information (please complete the following information): Please use the latest Steam beta client and SteamVR beta for your bug reports!
- Steam client version (build number or date): 1726604483
- SteamVR version: beta 2.8.6
- Distribution (e.g. Ubuntu): Ubuntu 24.04
- Steam runtime diagnostics: https://gist.github.com/jMyles/74eb735e65aff04a17242d2cf1dff0b3
Update:
I presume that ~/snap/steam/common/.local/share/Steam/steamapps/common/SteamVR/bin/vrsetup.sh is the shell script being run under the hood here.
If i run this command manually, it produces a dialogue with a different style (appears to be steam-styled, rather than OS default), again saying that it needs sudo to finish setup. This time, however, it does actually ask.
I give it the requested permission, and indeed the subsequent error goes away. However, it still doesn't detect my Bigscreen Beyond.
This occurs due to sandboxing in both Snap and Flatpak. The only real workaround is what you discovered - to set capabilities on the binary manually outside of the sandbox. See this issue for more info on this.
As for your headset not being detected, I would personally advise creating a separate issue since it's most likely unrelated to the setcap issue. Be sure to include your Steam/SteamVR logs as well.
I had the same error behaviour and message, my headset was detected though (AMG GPU, Valve Index, Steam Client beta: yes, SteamVR beta: yes). What fixed it for me was the solution from this issue: https://github.com/flathub/com.valvesoftware.Steam/issues/1334#issuecomment-2325227332
(set SteamVR launch option to
QT_QPA_PLATFORM=xcb ~/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamVR/bin/vrmonitor.sh %command%
)
Replying to https://github.com/ValveSoftware/SteamVR-for-Linux/issues/750#issuecomment-2481576222
i have the same issue, unfortunately that didnt work for me. do you have anymore potential fixes?
Replying to https://github.com/ValveSoftware/SteamVR-for-Linux/issues/750#issuecomment-2543017290
Sorry, no. I stopped looking for fixes after I found this. Have you tried flatseal to manage permissions? I saw someone else mention it, but I didn’t try it because the launch option worked for me.
https://github.com/alvr-org/ALVR/wiki/Installing-ALVR-and-using-SteamVR-on-Linux-through-Flatpak
it needs to sudo setcap to work (which you can do manually). But SteamVR should handle this, not require the end user to do it.
https://github.com/ValveSoftware/SteamVR-for-Linux/issues/780
I've tried the valve index after months and this is the first error I've found, it doesn't detect my glasses either.
I remember the release of HL:Alyx that I was able to play although with delay problems. Then it was all problems after a SteamVr update.
Hi,
Got the same problem and figured that, in my case, it was related to Debian features :
https://steamcommunity.com/app/250820/discussions/5/3088898048355419672/#c3088898048357557217