I need help running the Windows Subsystem for Linux


  1. Posts : 133
    Windows 10 & Ubuntu Studio
       #1

    I need help running the Windows Subsystem for Linux


    I followed these instructions: "How to Run a Linux Desktop Using the Windows Subsystem for Linux".
    But instead of installing the LXDE environment I chose Gnome. Other than that I did exactly as instructed.

    So towards the end of the page after running XLaunch, I am supposed to enter this command "startlxde", assuming I installed the LXDE environment. So what am I supposed to enter if I installed Gnome? startgnome did not work.

    Thanks guys

    DPC

    - - - Updated - - -

    Update:

    I gave up on Gnome, for now.
    I uninstalled it and installed LXDE, to stick to the instructions.
    It worked.
    But...
    I don't think I have access to the internet though


    Also, I cannot run Software. It says:
    "Sorry, something went wrong: Failed to connect to system D-Bus: Could not connect: No such file or directory"

    Advanced Network Configuration in menu://applications/Preferences won't run.
    This is what I got when running "ifconfig" to check the network connectivity:
    Code:
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 1500
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0xfe<compat,link,site,host>
            loop  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wifi0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.2.38  netmask 255.255.255.0  broadcast 192.168.2.255
            inet6 fe80::7d47:8a6d:593f:fc28  prefixlen 64  scopeid 0xfd<compat,link,site,host>
            ether 94:e7:0b:51:8a:d8  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    I haven't touched the Firewall, maybe that's the problem. I just don't know exactly which apps to let through nor how exactly.


    This is the summary of the steps I followed before:



      1. Start by clicking Start and entering "turn windows". The Turn Windows Features on or off item should be displayed. Then scroll down to Windows Subsystem for Linux.




      1. Restart Windows.
      2. Open the Windows Store, search for Linux, and install Ubuntu.
      3. Once complete, click Launch from within the Windows Store or open it from the Start menu.
        On the first run, you'll be prompted to input a username and password to create a user account.
      4. Run these commands
        sudo apt update
        sudo apt upgrade
      5. While this upgrade is running, head to Sourceforge to download and install the VcXsrv Windows X Server utility.
      6. Install the Linux desktop. Many Linux desktop environments are available but to keep things simple we'll install LXDE:
        sudo apt install lxde
      7. Following installation of LXDE, input these commands:

      export DISPLAY=:0
      export LIBGL_ALWAYS_INDIRECT=1


      1. Open the Xlaunch tool, and choose One large window, and Display number: 0
      2. Click Next on the following pages until the end.
      3. Start the LXDE desktop environment
        startlxde



      Steps to start Ubuntu / LXDE every time.


      1. Open Ubuntu
      2. Enter these commands:
        export DISPLAY=:0
        export LIBGL_ALWAYS_INDIRECT=1
      3. Open the Xlaunch tool, and choose One large window, and Display number: 0
        Click Next on the following pages until the end.
      4. Start the LXDE desktop environment
        startlxde


      Note that it is not possible to damage Windows 10 using the Linux environment. Any commands you input will damage only the Windows Subsystem for Linux and the chosen operating system. Windows 10 will remain safe and secure.

      Sources

      1. How to Get the Linux Bash Shell on Windows 10
      2. How to Run a Linux Desktop Using the Windows Subsystem for Linux
      3. 5 Linux Distros You Can Install in Windows Subsystem for Linux
    Last edited by drpeppercan; 07 Mar 2021 at 11:29.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:16.
Find Us




Windows 10 Forums