Archlabs does not work on gnome-boxes

Hello, I have just installed archlabs on a VM using gnome-boxes without success. Every time I boot the VM, it throws me this error:

I installed archlabs with the default kernel, grub, zsh, bspwm, alacrity, and neovim. I do not know what to do.

Try,

$sudo chmod u+s /usr/bin/xinit

Thank you for your answer, but it did not work.

Did you check the log file that’s referenced with the error message?

1 Like

Applying the setuid bit to xinit is neither necessary nor advisable.

@daemonium should revert that change:

chmod u-s /usr/bin/xinit

And try installing the QXL drivers and SPICE client:

pacman -S xf86-video-qxl spice-vdagent

Yes, this is the log file:

I tried this solution with no luck.

Are there any files under /etc/X11/xorg.conf.d/?

If so then try (re)moving them.

Done; the problem persists.

Still looks like a permission issue. What groups is that user in?

$groups

Create /etc/X11/Xorg.wrap and put the following line in, try to restart X

needs_root_rights = yes

No, it’s a problem with the QXL drivers.

@daemonium you can get X started by resorting to the modesetting DDX driver instead:

sudo tee /etc/X11/xorg.conf.d/modesetting.conf <<!
Section "Device"
   Identifier "Video Card"
   Driver "modesetting"
EndSection
!

Then log out & back in again.

The performance won’t be as good as with the QXL drivers but I’ve just tested this method and it works.

1 Like

What you’re trying is to persuade somebody who wants to use Nvidia driver to use Nouveau instead. :smile:

The modesetting driver isn’t that bad, the ArchWiki actually recommends it for Intel cards. I think this is an upstream bug with QEMU & QXL, I’m trying to reproduce this in a pure Arch system now.

Thank you very much, this works. I don’t mind performance, I just want to play with window managers and terminals.

I’m almost certain that it’s not something related to AL itself.

1 Like

Confirmed, I also see this with a fresh Arch installation (even with the LTS kernel).