Cannot connect to X server
Trying to run the server from source using
cargo run -- -f
and it's erroring out with this error. I'm running this from within Niri so I assumed it'd latch onto the wayland session. Does it need to run from inside X or the tty?
Full output:
5 Replies
if you don't have a headset connected then you need an x server
you can use https://github.com/supreeeme/xwayland-satellite for niri
oh I see. My headset has a driver in openXR but I think I need to toggle some flags first on it. I'll try that. Wouls running in gamescope or cage be close enough to running an x server?
Out of curiousity, why the need for an x server instead of wayland?
that should do it!
because i don't wanna deal with the wayland c api and add it to stereokit
adding x support was hard enough
Cool I'll try it out this weekend if I have the brain power
That's fair. And in the headset case it's just openxr and direct rendering?
yep
uses EGL and monado uses vulkan + KMS so no xorg is involved at all