![]() ![]() I have uninstalled and reinstalled Debian from the MS Store. ![]() DEBUG: XServer 2: Waiting for ready signal from X server something went wrong. DEBUG: Launching process 159: /usr/bin/X :2 -seat seat0 -auth /var/run/lightdm/root/:2 -nolisten tcp vt7 -novtswitch DEBUG: XServer 2: Writing X server authority to /var/run/lightdm/root/:2 DEBUG: XServer 2: Logging to /var/log/lightdm/x-2.log DEBUG: Seat seat0: Starting local X display on VT 7 DEBUG: Seat seat0: Creating display server of type x DEBUG: Seat seat0: Creating greeter session DEBUG: Seat seat0: Loading properties from config section Seat:* WARNING: Failed to get system bus: Could not connect: No such file or directory DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ DEBUG: Loading configuration from /etc/lightdm/nf DEBUG: Loading configuration dirs from /etc/xdg/lightdm/ DEBUG: Loading configuration dirs from /usr/local/share/lightdm/ DEBUG: Loading configuration from /usr/share/lightdm//01_nf DEBUG: Loading configuration dirs from /usr/share/lightdm/ DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=155 DEBUG: Logging to /var/log/lightdm/lightdm.log I was reasonably sure that the problem was with the lightdm. I installed the TightVCN Viewer, which connect, but only gives me a black screen. Vncext: Listening for VNC connections on all interface(s), port 5900 Underlying X server release 12010000, The X.Org Foundation ĭec 02 11:41:28 DESKTOP-AMVKD7B-wsl /usr/bin/Xorg: Starting Xvnc: /usr/bin/Xvnc -geometry 1024x768 -PasswordFile /root/.vnc/passwd :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp sudo cat x-0.logįailed to create stream fd: No such file or directoryĬopyright (C) 1999-2020 TigerVNC Team and many others (see README.rst) 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. |