I am using Debian for long time and really like it for stability. Recently I wondered if it is possible to run Arch Linux from chroot. I want to run full Wayland session from Arch. I found Archbox project and it is worked for me, but I couldn’t start any Wayland compositor from tty (Error: can’t connect to Wayland socket . ). How can I properly do this? Or maybe there is a better way than chroot?

  • user_naa@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    If you’re using an Intel chip look into GVT-g and consider running Arch from a VM, that’ll be the closest thing to native.

    I want to start clear Arch Wayland session on one my ttys and want to Arch have full direct hardware access.

    The unfortunate thing about running an Arch container from a Debian host is that you’re relying on an older kernel

    I use latest Linux-libre on my Debian machine and everything works well.

    If you are very, very lucky Arch will just work inside the container, but IME that’s fairly rare as systemd often has breaking changes over several releases (and Arch tends to be at least several releases ahead of Debian.)

    As I mentioned earlier I tried running Archbox. It is basically script to easy set up chroot. The main problem was that compositor couldn’t connect to Wayland socket.