Skip to main content

Running Hyprland in Virtualbox

·1 min

Settings from Youtube1

VirtualBox Settings #

Enable 3D Acceleration

Archinstall Settings #

install virtualbox-guest-utils-nox

/etc/sddm.conf.d/wayland.conf #

sudo mkdir -p /etc/sddm.conf.d
cp /usr/lib/sddm/sddm.conf.d/default.conf /etc/sddm.conf.d/wayland.conf
sudo vim /etc/sddm.conf.d/wayland.conf
[General]
DisplayServer=wayland

[Users]
ReuseSession=false

/usr/share/sddm/scripts/wayland-session #

Video uses XDG_CURRENT_DESKTOPS=wayland but I think it should be Hyprland according to Hyprland Wiki2

export XDG_CURRENT_DESKTOP=Hyprland
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=Hyprland
export WLR_NO_HARDWARE_CURSORS=1
export WLR_RENDERER_ALLOW_SOFTWARE=1

~/.config/hypr/hyprland.conf #

monitor=Virtual-1,1920x1080@60,auto,auto