How to install a desktop environment on Windows Subsystem for Linux (WSL with GUI)

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 93

  • @Enum_Dev
    @Enum_Dev 6 місяців тому +64

    My left ear loved this!

  • @EnricoFermi703
    @EnricoFermi703 27 днів тому +6

    Thank you so much. The best and easiest tutorial on how to add a GUI to WSL.

    • @absprog
      @absprog  26 днів тому

      Thank you for your feedback🙏

  • @NOTONtechsx
    @NOTONtechsx 6 місяців тому +35

    The audio is only from the left speakers...

    • @absprog
      @absprog  6 місяців тому +9

      Thank you for the feedback. The issue will be corrected in the upcoming videos. Apologies for any inconvenience.

    • @schweeeeeeeeeeeeeeee
      @schweeeeeeeeeeeeeeee 6 місяців тому +4

      reupload the video with fixed audio this is awfull with headphones@@absprog

    • @nyashachiroro2531
      @nyashachiroro2531 6 місяців тому +5

      ​@@schweeeeeeeeeeeeeeee Entitled much 😂 You're funny

    • @Spiderfffun
      @Spiderfffun 6 місяців тому

      @@nyashachiroro2531 are you actually joking?
      if you got headphones you literally cant listen to this without dying

    • @nyashachiroro2531
      @nyashachiroro2531 6 місяців тому +3

      @@Spiderfffun He heard your feedback. Telling him to record another video is a bit dramatic. Deal with it. Jesus. It's not like you're paying him to make that video. This is free content. He'll improve over time. You think he's just sitting around waiting making free videos for you.

  • @alpsnduds
    @alpsnduds 4 місяці тому +12

    the part where you get the IP address and put into remote desktop comes back with an error. and won't let me connect. says this IP address is not connected?

  • @graybooked
    @graybooked 8 днів тому +1

    Doesn't work on latest install of Windows on fresh hardware. Auto-closes upon entering correct credentials in Remote Connection.

  • @Faheem_M_2010
    @Faheem_M_2010 Місяць тому +3

    When i give the correct username and passoword it just disconnects pls help me fix

  • @CZghost
    @CZghost 6 місяців тому +4

    Temporary fix on Windows: Go to Settings -> System -> Sound -> Mono sound ON. Don't forget to put it back after watching. Enjoy.

  • @AmazingLube
    @AmazingLube 9 днів тому

    1) You have to create a different user using the adduser command to log in. If you try to log in with the user you created at the start, it will terminate the RDP session immediately.
    2) I noticed it is running insanely slow. Like opening the settings menu takes 2 minutes. I tried setting all WSL related tasks in the Windows task manager to the highest priority but even that doesn't do anything. At most it uses 3% of my CPU. Download speeds are also slowed by a lot when I tried to download a file.
    You're better off running a VM with Virtualbox or even Hyper-V and connecting to that via RDP

  • @melvino88
    @melvino88 6 місяців тому +5

    The remote desktop connection cant connect it says 1) Remot access to the server is not enabled 2) The remote computer is turned off 3) The remote is not available on the network

    • @mudasirdurrani1831
      @mudasirdurrani1831 5 місяців тому +3

      run this command
      sudo /etc/init.d/xrdp start

    • @drissdriss5567
      @drissdriss5567 5 місяців тому

      @@mudasirdurrani1831 no such file or directory

    • @panaskw
      @panaskw 2 місяці тому

      @@mudasirdurrani1831 thank you so much!

    • @bernardthooft8329
      @bernardthooft8329 2 місяці тому +1

      @@mudasirdurrani1831 still same error.

    • @faundrapratama2036
      @faundrapratama2036 2 місяці тому

      @@mudasirdurrani1831 thank you so much it works

  • @qwertio4626
    @qwertio4626 5 місяців тому +7

    does'nt work, remote desktop suddenly close after username and password login

    • @cyclic8090
      @cyclic8090 4 місяці тому

      same, you got any fix?

    • @qwertio4626
      @qwertio4626 4 місяці тому

      ​@@cyclic8090i use vm 😂

    • @cyclic8090
      @cyclic8090 4 місяці тому +1

      @@qwertio4626 best fix 😂😂😂

    • @pennti
      @pennti 4 місяці тому

      same

    • @user-qr4jf4tv2x
      @user-qr4jf4tv2x 3 місяці тому

      Use Xvnc instead of xorg during 4:13

  • @bagas1626
    @bagas1626 2 місяці тому

    now this is what I've been looking for

    • @absprog
      @absprog  2 місяці тому

      I'm glad that it was helpful to you

  • @_lun4r_
    @_lun4r_ 6 місяців тому +2

    Very nice, but unfortunately it isn’t running via WSLg but you have to use Remote Desktop Connection to get in

  • @gogu792
    @gogu792 Місяць тому +1

    xrdp not working (im on debian)

  • @JuanHoya
    @JuanHoya 6 місяців тому

    Great tutorial...nicely done!

    • @absprog
      @absprog  6 місяців тому

      I am glad you found this helpful👍

  • @matthewmagadza3919
    @matthewmagadza3919 Місяць тому +2

    It immediately closes when I try

  • @vladislavkaras491
    @vladislavkaras491 2 місяці тому

    Great guide, thank you!

    • @absprog
      @absprog  2 місяці тому +1

      Thank you for your feedback!

  • @pennti
    @pennti 4 місяці тому +2

    After I try to login in it directly closes the window.

  • @cakedudeisacake
    @cakedudeisacake Місяць тому +4

    why is the windows closing when i type my password and username on the xorg page?

    • @TheSynan
      @TheSynan 27 днів тому +1

      You need to add a new user. It won't let you remote into a session using the same user you're already logged into so it just closes the window.

    • @jakubfajtl9932
      @jakubfajtl9932 6 днів тому

      @@TheSynan Holy it worked, thank you so much

  • @applesoda77
    @applesoda77 6 місяців тому +2

    Yoo it works thank you so much ❤

    • @absprog
      @absprog  6 місяців тому

      Glad to hear that!👍

  • @markhammon4112
    @markhammon4112 6 місяців тому +2

    Hi maybe you can help me? I have specific question. How to share folder which is located on second drive in the PC on Primary drive I have installed Ubuntu and I would like to have it accessible to Windows 10 pcs over network. Every single guide is across youtube is about sharing folder located on Primary drive. Is that type of sharing which I would like to do is impossible?

    • @Jalan-Api
      @Jalan-Api 2 місяці тому

      Open windows explorer, scroll down the sidebar and there should be a linux section. Expand it and you will see your ubuntu distribution, open it and all your files are there. Using that, you can transfer data

    • @markhammon4112
      @markhammon4112 2 місяці тому

      @@Jalan-Api Thank you

    • @Jalan-Api
      @Jalan-Api 2 місяці тому

      @@markhammon4112 No problem. Any other problems you are facing?

    • @markhammon4112
      @markhammon4112 2 місяці тому

      @@Jalan-Api Yes but this is about nextcloud. I cannot access it from other PC after domain name in local network even i have setup domain name in trusted domain configuration file. Actually i cannot access even after IP address. Just displying standard info page that you need to go config file and configure it.

    • @Jalan-Api
      @Jalan-Api 2 місяці тому

      @@markhammon4112 Oh I am sorry. I can not help with that as I dont know much about it. Maybe chatgpt will be able to help

  • @KennyBentley7
    @KennyBentley7 5 місяців тому

    I only hear audio on the left channel, but great explanation and video.

    • @absprog
      @absprog  5 місяців тому +1

      Thank you for the feedback. The issue will be corrected in the upcoming videos. Apologies for any inconvenience.

  • @simonw.2206
    @simonw.2206 Місяць тому

    All good up to the Remote Desktop Connection which fails to connect. Can anyone advise a possible fix?

  • @ferluisch
    @ferluisch 20 днів тому

    I made this but I have no internet on the subsystem :(

  • @HermesFibonacci
    @HermesFibonacci Місяць тому

    I don't know what username and password to use. I never created a new user in Ubuntu wsl cli

  • @janernstd9842
    @janernstd9842 Місяць тому +1

    I got it working. why is it so slow?

  • @user-ki3rz3xo8h
    @user-ki3rz3xo8h 2 місяці тому +1

    it doesn't work

  • @walkingbearh5912
    @walkingbearh5912 2 місяці тому

    Wont connect to xorg. Says password wrong. For display. I know its the right password or i never would of got this far

  • @dre_purba
    @dre_purba Місяць тому

    Does anyone know why the display locked in 50Hz ?...

  • @NyanCoder
    @NyanCoder 6 місяців тому

    But I'd warn other fellow devs that wsl2 session is under the nat, so you probably will need vpn to easier connect from lets say phone in the same network as your pc (probably connected to wifi of router that your pc is connected to) to an app running in wsl2

  • @KairinKade
    @KairinKade 2 місяці тому

    xrdp says invalid operation install

  • @plutorocks1
    @plutorocks1 6 місяців тому

    How do you connect to wayland using rdp?

  • @danielradosa
    @danielradosa 4 місяці тому

    how do i get login details for my wsl2 ? i dont remember actually creating a accont

  • @cyclic8090
    @cyclic8090 4 місяці тому

    if i have laptop do I need to select laptop task too in end ? at 02:44

  • @IceBear-s1p
    @IceBear-s1p 28 днів тому

    Thank you 3000

  • @tokosotomimo14
    @tokosotomimo14 6 місяців тому +5

    does not work

    • @abbypatacsil1177
      @abbypatacsil1177 3 місяці тому +1

      Mine too.
      My ip doesent work for some reason

    • @bernardthooft8329
      @bernardthooft8329 2 місяці тому

      @@abbypatacsil1177 same here. No connection.

  • @petercosta1883
    @petercosta1883 6 місяців тому +1

    Someone could install Gnome? I failed miserably trying to install it xD

  • @lenhattruong1948
    @lenhattruong1948 2 місяці тому

    how about arch linux

  • @monisrajput8056
    @monisrajput8056 6 місяців тому

    Can you install hyprland on it

  • @synoim
    @synoim 4 місяці тому +1

    HAD to turn on mono audio for ts vid 🔥🔥🔥🔥

    • @absprog
      @absprog  3 місяці тому

      The audio in this video is mono, but this has been fixed for all my new content. I apologize for any inconvenience.

  • @El5eta
    @El5eta 2 місяці тому

    hyprland? 👀

  • @nordlyssrlys6945
    @nordlyssrlys6945 2 місяці тому

    I thought I had problem with my right ear so I was hearing more with my left year

  • @TheD3adlysin
    @TheD3adlysin 6 місяців тому

    Ok now do Hyprland + Wayland(not xwayland)

  • @BaconYedda
    @BaconYedda 2 дні тому

    7506 Deron Unions

  • @PragandSens
    @PragandSens 6 місяців тому +1

    my right ear is sad :c