Install Desktop GUI for WSL | WSL Enable Desktop Guide

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 234

  • @TroubleChute
    @TroubleChute  2 года назад +84

    ** Install xrdp as well! Use the following command:
    sudo apt install -y xrdp xfce4 xfce4-goodies

    • @AreTwo2
      @AreTwo2 Год назад

      I have :-) so what is xrdp

    • @DamLins45594
      @DamLins45594 Год назад +2

      Responce said: xfce4 is already the newest version (4.16).
      xfce4-goodies is already the newest version (4.14.0).
      xrdp is already the newest version (0.9.12-1.1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    • @DamLins45594
      @DamLins45594 Год назад +1

      @@AreTwo2 Remote Desktop Prototop Server

    • @Isaacmats1
      @Isaacmats1 Год назад +4

      Hi, the RDP localhost:3390 didn't work. localhost:3398 did opened the server page but login didn't work (username & password was correct though) could you please comment on this? many thanks mate!

    • @mateusgontijo3802
      @mateusgontijo3802 Год назад

      @@Isaacmats1 need to

  • @jessederinger
    @jessederinger Год назад +160

    WARNING for anyone just watching this. ALOT of people are having trouble with this method. And although there are usually ways to resolve them, the questions aren’t being answered in the comments. Not to hate on this guy this is a great guide just doesn’t include any troubleshooting details..
    ! if your reading this please like it so it’s seen by more people!
    I almost got it but I’m the remote when the gui login comes up, soon as I log in everything crashes. And I have yet to find a solution.

    • @techkenya2
      @techkenya2 Год назад +2

      Same, I even uninstalled WSL and started all over again

    • @W1L7_
      @W1L7_ 10 месяцев назад +1

      Any luck?

    • @n4bi10p
      @n4bi10p 10 месяцев назад

      same

    • @artemzakharov8961
      @artemzakharov8961 8 месяцев назад

      same

    • @goldboolean6819
      @goldboolean6819 8 месяцев назад +8

      TroubleChute doesnt troubleshoot?? Outrageous!

  • @surrebral
    @surrebral Год назад +75

    You are able to convey in 7.5 minutes what hundreds of others stretch out to a half hour! Great vid!

  • @shrinivasiyengar5799
    @shrinivasiyengar5799 10 месяцев назад +17

    It seems a lot of people have the same problem: every step seems to work fine, but finally logging into the WSL through the RDP seems to fail.

  • @response2u
    @response2u 8 месяцев назад +1

    This guy just saved my life! I was about to take a painkiller for the terrible headache I got following others' instructions!

  • @wuffletuff
    @wuffletuff Год назад +60

    If you have trouble connecting via remote desktop, the article in the comments has a typo which does not update the port correctly:
    Try the command:
    sudo sed -i 's/3398/3390/g' /etc/xrdp/xrdp.ini
    At 5:04, the video has an error trying to replace 3389 (not 3398) with 3390.
    Try the provided command in this comment and rerun the start command:

  • @LastCrossroads
    @LastCrossroads Год назад +1

    I wish I had read the article first before deciding on trying to installing gnome. Thanks for the great work!

  • @nukestrom5719
    @nukestrom5719 9 месяцев назад

    Wonderful. After wasting so much time with other videos, this is the only solution I found that actually worked. Thanks a lot

  • @BobSmith-gh5wj
    @BobSmith-gh5wj Год назад +7

    Great video - worked on my pc like a charm following your steps - Cheers!!

    • @last.journey
      @last.journey Год назад +1

      how do i know which port to connect to the server
      it did start and give me this massge * Starting slim slim [ OK ]
      but when i connect on the remote desktop it does not work

    • @justrosy2635
      @justrosy2635 Год назад

      I'd take one of those stretched out videos, because I clearly missed something somewhere along the way. I posted my question about it under TroubleChoot's pinned comment.

  • @shyayetgani-ikilama500
    @shyayetgani-ikilama500 Год назад +1

    Very much appreciate this. Kept hyaving all sorts of issues and the articles weren't helping. Finally decided to just check youtube

  • @shaman4874
    @shaman4874 10 месяцев назад +6

    everything works fine except that after login in the remote connection, the screen is blank. just black screen with the blue bar above for closing, minimize, and pin and localhost name

    • @tomdeu79
      @tomdeu79 7 месяцев назад

      you have to add a new user and use not the sudo one on the login screen!

  • @sumit5294
    @sumit5294 9 месяцев назад

    May the YT algo bless you keep making such content

  • @itstoufik8410
    @itstoufik8410 Год назад

    I've been struggling with the DNS problem for a day. And then I found this. Thank you so much man

  • @BlackAnt02
    @BlackAnt02 Год назад +12

    How did you get the GUI at 2:41 mine only shows a terminal design

    • @KurdiKebord
      @KurdiKebord Год назад +1

      Same to me it's only shows a f****ing terminal -_-

  • @linkenparis9562
    @linkenparis9562 Год назад +6

    why does my ubuntu version from the windows store doesn't open a gui to install it, but a regular console prompt ??

    • @vocalsy
      @vocalsy 8 месяцев назад

      Same here.

  • @belaliqbal8858
    @belaliqbal8858 Год назад +5

    terminal is not opening in remote desktop , what to do?

  • @mowgligurroby9497
    @mowgligurroby9497 Год назад

    excellent video, however when i got stuck , i went to your website where instructions there were easy to follow which made it easier to follow the steps. thanks for the upload.

  • @mitch_the_-itch
    @mitch_the_-itch Год назад +4

    I followed exactly and I never got the Ubuntu GUI installer. It asks to create a username and pw then puts me at a command prompt.

  • @mmh-1453
    @mmh-1453 Год назад +11

    Any way to use GNOME instead of XFCE4?

  • @prufenful
    @prufenful Год назад +6

    I don't get a GUI for the ubuntu installer.

  • @vagabond7199
    @vagabond7199 Год назад +7

    Is it possible to run KDE plasma desktop on WSL2?

  • @alooshianthings
    @alooshianthings Год назад +7

    i am unable to do the remote connection with localhost:3390
    any suggestions?

    • @TheDidiDidi129
      @TheDidiDidi129 5 месяцев назад

      Try a different port or disabling firewall

  • @giomac6464
    @giomac6464 Год назад +2

    in remote desktop i get this error [Window Title]
    Remote Desktop Connection
    [Content]
    Remote Desktop can't connect to the remote computer for one of these reasons:
    1) Remote access to the server is not enabled
    2) The remote computer is turned off
    3) The remote computer is not available on the network
    Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.
    [^] Hide details [OK]
    [Expanded Information]
    Error code: 0x204
    Extended error code: 0x0
    Timestamp (UTC): 09/24/23 02:37:46 PM
    Press Ctrl+C to copy.

  • @Cballin
    @Cballin Год назад +5

    i tried to to this but no installer came up, just a terminal window.. i followed everythign you did here

    • @CDR64-ob8cg
      @CDR64-ob8cg Год назад

      I had the same problem, and also I cant connect to the remote desktop. It is just stuck in the black screen. pls help

  • @danielberger7763
    @danielberger7763 6 месяцев назад

    Thanks a lot! I worked just as described!

  • @YannMetalhead
    @YannMetalhead 2 года назад +5

    Great guide, thank you!

  • @philwebb59
    @philwebb59 Год назад +5

    This works for Windows 10, but will you release an update for Windows 11? There seems to be a conflict between xrdp and the window manager built into wslg.

  • @elifatsawo6597
    @elifatsawo6597 Год назад +2

    i did not get the graphical interface for setting after installing ubuntu from the store

  • @alvaroe2704
    @alvaroe2704 Год назад

    You got some voice, mate. Greetings from Spain. I was about to go crazy with Gnome

  • @TheObsesedAnimeFreaks
    @TheObsesedAnimeFreaks 8 месяцев назад

    yes exactly what i was looking for... i mean... not trying to set up a HyprLand as the default windows shell or anything. lol.

  • @littleghoost
    @littleghoost Год назад +2

    I did all the procedure, and when I go to connect to the remote area, the environment does not appear, the screen is all blue, in this part 6:15. Can you help me?

  • @dbishop9085
    @dbishop9085 Год назад +2

    im in windows 11 latest updates and it does not show a GUI at all. Only terminal.

  • @xandermidov
    @xandermidov Год назад +4

    After a couple of time, while i am connect, using rdp, ubuntu goes to blackscreen. Can you help with that problem?

  • @ZiiiP2142
    @ZiiiP2142 4 месяца назад

    Awesome, much appreciated.

  • @konradt4370
    @konradt4370 Год назад +6

    I've followed your instructions step-by-step, everything went fine, but i can't connect through remote desktop. Working on Win10

    • @mednowalid
      @mednowalid Год назад +2

      Same, found any solutions?

  • @pradobr
    @pradobr Год назад +5

    Commands typed at 4:59
    sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
    sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
    sudo sed -i 's/max_bpp=32/#max_bpp=32
    max_bpp=128/g' /etc/xrdp/xrdp.ini
    sudo sed -i 's/xserverbpp=24/#xserverbpp=24
    xserverbpp=128/g' /etc/xrdp/xrdp.ini

  • @geertvancompernolle2586
    @geertvancompernolle2586 11 месяцев назад

    Great video, both content wise as well as presentation wise! You got a new subscriber... 😏

  • @Darkhollow255
    @Darkhollow255 Год назад +14

    If I want to use Ubuntu-Desktop instead of XFCE4, what are the differences for the install/ setup ?

    • @mdixon4az
      @mdixon4az Год назад +1

      Not super useful to mention that it can be done but not even mention what to change to use a different GUI.

    • @southernscots-irish4
      @southernscots-irish4 10 месяцев назад

      Because it's not worth doing.@@mdixon4az

  • @SpXLab
    @SpXLab Год назад +2

    If you do not get the GUI for the installer, thats ok. Just set user and password in the terminal and proceed, it dosen´t matter in the end.

  • @BuggaDude2012
    @BuggaDude2012 7 месяцев назад +1

    didn't work on remote desktop connection and also it said something different when i did the step before that

  • @SquishySenpai
    @SquishySenpai 8 месяцев назад +1

    I funally got around to trying this today (Jan 30 2024, yes I know I'm really late on this) and every time I go to log into Ubuntu in the remote window, a couple seconds after I hit enter the window just closes. So if anyone sees this and has some sugestions, I'd really appreciate the input.

  • @MrJloa
    @MrJloa Год назад +2

    All good, but rdp lags like hell and btw why we actually need one, when there's a wslg?
    sudo startxfce4 seems like an option

  • @Sameer.Trivedi
    @Sameer.Trivedi 15 дней назад

    I've had performance issues with RDP, and issues with xrdp and the windows RDP client in general. I prefer running Xephyr along with wslg and launch the desktop environment inside it. It's much much smoother.

  • @dynamitestyle8678
    @dynamitestyle8678 Год назад +1

    Been trying to do this for about 2 weeks. No luck.

  • @Ldenlord
    @Ldenlord Год назад +5

    I am stuck on blue screen ??????

    • @aram_learn1426
      @aram_learn1426 Год назад +2

      Same here. I log on with Xorg as in 6:12 and then I just get that blue/turquoise/teal background and nothing happens. Did you eventually fix it?

  • @CoolioBeans
    @CoolioBeans Год назад +1

    Awesome video. How's the performance?

  • @kenjohnsiosan9707
    @kenjohnsiosan9707 Год назад +1

    after logging in I only see blank black screen, I cant see the icons

  • @Lauchmeister
    @Lauchmeister 11 месяцев назад +2

    Everything works for me, but remote desktop won't connect to localhost:3390. It tries for a while & then gives a generic error message (can not connect for one of the following reasons...). What could be the problem?

    • @srali7609
      @srali7609 10 месяцев назад

      hey dude have had any luck yet i have the same issue too

    • @whadoyaneed
      @whadoyaneed 9 месяцев назад

      @@srali7609 any success? Same problem here

    • @srali7609
      @srali7609 9 месяцев назад

      ​@gabperry1660 I gave up bro, I had a laptop at home that I installed ubuntu on so using that for my terminals Linux needs

    • @stevememacct
      @stevememacct 8 месяцев назад

      Same here. Bombed out last step.

  • @muhammadqaisarali
    @muhammadqaisarali 11 месяцев назад +1

    Is thos approach better than Virtual machine? For example installation on Virtual Box or VM ware?

  • @BigBurgerBoy557
    @BigBurgerBoy557 5 месяцев назад +6

    The fact that you had debian and arch avaible and chose to use ubuntu baffles me.

    • @darklegend7828
      @darklegend7828 2 месяца назад

      debian and arch doesn't have a lot of guides for when it's in WSL, i had a lot of problems doing the simplest things

    • @Sameer.Trivedi
      @Sameer.Trivedi 15 дней назад

      Debian is more or less the same as ubuntu, I prefer it because it's more stable and doesn't come with useless crap that ubuntu ships. The same goes with arch but it can be a huge pain at times.

  • @dionwebiaswara7810
    @dionwebiaswara7810 Год назад

    very useful, thanks. but in xrdp section, must showed how to install xrdp package

  • @juanc9147
    @juanc9147 Год назад +2

    Worked for me.Thanks! BUT I needed to connect on Remote Desktop adding my ip address. "localhost:3390" didn't work.

    • @iExamineLife
      @iExamineLife 11 месяцев назад

      dont work for me either, what show I do? thanks

  • @ysy69
    @ysy69 Год назад +4

    I was able to do it and open the terminal. it brought a small window inside saying, connecting to sesman ip 127..... port 3350, then sending info to session manager, pls wait and login fails... question. the username and pwd are the same (unix) as when setting up ubuntu at install, correct? thanks

    • @khalilmoallaqat8999
      @khalilmoallaqat8999 Год назад +3

      were you able to fix it i have the same problem

    • @ysy69
      @ysy69 Год назад +1

      @@khalilmoallaqat8999 unfortunately not yet

    • @rodolfomontenegroochoa6614
      @rodolfomontenegroochoa6614 Год назад +1

      same issue, any luck fixing it?

    • @ysy69
      @ysy69 Год назад

      @@rodolfomontenegroochoa6614 i ended up working within Win11 for now

  • @srednimax4200
    @srednimax4200 2 месяца назад

    I follow this instruction, and after connecting to remote desktop I got only black screen and nothin happend and idea what I did wrong?

  • @Neolisk
    @Neolisk Год назад +4

    Isn't there a better, more native approach in 2023 ?

    • @beest_
      @beest_ Год назад

      You can always export your X sessions. Have a X server running natively on Windows and your windows will be native to Windows.
      You could've always done this since UNIX days

  • @rajthegamer4099
    @rajthegamer4099 2 года назад +1

    Great video bro.

  • @cenkersoy
    @cenkersoy 2 месяца назад

    It might also help to add this "sudo ufw allow 3390"

  • @dejanceranic9340
    @dejanceranic9340 Год назад +1

    How do you get Ubuntu GUI? i get terminal.. Please help..

  • @MarcioBrenerCosta
    @MarcioBrenerCosta 8 месяцев назад

    Awesome! Thaks a lot!

  • @breakfastcrafty4683
    @breakfastcrafty4683 8 месяцев назад

    I have also ran into problems with this and you do not include any troubleshooting methods

  • @bipl8989
    @bipl8989 9 месяцев назад

    What a PIA. This needs to be easier.

  • @koja1122
    @koja1122 11 месяцев назад +1

    how can I log in in to xrdp ?

  • @philwebb59
    @philwebb59 Год назад

    I don't understand what you DNS problem is. I've never had that happen, even when running U18 on W7.

  • @davidgood1969
    @davidgood1969 3 месяца назад

    hi! What a great video, thank you!!! Except, after logging on to xfce4, im greeted with a blank blue window and the desktop never actually comes to life... any idea where to look?

  • @cheze_bun
    @cheze_bun Год назад

    I can’t seem to get into the desktop environment it is just black with a cursor

  • @giomac6464
    @giomac6464 Год назад

    now it either crashes or takes me to a blank screen with a mouse pointer when i log in

  • @biskys6718
    @biskys6718 6 месяцев назад

    tried to install ubuntu from the microsoft store but i didnt get the installer set up shown in the video. it just set up my account in a terminal window

  • @SachinBharadwajManjunath
    @SachinBharadwajManjunath Год назад +1

    When I run the set of 4 commands the following message is displayed:
    echo xfce4-session > ~/.xsessioncp: cannot stat '/etc/xrdp/xrdp.ini': No such file or directory
    This not allowing me to continue the setup.
    Any sort of help is appreciated. Thanks.

    • @senkij.6881
      @senkij.6881 Год назад +1

      "sudo apt install xrdp" needed before this 4 commands

  • @mrjustcausegames5330
    @mrjustcausegames5330 Месяц назад

    my gui installer dosent work it just sends me to comand prompt

  • @moliishu
    @moliishu 2 года назад +5

    Can you make a video on how you made the start menu?

    • @leanwell
      @leanwell Год назад +1

      i think he used "start is back" program. you can search here on youtube how to use it.

  • @NickXabias
    @NickXabias 7 месяцев назад

    thanks for the tutorial 🙏 I run onto a problem tho. When you open the Ubuntu you have the whole GUI from the ubuntu. Mine always starts in CLI... any idea ? 😅😅

  • @draggador
    @draggador 4 месяца назад

    unfortunately, neofetch has been discontinued by its developer, who has given up on working in the software sector to become a farmer in australia

  • @nafisahmed6247
    @nafisahmed6247 Год назад

    everything works, but after wsl is restarted rdp doesn't connect anymore

  • @nkapila6
    @nkapila6 Год назад

    Hey thanks for the guide. Which start menu is this?

  • @thanhlephuong7687
    @thanhlephuong7687 Год назад

    my install is OK but the remote desktop is back windows. I tried to install NoCachine. It runs well

  • @AndrewThompson-vd3xh
    @AndrewThompson-vd3xh 6 месяцев назад

    i've got a problem when trying to connect to the remote desktop via the remote desktop connection app. In the video he says you have to type in "localhost:3390", but the remote desktop app says that ":" is an invalid character and i can't use it, what should i do?

  • @joaquinnicolas2478
    @joaquinnicolas2478 Год назад

    Great tutorial.. thx u !!!!!!! subscribed and thumb up

  • @dorokabi4072
    @dorokabi4072 8 месяцев назад

    ok so i've done everything i needed and it opened as showed. I've close it and how exactly do i open it back again?

  • @nothing7ish
    @nothing7ish 8 месяцев назад

    Hi, I wanna uninstall everything I did in this video. How do I do that? Thanks.

  • @kubo407
    @kubo407 Год назад

    Great! it worked! performance was awful though

  • @NzuziHenriquesKondoOmbisa
    @NzuziHenriquesKondoOmbisa 8 месяцев назад

    So Cool!

  • @RichardHuble
    @RichardHuble Год назад

    Im having trouble with network manager, cant seem to be able to connect it, ive tried all the commands

  • @kaushmaisuria
    @kaushmaisuria Год назад +1

    Thanks for this really helpful. I have one question though. On my windows 10 pro installation. When I try to remote connect, I'm not able to login using my Ubuntu login credentials. Any advice would be greatly appreciated. Thanks once again.

  • @MrDimonsky
    @MrDimonsky Год назад +1

    localhost:3390 from rdp, gives me an error with optoins 1) this account is not permitted in the list of gateway, 2) remote pc written in NetBios format

    • @JustinEmlay
      @JustinEmlay Год назад

      Did you previously set a gateway in RDP for something else? Try to telnet into localhost 3390. If you get a blank screen returned then it's running. In RDP make sure no gateway is selected on the advanced tab.

  • @joshua9803
    @joshua9803 10 месяцев назад

    I was to ask a question, on the desktop gui installation is there a certain command for Cinnamon desktop environment? I installed every other package tho I could

  • @anthonypitts7426
    @anthonypitts7426 2 месяца назад

    I followed the instructions to the letter, however when I get Windows RD to login, I get the xrdp screen to enter my creds.
    Enter username & password. Then it just crashes out. Am I doing something wrong?
    Windows 11 Pro 23H2
    WSL2 - Connecting to Ubuntu
    Description: Ubuntu 22.04.4 LTS
    Release: 22.04
    Codename: jammy
    Installing xfce4 as per the guide and still no closer to solving this issue or having a gui in WSL winthin Windows 11 Pro 23H2.

  • @francoislepron2301
    @francoislepron2301 6 месяцев назад

    Awesome.

  • @srali7609
    @srali7609 10 месяцев назад

    I have done everything but when i try to get onto localhost:3390 via RDP it doesnt let me says give you that error message with the 3 reason why it didnt work

  • @subhajitdhar536
    @subhajitdhar536 Год назад

    7:19 my installer doesn't start up as shown, only shows up cmd....what to do?

  • @hilmanadam
    @hilmanadam Год назад

    Hi thank you for your video.
    But I got error when connect using RDP
    I got error "login failed for display 0".
    Need help

  • @michaelbested123456
    @michaelbested123456 Год назад

    im on windows 11 . when i try to install ubuntu i get a vdx file not found cant be mounted. i can get terminal ubuntu to work but would like the desktop gui version

  • @therealglyder
    @therealglyder 4 месяца назад

    What startxfce4 command would look like if i'd like to use gnome?

  • @Anonymous-rq2tf
    @Anonymous-rq2tf 7 месяцев назад

    localhost:3390 is invalid remote computer name is what I am getting. ":" is not a valid character on the textbox.

  • @aljahlnasty
    @aljahlnasty Год назад +2

    hello @TroubleChute, i have an issue, after entering my username and password there's a black screen, can you give me some hints on how to fix this ?
    and thanks for your work really appreciated

    • @thewonderfultartiflette4733
      @thewonderfultartiflette4733 Год назад +2

      I'm having the same issue, have you got it resolved ?

    • @CDR64-ob8cg
      @CDR64-ob8cg Год назад +2

      I am also having the same issue

    • @jessederinger
      @jessederinger Год назад +2

      I know this was 3 months ago but same, anyone figure it out?
      Plus I don’t get a black screen mine just crashes…

  • @josueize
    @josueize 5 месяцев назад

    Please help I got to the server edit but IDK how to get out, what does sudo mean, does it have a shortcut?

  • @ilyateterin6904
    @ilyateterin6904 Год назад +3

    Thanks for the video! After finishing the installation I found that the RDP connection closes right after the login screen.
    The error reported in ~/.xorgxrdp.10.log file was:
    systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
    The solution for me was to create additional user and use it for RDP connection.

    • @ccooksey1215
      @ccooksey1215 11 месяцев назад

      Could you please expand and explain your solution?

    • @maslak
      @maslak 11 месяцев назад +4

      @@ccooksey1215 `sudo adduser somenewusername` , set pass, then when logging in to xrdp just use that new user. looks like it doesn't like the fact that you're logging in as sudo... :)

    • @ramzibenhamlaoui5711
      @ramzibenhamlaoui5711 10 месяцев назад

      @@maslak thank you!! It works creating by loging with a new user.

    • @koenenbart1
      @koenenbart1 8 месяцев назад

      You are such a hero, this solved my problem not getting in the system.

  • @halfspeed5237
    @halfspeed5237 Год назад

    It still opens in the terminal I don't know what I did wrong

  • @nito8066
    @nito8066 8 месяцев назад

    hhelp it wond find the virtual machine in virtual desktop

  • @ianrl100
    @ianrl100 Год назад +1

    How do i do all of this procedure to the GNOME environment?

    • @gogu792
      @gogu792 2 месяца назад

      idk same problem

  • @nexovec
    @nexovec Год назад

    This does not work if you're using systemd.