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
[TUTORIAL] WSL2 + DISTROD + FULL SYSTEMD + GUI DESKTOP #64
Comments
mgood7123
changed the title
DISTROD + FULL SYSTEMD + GUI DESKTOP
WSL2 + DISTROD + FULL SYSTEMD + GUI DESKTOP
Jul 15, 2022
mgood7123
changed the title
WSL2 + DISTROD + FULL SYSTEMD + GUI DESKTOP
[TUTORIAL] WSL2 + DISTROD + FULL SYSTEMD + GUI DESKTOP
Jul 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/mgood7123/cb1669169d67218a8518a42e6c585241
COPY
first install distrod
select archlinux
install it
systemd is not fully working yet, lets fix that
next create
/etc/wsl.conf
with the contentsnext edit
/etc/profile.d/distrod-user-wsl-envs.sh
to look like the followingreplace
archlinux
with your username, this will spawn/run/user/ID
and the[email protected]
, enablingsystemctl --user
commandsnext exit wsl
then in terminal
now we have systemd working, lets get xorg working
wsl xorg requires a headerless xorg setup
install xorg
create
/etc/X11/xorg.conf.d/10-headless.conf
with the following contentnext, allow X11 to start as normal user
sudo bash -c "echo allowed_users = anybody > /etc/X11/Xwrapper.config"
next, create
~/.xinitrc
with the following contentsnext, install yay, xrpc, and xorgxrdp
next, open ~/.bashrc and add the following
next, we install the plasma desktop
next, start xrdp
take note of the port number, refer to it as $PORT
and now start X11
next, open a new terminal and login with your LINUX username and password
replace $PORT with the number from earlier
The text was updated successfully, but these errors were encountered: