Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_RUNTIME_DIR not set ! #6

Open
AdityaDwivediAtGit opened this issue Jul 16, 2023 · 1 comment
Open

XDG_RUNTIME_DIR not set ! #6

AdityaDwivediAtGit opened this issue Jul 16, 2023 · 1 comment

Comments

@AdityaDwivediAtGit
Copy link

AdityaDwivediAtGit commented Jul 16, 2023

Runtime error

I have installed Arch on a VirtualBox VM, and I'm trying to run Hyperland on the VM. However, I encounter the following error while running your set-hypr file:

terminate called after throwing an instance of std::runtime_error !
what()     XDG_RUNTIME_DIR not set !

image

PS: I have pressed n in above image because i have already used y before, so everything is already installed.

Solutions attempted

  1. Exporting the XDG_RUNTIME_DIR environment variable using the command export XDG_RUNTIME_DIR=/run/user/$(id -u).
  2. Installing Hyperland using sudo pacman -S hyprland.

Virtual Machine Specifications

  • 3D acceleration: Enabled
  • RAM: 4GB
  • Storage: 25GB
  • CPU: 3 cores of an Intel Core i5 8250U allocated to the VM
  • Acceleration: Nested Paging, KVM ParaVirtualization

Please let me know if any additional information is required to troubleshoot this issue further.

@RhaZenZ0
Copy link

RhaZenZ0 commented Jul 24, 2023

You can try this

XDG_RUNTIME_DIR="/tmp/runtime-${USER}"
export XDG_RUNTIME_DIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants