Hyprland: Cannot start Hyprland in VM

Outside of root it gives the error: Couldn't query the DRM FD! terminate called after throwing an instance of 'std::runtime_error' what(): wlr_backend_get_drm_fd() failed! Aborted (core dumped) while in root I get terminate called after throwing an instance of 'std::runtime_error' what(): XDG_RUNTIME_DIR is not set! Aborted (core dumped).

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 32 (7 by maintainers)

Most upvoted comments

of course it is.

As I’ve repeated 20 times, this entire issue is arising because you’re using arch without knowing how to use arch. Or any other babrebones distro, for that matter. I can guarantee you that if you’d set up an Endeavour / Manjaro / etc VM it would magically work.

Trying to turn on 3D acceleration, I turned on 3D acceleration in VBox and successfully got into Hyprland.

example

I’ve had similar errors before, I found references here .

Hope that helps.

it does not. what the hell are you on? It’s a public repo…

arch? I’m on OpenSUSE, I just followed the official Hyprland install manual which recommended I use OpenSUSE which luckily enough I am on.

where do we recommend any distro? image

I was opposing adding OpenSUSE to this list precisely because of that. No one from the hyprwm team uses SUSE, but the Suse contributor insisted.

Nobody here is able to provide any Suse support, we’ve never used it.

Hyprland works fine in a VM, provided you pass the software rendering flag and have everything config’d properly.

I don’t know why you assumed I was on arch.

because 99% of our users are either Arch or Nix

I see, I’m sorry for causing you any trouble. I’ll be trying out with manjaro now and closing this issue

If anyone is reading this and trying it figure out their issue, sorry you’ve come to the wrong thread. Have luck figuring it out :d

Running sway just gives this: afbeelding This beautiful gray screen comes bundles with all these errors afbeelding