Install WSL2 with GUI and RDP (Super easy!)

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

КОМЕНТАРІ •

  • @gertraud.
    @gertraud. 2 роки тому +4

    Thanks, worked like a gem (when other guides failed). Appreciate it!

  • @JarosawPietras
    @JarosawPietras 8 місяців тому +8

    after "sudo systemctl restart xrdp" apply change port, but immediately close window after login to Xorg. :(

    • @aasasq1
      @aasasq1 7 місяців тому +3

      same thing, did you find fix?

    • @许鑫驰
      @许鑫驰 4 місяці тому

      @@aasasq1 Mine same.Have you found solution?

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

      @@许鑫驰 make another user, dont use root one.

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

      2 possible problems
      1. you didn't change the port to 3390, 3389 doesn't work out of the box
      2. you forgot to install xfce4

  • @malayali_thaaram
    @malayali_thaaram Рік тому +2

    Short, Simple & works. Thank you!!!

  • @Med2402
    @Med2402 5 місяців тому +2

    Problem
    Unable to contact settings server Failed to execute child process "dbus-launch" (No such file or directory)
    Solution
    sudo apt install dbus-x11
    thank you

  • @joshuahammerii7329
    @joshuahammerii7329 9 місяців тому +1

    With my current set up after following your guide, I can't RDP to Ubuntu using the same user I created during the initial Ubuntu WSL Install. After I created a new user with "sudo adduser {Username}" I was able to RDP no issue with said new user. However in your video it appears you use the same user for your Ubuntu install and the RDP session, any ideas?

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

    The installation was OK, but the last point don't work. I mean the Remote Desktop is working but the login failed. The error notification is: Failed to execute child process "dbus-launch" (no such file or directory).

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

      sudo apt-get install dbus-x11

  • @mattn_kk
    @mattn_kk Рік тому +1

    Hello, I am getting this error ' sudo apt install -y xrdp
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package xrdp
    What could be a way around it?

    • @yassine.miled08
      @yassine.miled08 18 днів тому

      sudo apt update -y && sudo apt upgrade -y

    • @mattn_kk
      @mattn_kk 18 днів тому

      @yassine.miled08 Thanks for the reply

  • @guilpter
    @guilpter 10 місяців тому

    it works for me as well, but the terminal does not open inside the RDP, could someone please help

  • @prajwaltalwekar6152
    @prajwaltalwekar6152 Рік тому

    superb, what a hack! worked like magic

  • @rohitptnk03
    @rohitptnk03 Рік тому +3

    After login I am getting a blank screen

  • @ganesh6095
    @ganesh6095 2 роки тому +3

    Is it possible to run other environment like gnome of KDE.

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

      I'm pretty sure it is, but you have to install them, obviously.

  • @daviddrumm3673
    @daviddrumm3673 Рік тому +1

    Might I suggest you edit files with nano instead of trying to impress all of us with your extensive knowledge of the SED command. That way if you make a typo you can at least find your mistake, since you can see what the file should look like. That said, "Your solution to getting a GUI display it GREAT though."

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

    Great tutorial but not working for me. When I start xrdp, it told me this : "Starting xrdp (via systemctl): xrdp.service." and not the remote protocol. Could you help me, because your solution is really good and easy ;) Thx

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

      I am getting similar message. Did you resolve this?

  • @lucoa460
    @lucoa460 Рік тому +1

    it dont work, it quits the remote desktop connection im on win11 2h22

    • @jessederinger
      @jessederinger Рік тому

      but ill let you know if i find the exact problem and fix it... if you could do the same for me as well....

    • @kamranshaikh891
      @kamranshaikh891 11 місяців тому

      i am also facing the same problem

  • @vincei4252
    @vincei4252 2 роки тому

    Thanks man. Would be interesting to see whether if you have Nvidia hardware whether the CUDA code in the ubuntu VM will work properly. That'll be an interesting rabbit hole to go down.

  • @ericomeli2235
    @ericomeli2235 2 роки тому

    at 2:46 , what is that last character after xfce... there is something at the end but you do not say it. is it a 4? I got an error when trying that line

  • @ManojKumarSamal-n6f
    @ManojKumarSamal-n6f Місяць тому

    whats the password
    it even did not ask the password to create what should i give to login

  • @kidoflp
    @kidoflp 2 роки тому +2

    if possibel, could you please make a video on how to install and run QEMU on Windows 11 through WSL !

    • @infosecabdul
      @infosecabdul  2 роки тому +1

      hey! id love to try to but looking at a similar install on a regular linux os, from this video ua-cam.com/video/ozYKkaVK0_A/v-deo.html . Not sure how it will go with wsl since this takes advantage of virtualization. but on the other hand wsl2 features include a full linux virtual machine with a kernel. so it would kinda be like using a vm to create vm's? at that point mabye just install a windows version . not a wsl version . Hope that helps. thanks for watching too !

    • @kidoflp
      @kidoflp 2 роки тому

      ​@@infosecabdul Many thanks for the reply. I checked the shared video before. On that note, if possible can you make a video on safety/security of the wsl2 Linux virtual machine specially on topic of opening an unknown/risky file on that Linux OS or uninstalling and reinstalling that wsl2 Linux virtual OS process. Probably will answer lots of questions of someone like me who has casual knowledge of Linux. Thanks :)

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

    I managed to get a full Ubuntu desktop with gnome instead of xfce it's smoother with the snap store and familiar taskbar

  • @ronm6585
    @ronm6585 Рік тому

    Great info, thank you.

  • @wbahia2
    @wbahia2 Рік тому

    thx man, work like a charm

  • @abhijitghoshcoding
    @abhijitghoshcoding 2 роки тому

    Excellent brother...awesome👍👍👍

  • @JamsMendez
    @JamsMendez 2 роки тому +1

    It is possible to install the official desktop to ubuntu 20.04?

    • @infosecabdul
      @infosecabdul  2 роки тому +2

      Are you referring to the desktop environment Ubuntu uses instead of xfce? I haven’t tried . The difference to get that working in this install is Vnc would need to load GNOME instead of xfce

    • @indrasismitra6484
      @indrasismitra6484 Рік тому +1

      @@infosecabdul Please do a video for desktop environment Ubuntu uses, i.e. Gnome

  • @LoganStargazer
    @LoganStargazer 2 роки тому

    Fine, it's super easy, but is it barely an inconvenience as well?

  • @shinjansaha240
    @shinjansaha240 Рік тому

    can we rice up this desktop

  • @AshwinSKumar
    @AshwinSKumar Рік тому

    Can you run Adobe with this?

  • @jeremyolu2787
    @jeremyolu2787 Рік тому

    logs in then logs straight back out?

    • @dankkster
      @dankkster Рік тому

      you have to be logged out of the OS. You probably have it open in a terminal somewhere

  • @jxm8944
    @jxm8944 7 місяців тому

    ~$ sudo /etc/init.d/xrdp start
    Failed to reload daemon: Transport endpoint is not connected. Why? Appreciate it!

  • @ericchen4970
    @ericchen4970 2 роки тому

    Thank you so much!!!!!

  • @He-Is-One-and-Only
    @He-Is-One-and-Only 2 роки тому

    Excellent 👍🏻👍🏻

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

    Thanks,

  • @feramuzalacal8998
    @feramuzalacal8998 2 роки тому

    Pulse audio doesnt run

  • @melihselamiurkmez2858
    @melihselamiurkmez2858 2 роки тому

    Thx Bro!

  • @jasonchu852
    @jasonchu852 2 роки тому

    useful !

  • @IndieGamerHub
    @IndieGamerHub 2 роки тому +1

    subscribe you from ❤❤ #81th subscriber

  • @littleghoost
    @littleghoost Рік тому +2

    My screen just stays blue, the graphical environment doesn't appear