Closed IamMarcIvanov closed 2 years ago
I did systemctl reboot. I got the following error:
Hangup
That's because you rebooted the WSL instance. WSL2 is a VM, so rebooting it reboots the VM, and you lose the connection with the session you were in. However, the error message has room for improvement, which seemed to have confused you.
BTW, rebooting a VM indeed works, but I guess that's not how WSL expects users to do.
Other parts related to running a full desktop environment in WSL2 are not related to Distrod. So, I may close this issue in a while.
Running lightdm on WSL2, whether systemd is running or not, is not the kind of thing that can be done by following the Arch wiki's instructions for desktop PCs, you know. It's technically possible, but you'll need to find existing documentation first or need to be familiar with wayland and other login mechanisms.
Closing this.
I installed ArchLinux using Distrod. I have enabled it upon being given a prompt. I install
xorg-server
andxorg-xinit
. I installedlightdm
andlightdm-gtk-greeter
and enabled it usingsystemctl enable lightdm
. I also installed qtile usingpacman -S qtile
. After that, to start lightdm at startup, I didsystemctl reboot
. I got the following error:I then tried to start x server manually by doing
startx
which gave the following error: Xorg.1.logI had also install alacritty terminal emulator and when I ran
alacritty
, it worked fine and a terminal instance spawned.I also tried starting qtile directly by running
qtile start
but got the errormeaning that Weston WM (which I guess wsl is built on) was already running
I am on windows build 22504.1010