![]() Journal begins at Thu 11:41:28 EST, ends at Thu 11:51:28 EST. So I turned to the troubleshooting journalctl -b -t /usr/libexec/gdm-x-session -t /usr/bin/Xorg -no-pager ** (lightdm:155): WARNING **: 15:17:16.462: Failed to get system bus: Could not connect: No such file or directory I've gotten to the "Accessing the VNC Screen" and can't seem to get any further. I followed the steps in the setup without any warnings or errors, but now I'm stumped. I have Debian with the Xfce4 Desktop installed with WSL2on my Windows 10 Laptop. Thanks to this guys, whose feedback made this tutorial reach the current level of quality and completeness (and it will be more and more complete as more feedback is given). Sudo chmod a+r /etc/apt//wsl-transdebian.gpgĪfter that, open your distro shell again and repeat the steps of section Running systemd-genie. Sudo wget -O /etc/apt//wsl-transdebian.gpg For other distros, you must check how to get the appropriate package for your system): sudo apt install apt-transport-https As of April 6th, 2021, these following commands are needed to install it (and I only guarantee they will work Ubuntu and Debian. This is necessary to run GDM (GNOME Display Manager) and LightDM properly, giving the user a full graphic interface experience, with login and everything. Now we will install systemd-genie, which is responsible for turning the minimalist WSL into a more complete Linux instance, with systemd and other related stuff. If you are using Debian, the commands are almost the same: wget -O b Here are the commands to install dotnet-runtime-5.0 on Ubuntu 20.04 LTS (Focal Fossa): wget -O b Systemd-genie requires dotnet-runtime, but it ins't installed automatically. Pretty easy, one command and you are done: sudo apt install tigervnc-standalone-server The installation will take a while, so be patient. Use spacebar to select the package, and Tab to confirm your choice. ![]() sudo taskselĪt the package list, select your favorite GUI package. Ubuntu has a handy component installer called tasksel, but it's not installed by default. If you are trying to use Debian, you also will need: sudo apt install curl wget First, we need a working WSL2 installation.īefore going to real business, let's make sure we are updated. Check the Sample screenshots section for examples. Since the key components aren't bound to Ubuntu or GNOME, you can use your favorite distro and GUI. The key components we need to install are tigervnc-standalone-server and systemd-genie.įor this setup, I will use Ubuntu 20.04 LTS (Focal Fossa), and install GNOME Desktop. No additional software outside WSL (like VcXsrv) is required, except, of course, a VNC Viewer ( RealVNC, TightVNC, TigerVNC, UVNC, etc, all of them might work flawlessly). ![]() In this tutorial, we will setup GUI in WSL2, and access it using VNC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |