How to Install WSL2 & Ubuntu Linux GUI (XFCE Desktop) on Windows 10

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

КОМЕНТАРІ • 294

  • @SavvyNik
    @SavvyNik  4 роки тому +26

    It has been reported that enabling the "Virtual Machine Platform" feature from Windows can cause issues with other Hypervisors including VMware and Virtual Box. Be aware and disable the feature if issues arise. A future Windows update might fix the issue, but as of now I haven't found a work-a-round.
    Couple More Mentions : IF you run into any issues trying to restart your xfce server running on Ubuntu use the following command: export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
    There's a known bug that prevents you from running "startxfce4" over and over again because it seems like there's a locked file in the background.
    Also if you get Installation failed with error 0x80070003 or error 0x80370102 make sure to enable HyperVisor support (VT-x or AMDv) in your BIOs settings.
    For more troubleshooting refer to - docs.microsoft.com/en-us/windows/wsl/install-win10

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

      Also the Windows update mentioned to be installed before doing all of this has re-introduced the BSOD caused by tcp/ip service failing. I had to wait for M$ to give me an update almost a month after it first appeared to get this failure to stop. The mentioned update started it again and just like before BSOD occurs every 24 to 48 hours. I shut down ALL wireless and use only the RJ-45 connection, shut down Virtual Box (use it only when necessary), updated all drivers as before and yet the problem is back again. I have been around windows since 3.1 and for me the last stable version was XP. As for me everything since as been a nightmare with constant bugs. Some times I wonder if the RTM is really just the Beta Version dumped on unsuspecting consumers thus earning M$ the reputation of never buy any M$ product until AFTER Service Pack 1 for the M$ product. Personally I am fast approaching the point of full conversion to Linux and looking at Windows in my rear view mirror.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      ​@@scgrigsby - Ouch that sounds like a nightmare and I'm with you all the way. The last good Windows that I enjoyed using was probably Win7 (I still use to this day). After that it has been a disaster using Windows... and I could believe they're pushing beta patches just because of other bugs that they think need to be addressed quickly and are foregoing the actual full debug process, but that's just speculation of course. I've had to move almost everything to Windows. Although some of the programs I use for work are just not available (and sadly probably never will be) on Linux. It'll be nice one day when I can make the full conversion, but for now, I'll mainly use Linux personally and have to bare with the issues that come.

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

      This is still an issue, and this advice helped me. Thanks.

  • @Drezzomir
    @Drezzomir 3 роки тому +9

    You sir are a genious! I finally got to set up my remote session after misserably failing every attempt to connect through windows' default remote session set-up.
    Thank you very much!

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

      Glad I could help, make sure to smash that like button for me if you haven't already ^^

  • @tinyoofman3361
    @tinyoofman3361 3 роки тому +4

    Hey dude, just wanna say thanks so much! It worked first try for me. Hope the comments asking questions aren't too repetitive :)

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      You're welcome!! Haha they can definitely get repetitive, but these are the types of comments that more than make up for it =) glad you found the video helpful.

  • @arndsen
    @arndsen 3 роки тому +8

    It says after startxfce4 "/usr/bin/startxfce4: X server already running on display 172.31.240.1:0"
    what might be the problem?

    • @jemoeder841
      @jemoeder841 3 роки тому

      I have the same problem (but with another ip, 192.168.xx.x), did you fixed it?

    • @omraniomaima
      @omraniomaima 3 роки тому

      @@jemoeder841 same problem , did you found solution for this problem ??

    • @jemoeder841
      @jemoeder841 3 роки тому +1

      @omrani omaima, for me the fix was going to my firewall settings and allow Xserver on public networks. For a reason my computer sees my home network as a public one, so connections were blocked to Xserver. Hope this helps!

    • @omraniomaima
      @omraniomaima 3 роки тому +1

      @@jemoeder841 thanks 😃 , it works

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

      @@jemoeder841 yes, it worked like a charm. Thank you..

  • @WillShattuck
    @WillShattuck 3 роки тому +5

    Thanks for the tutorial. I couldn't find the article that gave these same instructions. But I did find your video and it is very easy to follow along with . Thanks !!!!!!!

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! There is no article it's my setup haha. Anyways I'm glad you found it helpful. Make sure to smash that like button for me =)

  • @shellz831
    @shellz831 Рік тому +5

    Thanks. Works ALMOST like a charm. If xfce4 display is still blank, use "sudo startxfce4". As a general rule, with Linux, if it fails, try with "sudo" before you start pulling out your hair.

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

      haha thanks for sharing the exp

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

      this comment save me.

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

      thank u so much!!! you saved me after couple of hours of failing!!

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

      it gives me
      /usr/bin/startxfce4: X server already running on display 10.0.0.222:0
      xrdb: Resource temporarily unavailable
      xrdb: Can't open display '10.0.0.222:0'
      any help

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

    Thank you it worked. I had a little problem allowing WSL 2 instead of WSL 1 but i solved it on with wsl --set-version Ubuntu 2

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

      Glad you found the vid helpful!

  • @justsomerandompersononthei2595
    @justsomerandompersononthei2595 4 роки тому +22

    Ah yes, Lindows 10.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Good ol windows! Haha for the people who don't want to step away and like using the windows tools xD

    • @justsomerandompersononthei2595
      @justsomerandompersononthei2595 4 роки тому +3

      SavvyNik And also for people who want to learn Linux but use Windows tools and don't want to mess around with WINE. I have no choice but to mess around with WINE until something works, as Windows has gotten worse and worse throughout the 2010's.

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

      @@justsomerandompersononthei2595 Yeah the only thing it requires sometimes is patience :D

  • @agostinhomatos321
    @agostinhomatos321 3 роки тому +14

    I did everything as explained in your video, however when I finally did "startxfce4", I got the following error:
    "/usr/bin/startxfce4: X server already running on display 172.17.112.1:0". The mentioned ip address was the result of the command "cat /etc/resolv.conf" and that I included in the appended line of .bashrc as suggested.

    • @TilSkywalker
      @TilSkywalker 3 роки тому

      Did you find a solution for that?

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

      @@TilSkywalker No, I did not. I returned to WSL version 1 with Xming xserver, it allows me to run most linux graphical programs, better than in WSL 2. Plus, I am using VMWare Workstation Player to install and test many linux distros, installing all virtual machines into a dedicated ssd drive, internally installed for this specific purpose. I am quite satisfied with this solution.

    • @samihautamaki6229
      @samihautamaki6229 2 роки тому +8

      I had over 2 hours of fighting with this one and finally, I found a fix from the depths of google. For me, it was the firewall that was blocking the whole connection. I allowed xlaunch to connect locally.

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

      @@samihautamaki6229 Thank you

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

      @@samihautamaki6229 how do you launch xlaunch locally

  • @rohitdesai8400
    @rohitdesai8400 3 роки тому +5

    For those who are facing black screen (X server already running on display X.X.X.X:0 ) after relaunch or reboot try this :
    Go and open resolve.conf : nano /etc/resolv.conf
    Note down the new port address it might have changed due to reboot.
    open ~/.bashrc : nano ~/.bashrc and edit the port number
    then run : source ~/.bashrc
    and start the xfce again : startxfce4
    launch your old Xlaunch config file. :)

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      Thanks for sharing this =)

    • @SumanRajak-gb1yh
      @SumanRajak-gb1yh 2 роки тому

      You are a lifesaver...thanks a lot

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

      By "Edit port number" do you mean change the :0 at the end to some other number? If so that is not working for me.

  • @satishgadade1193
    @satishgadade1193 3 роки тому +1

    thanks for sharing. i struggle hard to get this from different website but with your video. it worked.

    • @SavvyNik
      @SavvyNik  3 роки тому

      Awesome to hear!! Glad you found it helpful. Make sure to smash that like button for me if you haven't already =)

  • @d029w7
    @d029w7 3 роки тому +5

    The tutorial is easy to follow. Thank you!

    • @SavvyNik
      @SavvyNik  3 роки тому

      Awesome to hear! Glad you enjoyed it and make sure to smash that like button for me if you haven't already =)

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

    Thank You! So much I'm extremely thankful to you . Your guidance make it possible do this difficult task . I 've tried too much tries from different sources but I can't do it . But only due to your guidance it's make it possible. Thank You.

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

      Glad it helped!

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

    /usr/bin/startxfce4: Starting X server
    /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error

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

    You're a superstart! Thanks. All good and done smoothly on my Windows Ubuntu

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome! Glad you got things running smoothly.

  • @gabrielrodriguesdeoliveira5424
    @gabrielrodriguesdeoliveira5424 3 роки тому +1

    this is the only way what have work for me!! THANKS MAN!

    • @SavvyNik
      @SavvyNik  3 роки тому

      You're welcome!! Make sure to smash the like button for me if you haven't already!

  • @mr.anonymous298
    @mr.anonymous298 4 роки тому +4

    Wow, nice tutorial!! Thanks a lot, it worked for me perfectly!

    • @SavvyNik
      @SavvyNik  4 роки тому

      Awesome! Glad I could help =)

  • @WarlikeLaux
    @WarlikeLaux 4 роки тому +3

    How fix it?(
    /usr/bin/startxfce4: X server already running on display 192.168.0.1
    xrdb: Can't open display '192.168.0.1'
    xfce4-session: Cannot open display: .
    Type 'xfce4-session --help' for usage.

    • @WarlikeLaux
      @WarlikeLaux 4 роки тому

      If try
      export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
      then
      /usr/bin/startxfce4: X server already running on display 192.168.0.1
      192.168.0.1
      fec0:0:0:ffff::1:0
      xrdb: Connection refused
      xrdb: Can't open display '192.168.0.1
      192.168.0.1
      fec0:0:0:ffff::1:0'
      xfce4-session: Cannot open display: .
      Type 'xfce4-session --help' for usage.

    • @SavvyNik
      @SavvyNik  4 роки тому

      Read my pinned comment it might help you.

    • @WarlikeLaux
      @WarlikeLaux 4 роки тому

      @@SavvyNik I tried it, doesnt work(( Logs are up.

    • @rohitdesai8400
      @rohitdesai8400 3 роки тому

      @@WarlikeLaux hope this should solve your problem
      Go and open resolve.conf : nano /etc/resolv.conf
      Note down the new port address it might have changed due to reboot.
      open ~/.bashrc : nano ~/.bashrc and edit the port number
      then run : source ~/.bashrc
      and start the xfce again : startxfce4
      launch your old Xlaunch config file. :)

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

    Nick your tutorial is perfect, thank you. Perhaps it will be useful to know that in addition to the X server "VcXsrv" xfce also works well with GWSL, which is always based on VcXsrv.

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

      Thanks for the info! Glad you enjoyed the tutorial.

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

    I found out that now, WSLg is available... even for Win 10. I'm hearing that you need WSL2 first. Don't know if that's true. I have/had WSL2 with XFCE and Ubuntu. Issued wsl -update and went to WSLg. If I issue WSL -version, I see WSLg there. In WSLg, you don't need XFCE. Just issue your GUI startup applications right in the WSL/Ubuntu terminal. They now play great and includes audio.

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

      This does not works when you need to see desktop - it only opens standalone app - with no evnironment - only app isself

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

    Thank you so much! 1issue I have with the GUI is it's flagged as trojan by some AV. is it resolved now?

  • @chris122380
    @chris122380 3 роки тому +1

    Why install xfce and not the xubuntu package? That way you get the better Ubuntu xfce themeing?

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

    Does this work using remote desktop connection? I am only seeing the black screen and in the power shell console it just says:
    "/usr/bin/startxfce4: X server already running on display 172.-.-.-:0" and nothing else is happening.
    Please guide me.

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

    please help, mine says,
    "/usr/bin/startxfce4: X server already running on display 192.168.10.1:0
    xrdb: Connection refused
    xrdb: Can't open display '192.168.10.1:0'
    Unable to init server: Could not connect: Connection refused
    xfce4-session: Cannot open display: .
    Type 'xfce4-session --help' for usage."

    • @pranavtupe8290
      @pranavtupe8290 3 роки тому +1

      I am also facing same problem

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

      Im going through the same problem as well.

  • @SumanRajak-gb1yh
    @SumanRajak-gb1yh 2 роки тому

    How to Restart the X server? When I write "startxfce4" it shows "X server is already running on display...." but getting a black screen in X Server

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

    thanks for your clear command guidance,can you say how to end xfce4

    • @SavvyNik
      @SavvyNik  4 роки тому

      @Bhuvaneshwaran Ramamurthy
      - You can use the logout button or in terminal xfce4-session-logout (xfce4-session-logout --halt
      ). That should log you out of the current xfce session. Otherwise, you can kill the processes for the x server (this isn't graceful).

  • @kamkam_99
    @kamkam_99 3 роки тому +1

    Linux側のデスクトップをメインにして使いたい。
    UbuntuにWindowsアプリのアイコンを置いてLinux画面のままWindowsソフトが起動できたら最高だ。
    Compizも使えると更に良い。
    ゲームのためだけにメインPCよりもスペックの良いサブPCを購入するなんてナンセンスだから。

  • @farazsalehi9034
    @farazsalehi9034 3 роки тому

    -bash: export: `x.x.x.x:0': not a valid identifier at 11:58 ... any solutions ?

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

    startxfce4 tells me it's already running but the Linux desktop window remains all blank and black

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

    I don't have "lightdm", as beginner I'm not even sure how it's involved, but it does not pop up automatically if i install XFCE4

    • @scooterdude17
      @scooterdude17 9 місяців тому

      I had the same issue. It stayed at the terminal

  • @oscarc.1656
    @oscarc.1656 11 місяців тому

    The purple screen, Package configuration did not come up for me @ 10:13 in the video. I ran sudo apt install xfce4 on the ubuntu console and I got no errors. Im stuck here

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

      Hi oscarc. I had a same issue. Did you solve it ? thanks.

    • @oscarc.1656
      @oscarc.1656 4 місяці тому

      @@lebanbo55 no sorry It did not workout for me. I kept searching online for other sources then gave up

  • @sollunayoga8983
    @sollunayoga8983 3 роки тому +1

    Nice Video, how much storage space has the subsystem?

    • @SavvyNik
      @SavvyNik  3 роки тому

      It grows until it can't grow anymore... haha it's whatever the system storage is.

  • @vvvv-lp8tm
    @vvvv-lp8tm 2 роки тому +1

    I was gonna say hes a genious but i see I must say he is a freaking genious instead!

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

      Haha well that’s kind

  • @imaprogrammer6154
    @imaprogrammer6154 4 роки тому +1

    Thank you very much for the nice explanation!

    • @SavvyNik
      @SavvyNik  4 роки тому

      You're welcome. Glad you enjoyed the video. Make sure to smash that like button for me on the vid if you haven't already =)

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

    I got /usr/bin/startxfce4: Starting X server
    /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server

  • @zakidzz
    @zakidzz 3 роки тому

    i was all day in totorials and your workkkkkkkssssssssssssssssss

    • @SavvyNik
      @SavvyNik  3 роки тому

      Awesome to hear! Make sure to smash that like button for me if you haven't already =)

    • @zakidzz
      @zakidzz 3 роки тому +1

      @@SavvyNik really a thank you from deep of the heart❤️❤️❤️it was simple clear easy and most of all it works +1 like +1 subscribe +1 ennible notifivation +1 save vedio +1 😂😂😂

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      Well that means a lot!! Thanks for supporting the channel I appreciate it. Super glad you got things working.

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

    Please sir I have tried every command in the powershell but I keep getting help list of commands

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

    the configuring lightdm 10:18 didn't show up for me

  • @suribabu9396
    @suribabu9396 4 роки тому +1

    Very nice.. its working...Thank you

    • @SavvyNik
      @SavvyNik  4 роки тому

      No problem, glad I could help! Make sure to smash that like button for me if you haven't already =)

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

    Excellent presentation.

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

      Glad you liked it!

  • @shyamprasaths4201
    @shyamprasaths4201 3 роки тому +1

    instead using virtual machine for run ubuntu , Is this method will reduce of consuming our resources ??? or both method will take similar resources

    • @SavvyNik
      @SavvyNik  3 роки тому

      If you use the WSL2 method you'll probably be down to less resource usage since everything's built into Windows and you don't have to start another program to run and virtualize Linux over top of Windows.

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

    SN... Nice video... Bit I think you will find there is no sound... Any idea? How to get it working? Kali win-hex does all of this... But Ubuntu ... Can't get the sound, pulse Audio to work. A nice problem to solve, if you can.

    • @SavvyNik
      @SavvyNik  4 роки тому

      Not something I've messed with. Never needed sound. I'm sure if you google it someone has tried. Kali win-hex makes things much easier.

    • @jonathanmoore5619
      @jonathanmoore5619 4 роки тому +1

      @@SavvyNik I found a solution. I'll post the link if anyone is interested. Cheers.

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@jonathanmoore5619 Yeah you should post the link. You're not the first person to ask. Thanks!

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

      @@SavvyNik ua-cam.com/video/nKCe9UE-quA/v-deo.html
      Here it is.... Ubuntu.

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@jonathanmoore5619 Thanks for sharing this!

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

    This seems to not work anymore, the installation does not ask for a display manager and nothing shows up on VcXsrv.

  • @scooterdude17
    @scooterdude17 9 місяців тому

    I am following step by step and I was not prompted for the display manager. Anyone know how I get to the menu?

  • @colinfousek
    @colinfousek 3 роки тому

    Help, when i put in the start command, it says already running and nothing happens with xlaunch

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

    Excelente, me ayudo mucho tu tuto! :D

  • @helgeapps
    @helgeapps 3 роки тому +1

    startxfce4: X server already running on display - and no window with display...

    • @helgeapps
      @helgeapps 3 роки тому

      video is wrong, you should use local ip of your windows pc adapter, and not wsl ip adapter

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

    when I type startxfce4 and push enter I get xrdb: Connection timed out

    • @jiamingwang9653
      @jiamingwang9653 4 роки тому

      I have the same problem

    • @fleatoncontour5213
      @fleatoncontour5213 4 роки тому +1

      I added C:/Program Files/VcXsrv/vcxsrv.exe to firewall exceptions and it started working.

    • @jpq6483
      @jpq6483 3 роки тому

      @@fleatoncontour5213 thanks man

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

    Thanks for sharing. Worked perfectly fine. Can someone please explain what the additional parameter "-ac" for VcXsvr does?

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      I believe it disables access control because there's a bug with the type of access to the server otherwise. This allows the server to be accessed publicly on the local network and gets around some known issue. You can reference this github issue: github.com/microsoft/WSL/issues/4106

    • @imsangimchen2900
      @imsangimchen2900 4 роки тому +1

      @@SavvyNik Thanks man. Really appreciate it.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@imsangimchen2900 No problem, make sure to smash that like button for me on the video if you haven't already =)

    • @imsangimchen2900
      @imsangimchen2900 4 роки тому +1

      @@SavvyNik consider it done :)

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@imsangimchen2900 Awesome ^^

  • @pasquinarinaldi7751
    @pasquinarinaldi7751 3 роки тому +1

    Thank you so much, it works fine i've a question, how can i shut down from the xfce? For now i cntrl+c in the wls 2 shell but is there another way?

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      There is a command like xfce shutdown/quit but I don't remember it anymore. I'm sure if you do a little searching you'll find it.

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

    What's the difference between this and the videos I saw connecting to the enviroment / server through Windows Remote Connection?
    I am new to this, I mean which one works more smoothly

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

      The newer WSL2 with GUI works better (look up gwsl).

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

      @@SavvyNik tyvm for your fast reply, so gwsl is still not comparable to Oracle Virtual Box for example? I wanted to have a seemless way to get Linux up and running as an App within Windows 11, guess not possible yet?

  • @tenroh56
    @tenroh56 4 роки тому +1

    Hi have you managed to get the sound working in your xfce desktop - I see your volumeicon on the panel muted. Every video I have seen has this apart from youtuber Novaspirit Tech but I still have no success in getting audio to work following his instructions.

    • @SavvyNik
      @SavvyNik  4 роки тому

      No, volume isn't something I was concerned about working with this setup.

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

    Hi Savvy, just saw this video as one of my friends who still use Windows said he needed to use WSL but with a GUI. I've been using Mint as my default OS (i do have Win 10 but it's been a few months since I used it) and he said he liked that desktop env. I use the Cinnamon desktop for Mint.. so I was wondering if there is a way to install Cinnamon instead of XFCE...

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      I don't know how personally. I haven't tried anything else besides XFCE. WSL is still very underdeveloped I would personally suggest using a virtual machine instead for your friend.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@jumarkow Awesome!! Thanks for the instructions. I'm sure it will help some others!

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

    What if the purple screen never pops up asking what I want to install???

  • @misten61pj56
    @misten61pj56 9 місяців тому

    default display manager pink screen doesn't come up after installing desktop

  • @suribabu9396
    @suribabu9396 4 роки тому +1

    But in another PC i'm getting error like this:
    xrdb:connection timed out
    xrdb:can't open display '172.24.128.1:0'
    please solve this error?

    • @SavvyNik
      @SavvyNik  4 роки тому

      Read the pinned comment.

  • @yumyum3266
    @yumyum3266 4 роки тому +3

    gonna try this out 😍😍😍😍

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

    Can I use gnome instead ?

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

    Thank you for the information.
    However, I met a problem which the xfce's taskbar is always on the top of Windows. How can I change the setting to show the screen which is movable? Now I can see both the Windows taskbar at the bottom and the Ubuntu taskbar at the top at the same time.

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

    Hi, I have a problem when I run Gazebo, Could you help me with this problem pls?
    The console log output is:
    [Wrn] [GuiIface.cc:114] No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
    [Wrn] [GuiIface.cc:114] Falling back to using screens root_visual.

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

    i get a segmentation fault error any help ?

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

    I appreciate for the tutorial :)

  • @crystalwalker3430
    @crystalwalker3430 3 роки тому +1

    What does this mean? /usr/bin/startxfce4: X server already running on display 172.168.150.1:0

    • @SavvyNik
      @SavvyNik  3 роки тому

      If there’s already an instance of the display running you get this error. It’s common with WSL that services don’t exit out properly do you windows restrictions. Look in the pinned comment for a fix. Others have mentioned they’ve had success by adding WSL or the instance to windows firewall.

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

    How different is doing this compared to running Ubuntu in virtual box? Is this lighter?

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

      Yes it can take less space if you’re worried about it

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

    I'm not sure how I fixed it, but after many restarts and exiting, I think after all the troubleshoot. All I did was wait for awhile, then it showed up, I have no internet and no sound, but I have a gui. It's faster than Hyper-V though to be honest. Thanks for the tutorial

  • @aa3697420
    @aa3697420 3 роки тому +1

    hey savvyNik
    thx for this viedo
    and i got an error that the last step
    when i start the xfce4
    Ubuntu show the "X server already running on display xxx.xx.xxx.1:0""
    And then window still keep black
    how to fix this issue?
    THX!! (BTW, i use WLS2)

    • @SavvyNik
      @SavvyNik  3 роки тому

      Look at the pinned comment and see if that might help.

  • @markojudas
    @markojudas 4 роки тому +1

    Any recommendation for audio?
    I ran the command:
    pulseaudio --start --> to active PulseAudio as it seemed it wasn't
    However, I get no audio output. Help please!!!!
    I'm fairly new to Linux and I wish to learn more - eventually moving to Kali to learn ethical hacking (it's all part of a journey that I am very well aware is neither short nor easy).

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Sorry Jose, I don't know of a way to port audio through WSL (not saying that you can't), but it's not something I've tried since it's mainly meant for being able to issue linux commands in a terminal. The XFCE desktop is really just an extra for people. You might want to try a VM if your interested in getting sound and being able to host Linux on your computer (maybe virtual box).

    • @markojudas
      @markojudas 4 роки тому +1

      @@SavvyNik Thank you for the reply. I am just wondering. I do have a cheap laptop loaded with Linux as the OS so I'll just keep with that one. :)

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@markojudas Yeah that's probably a great idea =D

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

    The installation worked fine, but when I am leaving Ubuntu for about 15 minutes, everything just freezes and I have to restart

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

      Apparently, preventing Ubuntu from going to sleep, will prevent this from happening

  • @chinnitalks363
    @chinnitalks363 3 роки тому +1

    i do have ssd 128gb and hdd 1tb. I have win10 on ssd . I want to install wsl2 on hdd.Is there any chance to install on hdd. Can I install pycharm in ubuntu wsl2

    • @SavvyNik
      @SavvyNik  3 роки тому

      I don't know of a way to specify a specific storage device of where WSL will belong to. It resides on the Windows platform for which you enable it on. You can run pycharm but WSL isn't really meant for this. I would suggest a virtual machine in virtual box with Ubuntu installed and then you can do both those things that you are asking about. Make sure to smash that like button for me.

  • @3DBricksrevival
    @3DBricksrevival Рік тому

    help the ubuntu says that its already started and the screen is still black

  • @Franseven
    @Franseven 3 роки тому +1

    is it possible to improve the performance of the gui? i get some trails like there was lack of video memory allocated, better than remote desktop for sure but still far from native

    • @SavvyNik
      @SavvyNik  3 роки тому

      Not really.. you could try it in a Virtual Machine if you wanted better performance, but then it's not integrated with your native windows env.

    • @Franseven
      @Franseven 3 роки тому

      @@SavvyNik oh.. btw after setting up the xfce4 setup ect. The normal gui pop up doesn't work anymore, is there a way to have both? Launch the server to get the full desktop but also have the pop up gui? Thanks

    • @SavvyNik
      @SavvyNik  3 роки тому

      Not that I'm aware of.

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

    thanks, great video

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

      Glad you liked it! You're welcome.

  • @harshjain196
    @harshjain196 3 роки тому

    for me, windows update its saying 21h2 what to do?

  • @urugari6357
    @urugari6357 4 роки тому +1

    hello, i need help :C im get this after i open ubuntu 20.04 LTS :Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Seems like you're missing a feature? Make sure you have WSL and Virtual Machine selected in your Windows features list. Other than that look up the specific error. You might also want to make sure you have VT-x / AMD-v (virtualization) enabled in your BIOs.

    • @urugari6357
      @urugari6357 4 роки тому +1

      thank you for the reply ill make sure to check it out 🙏

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@urugari6357 no problem!

    • @urugari6357
      @urugari6357 4 роки тому +1

      @@SavvyNik Hey SavvyNik, i am having another problem now its says
      /usr/bin/startxfce4: X server already running on display :0
      xrdb: Connection timed out
      xrdb: Can't open display '192.168.128.1:0'
      Unable to init server: Could not connect: Connection refused
      xfce4-session: Cannot open display: .
      Type 'xfce4-session --help' for usage. i used the following command that you have provided but it isn't working

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@urugari6357 hmm the pinned command didn't work for you? export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

  • @draygoes
    @draygoes 3 роки тому

    Hey, if you see this, I badly need help.
    Every time my system is rebooted and I load ubuntu, the nameserver address changes. Obviously this doesn't work with your setup as I need that IP to not change.
    Do you have any commands for this?
    Again, the Name Server Address changes every restart and I would like for it to not do that.
    Please note that I am using MATE desktop environment with Ubuntu.
    Thanks for your time.

    • @SavvyNik
      @SavvyNik  3 роки тому

      edit the /etc/netplan/* config files. Look at setting a static ip and just force the DNS to something. Not sure why it's changing every time though that doesn't sound right. ua-cam.com/video/NjmcUYLmhj0/v-deo.html

  • @ygrittesnow1701
    @ygrittesnow1701 4 роки тому +1

    Instead of loading that gui at 10:13 it just returned me to the command line.?

    • @SavvyNik
      @SavvyNik  4 роки тому

      That selects what display manager you want to use and then the packages installation should continue unless you've already installed the packages before. Eventually you do end up back in the command line interface.

    • @ygrittesnow1701
      @ygrittesnow1701 4 роки тому +1

      @@SavvyNik I never got the gui menu that was depicted at 10:13. I did however get the xfce open.

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@ygrittesnow1701 Maybe you didn't have one already defaulted? Interesting, but glad you got XFCE working.

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

    Does WSL2 support GNOME?

  • @ashutoshpandey8107
    @ashutoshpandey8107 3 роки тому

    bro my not work cd and ls in win10
    this is problem but how to fix it plz upload

  • @chinnitalks363
    @chinnitalks363 3 роки тому +1

    this is really good video

  • @hafizhalfiansyah6182
    @hafizhalfiansyah6182 3 роки тому

    Hi sir, I want to ask, I'm using a Tigger vnc, don't use a rich vnc in the video, is that possible ??

    • @SavvyNik
      @SavvyNik  3 роки тому

      Not sure haven't used it

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

    thank you for sharing.

    • @SavvyNik
      @SavvyNik  4 роки тому

      No problem Christian =)

  • @DirkGardner1
    @DirkGardner1 3 роки тому +1

    On the final step I get X server already running on display [my IP address]

    • @SavvyNik
      @SavvyNik  3 роки тому

      try the first pinned comment fix

    • @DirkGardner1
      @DirkGardner1 3 роки тому +1

      @@SavvyNik Thanks. The fix was to allow the app through windows firewall publicly. I didn't like this so managed to bypass the need for XFCE Desktop completely by installing and configuring xrdp and connecting via localhost Remote Desktop Connection. All the best!

    • @SavvyNik
      @SavvyNik  3 роки тому

      Awesome to hear!! Glad you got things figured out.

  • @jahanzaibahmad2212
    @jahanzaibahmad2212 3 роки тому

    Thanks for your nice turotial. After "startxfce4". The VcXsrv Server - Display is still blank and I am getting follwing message:
    /usr/bin/startxfce4: X server already running on display 172.22.0.1:0
    xrdb: Connection timed out
    xrdb: Can't open display '172.22.0.1:0'
    Unable to init server: Could not connect: Connection refused
    xfce4-session: Cannot open display: .
    Type 'xfce4-session --help' for usage.

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

      Hi, even i face the same issue. Are you able to resolve it. If so please share the steps
      @SavvyNik, please can you advise what needs to be done here

  • @nwedge4
    @nwedge4 3 роки тому +1

    I've tried this many times. X server already running on display 172.27.176.1:0. I can't get past this.

    • @benniesmit8479
      @benniesmit8479 3 роки тому +1

      Same here . Stuck

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

      @@benniesmit8479
      try setting it to:
      export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
      export LIBGL_ALWAYS_INDIRECT=1
      then run:
      source ~/.bashrc
      startxfce4

  • @edwardnihal248
    @edwardnihal248 3 роки тому

    Is it better to install Linux like this or in Virtual Machine, which one has a better performance?

    • @SavvyNik
      @SavvyNik  3 роки тому

      It's probably better to do Virtual Machine if you want the total experience of Linux.WSL will mainly give you access to a terminal/command line interface through a linux subsystem. Which doesn't really give you the desktop experience. You can set one up like we do in the video but that isn't the best way.

  • @nsxtogo6044
    @nsxtogo6044 3 роки тому

    awesome, Thank you very much.

    • @SavvyNik
      @SavvyNik  3 роки тому

      You are welcome! Glad you found the video helpful =)

  • @1.618.
    @1.618. 4 роки тому +1

    How about LinuxLite5.2 OS in WSL?

    • @SavvyNik
      @SavvyNik  4 роки тому

      It's not currently supported.

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

    wow! thank you!

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

    /usr/bin/startxfce4: X server already running on display 172.26.240.1:0
    what should I do

  • @thobekasithole5108
    @thobekasithole5108 3 роки тому +1

    Hi, this is a really great video. However, could you please assist. I did all the steps and in the end after typing "startxfce4" it says /usr/bin/startxfce4: X server already running on display 172.18.208.1:0 and nothing happens after that,

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      One of the comments in the comments section said to make sure to add vcxsrv into your firewall settings.
      For anyone facing issues:
      1) Go to start and type "Allow an app through windows firewall"
      2) Add VSXSRV application (C:\Program Files\VcXsrv\vcxsrv.exe)
      Otherwise you can try the pinned comment.

    • @indepmo
      @indepmo 3 роки тому +6

      You know what helped me? Using my local IPv4 address (mine was 192.168.0.11) instead of the using the nameserver address.
      In Power Shell:
      PS C:\Users\me> ipconfig
      Ethernet adapter Ethernet 4:
      Connection-specific DNS Suffix . :
      IPv4 Address. . . . . . . . . . . : 192.168.0.11
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.0.1

    • @SavvyNik
      @SavvyNik  3 роки тому +1

      @@indepmo Thanks for sharing.

    • @indepmo
      @indepmo 3 роки тому +1

      @@SavvyNik if only I could get pulse audio to work... This project has been looming for days.

    • @SavvyNik
      @SavvyNik  3 роки тому

      @@indepmo yeah that's a mess lol wish you the best xD

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

    was getting connection refused with nameserver than manually checking ip of windows machine then putting it there solved it

  • @gokulraj872
    @gokulraj872 3 роки тому

    Brother plz make video to install ubuntu desktop on windows 10

  • @AshitDebdas
    @AshitDebdas 3 роки тому +1

    Is audio worked?

    • @SavvyNik
      @SavvyNik  3 роки тому

      No

    • @AshitDebdas
      @AshitDebdas 3 роки тому

      @@SavvyNik how I can enable audio. In my research, I found something called PulseAudio. Don't know how to do that.. Can you help me out. I post the same question on the discord channel as well

  • @mohammadhassanpour9330
    @mohammadhassanpour9330 3 роки тому +1

    Web browser is not working it gives an error

  • @rajeevmittal6997
    @rajeevmittal6997 4 роки тому +1

    what I need to write if I need to install GNOME

    • @Highlazertech
      @Highlazertech 4 роки тому

      I need help with lunching GNOME in the ubuntu app on wsl 2. Does anyone know to do this task?

  • @suhailanjumabdurraheemsayy7639
    @suhailanjumabdurraheemsayy7639 4 роки тому +1

    Follow all steps. But could not get the black screen and later part done

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      Were you at least able to get the command line interface to work?

    • @suhailanjumabdurraheemsayy7639
      @suhailanjumabdurraheemsayy7639 4 роки тому +1

      @@SavvyNik all the earlier steps. That is installing xfce4 then that graphics default. Also saving nano editor file. Only the last two things i.e. black screen and final step to get gui is not working.

    • @SavvyNik
      @SavvyNik  4 роки тому +1

      @@suhailanjumabdurraheemsayy7639 did you make sure to put the -ac flag inside of vcxsrv?

    • @suhailanjumabdurraheemsayy7639
      @suhailanjumabdurraheemsayy7639 4 роки тому

      @@SavvyNik yes sir. I put -ac as well.

    • @suhailanjumabdurraheemsayy7639
      @suhailanjumabdurraheemsayy7639 4 роки тому +1

      @@SavvyNik finally done. I was typing start xfce4 instead of startxfce4 without space. Finally Done. Thanks a lot.

  • @reyhangunawan5827
    @reyhangunawan5827 4 роки тому +1

    wsl set default....invalid..please help me

    • @SavvyNik
      @SavvyNik  4 роки тому

      When are you getting this error?

    • @reyhangunawan5827
      @reyhangunawan5827 4 роки тому +1

      @@SavvyNik When I comment, I still can't ... I hope you can send WhatsApp, for me to ask

    • @SavvyNik
      @SavvyNik  4 роки тому

      @@reyhangunawan5827 There's a discord for the channel. Check it out in my about me page and you can post your questions on there.

    • @reyhangunawan5827
      @reyhangunawan5827 4 роки тому +1

      @@SavvyNik okay I go there, please help .. and thank you very much

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

    how to get gnome desktop

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

    well done

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

    Thanks, every things is OK but no sound.

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

      Great. Not sure about the sound I don't typically use it.