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!
@SavvyNik3 жыл бұрын
Glad I could help, make sure to smash that like button for me if you haven't already ^^
@tinyoofman33613 жыл бұрын
Hey dude, just wanna say thanks so much! It worked first try for me. Hope the comments asking questions aren't too repetitive :)
@SavvyNik3 жыл бұрын
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.
@WillShattuck3 жыл бұрын
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 !!!!!!!
@SavvyNik3 жыл бұрын
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 =)
@SavvyNik4 жыл бұрын
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
@scgrigsby4 жыл бұрын
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.
@SavvyNik4 жыл бұрын
@@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_mendes2 жыл бұрын
This is still an issue, and this advice helped me. Thanks.
@mattronco2 жыл бұрын
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
@SavvyNik2 жыл бұрын
Glad you found the vid helpful!
@shellz831 Жыл бұрын
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 Жыл бұрын
haha thanks for sharing the exp
@anthonyrono8607 Жыл бұрын
this comment save me.
@maryamshrmi9 ай бұрын
thank u so much!!! you saved me after couple of hours of failing!!
@GANGSTA_CHUROOO8 ай бұрын
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
@satishgadade11934 жыл бұрын
thanks for sharing. i struggle hard to get this from different website but with your video. it worked.
@SavvyNik4 жыл бұрын
Awesome to hear!! Glad you found it helpful. Make sure to smash that like button for me if you haven't already =)
@d029w74 жыл бұрын
The tutorial is easy to follow. Thank you!
@SavvyNik4 жыл бұрын
Awesome to hear! Glad you enjoyed it and make sure to smash that like button for me if you haven't already =)
@adnanrasheed549410 ай бұрын
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.
@SavvyNik10 ай бұрын
Glad it helped!
@mr.anonymous2984 жыл бұрын
Wow, nice tutorial!! Thanks a lot, it worked for me perfectly!
@SavvyNik4 жыл бұрын
Awesome! Glad I could help =)
@winanci3 жыл бұрын
You're a superstart! Thanks. All good and done smoothly on my Windows Ubuntu
@SavvyNik3 жыл бұрын
You're welcome! Glad you got things running smoothly.
@SilentWinter-n1l3 жыл бұрын
this is the only way what have work for me!! THANKS MAN!
@SavvyNik3 жыл бұрын
You're welcome!! Make sure to smash the like button for me if you haven't already!
@arndsen3 жыл бұрын
It says after startxfce4 "/usr/bin/startxfce4: X server already running on display 172.31.240.1:0" what might be the problem?
@jemoeder8413 жыл бұрын
I have the same problem (but with another ip, 192.168.xx.x), did you fixed it?
@omraniomaima3 жыл бұрын
@@jemoeder841 same problem , did you found solution for this problem ??
@jemoeder8413 жыл бұрын
@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!
@omraniomaima3 жыл бұрын
@@jemoeder841 thanks 😃 , it works
@vijaykumarbarige56273 жыл бұрын
@@jemoeder841 yes, it worked like a charm. Thank you..
@martinsalmeida3213 жыл бұрын
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.
@TilSkywalker3 жыл бұрын
Did you find a solution for that?
@martinsalmeida3213 жыл бұрын
@@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.
@samihautamaki62292 жыл бұрын
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.
@frax11542 жыл бұрын
@@samihautamaki6229 Thank you
@Techscape82652 жыл бұрын
@@samihautamaki6229 how do you launch xlaunch locally
@rohitdesai84004 жыл бұрын
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. :)
@SavvyNik4 жыл бұрын
Thanks for sharing this =)
@SumanRajak-gb1yh2 жыл бұрын
You are a lifesaver...thanks a lot
@ReddSpark2 жыл бұрын
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.
@zakiwafiy4461 Жыл бұрын
the configuring lightdm 10:18 didn't show up for me
@imaprogrammer61544 жыл бұрын
Thank you very much for the nice explanation!
@SavvyNik4 жыл бұрын
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 =)
@justsomerandompersononthei25954 жыл бұрын
Ah yes, Lindows 10.
@SavvyNik4 жыл бұрын
Good ol windows! Haha for the people who don't want to step away and like using the windows tools xD
@justsomerandompersononthei25954 жыл бұрын
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.
@SavvyNik4 жыл бұрын
@@justsomerandompersononthei2595 Yeah the only thing it requires sometimes is patience :D
@danyliscia2 жыл бұрын
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.
@SavvyNik2 жыл бұрын
Thanks for the info! Glad you enjoyed the tutorial.
@wolfzert2 жыл бұрын
Excelente, me ayudo mucho tu tuto! :D
@johnmcgiv13 жыл бұрын
Excellent presentation.
@SavvyNik3 жыл бұрын
Glad you liked it!
@suribabu93964 жыл бұрын
Very nice.. its working...Thank you
@SavvyNik4 жыл бұрын
No problem, glad I could help! Make sure to smash that like button for me if you haven't already =)
@FeedScrn Жыл бұрын
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.
@bbrother926 ай бұрын
This does not works when you need to see desktop - it only opens standalone app - with no evnironment - only app isself
@AmyotsStuff4 жыл бұрын
/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
@metehanzor78982 жыл бұрын
I appreciate for the tutorial :)
@SavvyNik2 жыл бұрын
No problem!
@zakidzz3 жыл бұрын
i was all day in totorials and your workkkkkkkssssssssssssssssss
@SavvyNik3 жыл бұрын
Awesome to hear! Make sure to smash that like button for me if you haven't already =)
@zakidzz3 жыл бұрын
@@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 😂😂😂
@SavvyNik3 жыл бұрын
Well that means a lot!! Thanks for supporting the channel I appreciate it. Super glad you got things working.
@farazsalehi90343 жыл бұрын
-bash: export: `x.x.x.x:0': not a valid identifier at 11:58 ... any solutions ?
@chris1223803 жыл бұрын
Why install xfce and not the xubuntu package? That way you get the better Ubuntu xfce themeing?
@WarlikeLaux4 жыл бұрын
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.
@WarlikeLaux4 жыл бұрын
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.
@SavvyNik4 жыл бұрын
Read my pinned comment it might help you.
@WarlikeLaux4 жыл бұрын
@@SavvyNik I tried it, doesnt work(( Logs are up.
@rohitdesai84004 жыл бұрын
@@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. :)
@misten61pj5611 ай бұрын
default display manager pink screen doesn't come up after installing desktop
@philiptan93693 жыл бұрын
thanks, great video
@SavvyNik3 жыл бұрын
Glad you liked it! You're welcome.
@helgeapps3 жыл бұрын
startxfce4: X server already running on display - and no window with display...
@helgeapps3 жыл бұрын
video is wrong, you should use local ip of your windows pc adapter, and not wsl ip adapter
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
@scooterdude1711 ай бұрын
I had the same issue. It stayed at the terminal
@hariharanramamurthy99464 жыл бұрын
thanks for your clear command guidance,can you say how to end xfce4
@SavvyNik4 жыл бұрын
@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).
@yumyum32664 жыл бұрын
gonna try this out 😍😍😍😍
@SavvyNik4 жыл бұрын
Have fun =D
@Inv4d3rSum0 Жыл бұрын
What if the purple screen never pops up asking what I want to install???
@thepelican38104 жыл бұрын
when I type startxfce4 and push enter I get xrdb: Connection timed out
@jiamingwang96534 жыл бұрын
I have the same problem
@fleatoncontour52134 жыл бұрын
I added C:/Program Files/VcXsrv/vcxsrv.exe to firewall exceptions and it started working.
@jpq64834 жыл бұрын
@@fleatoncontour5213 thanks man
@oscarc.1656 Жыл бұрын
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
@lebanbo556 ай бұрын
Hi oscarc. I had a same issue. Did you solve it ? thanks.
@oscarc.16566 ай бұрын
@@lebanbo55 no sorry It did not workout for me. I kept searching online for other sources then gave up
@scooterdude1711 ай бұрын
I am following step by step and I was not prompted for the display manager. Anyone know how I get to the menu?
@roiskelappa5597 Жыл бұрын
This seems to not work anymore, the installation does not ask for a display manager and nothing shows up on VcXsrv.
@thwisse2 жыл бұрын
wow! thank you!
@SavvyNik2 жыл бұрын
Np
@aningako4 жыл бұрын
thank you for sharing.
@SavvyNik4 жыл бұрын
No problem Christian =)
@code86312 жыл бұрын
was getting connection refused with nameserver than manually checking ip of windows machine then putting it there solved it
@blackknight97104 жыл бұрын
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."
@pranavtupe82903 жыл бұрын
I am also facing same problem
@MartyJames234 ай бұрын
Im going through the same problem as well.
@MartyJames234 ай бұрын
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
@chinnitalks3634 жыл бұрын
this is really good video
@SavvyNik4 жыл бұрын
Thanks
@ygrittesnow17014 жыл бұрын
Instead of loading that gui at 10:13 it just returned me to the command line.?
@SavvyNik4 жыл бұрын
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.
@ygrittesnow17014 жыл бұрын
@@SavvyNik I never got the gui menu that was depicted at 10:13. I did however get the xfce open.
@SavvyNik4 жыл бұрын
@@ygrittesnow1701 Maybe you didn't have one already defaulted? Interesting, but glad you got XFCE working.
@kabiawuabdulwaduud42042 жыл бұрын
Please sir I have tried every command in the powershell but I keep getting help list of commands
@louiereyes13064 ай бұрын
Thank you so much! 1issue I have with the GUI is it's flagged as trojan by some AV. is it resolved now?
@greggv8 Жыл бұрын
startxfce4 tells me it's already running but the Linux desktop window remains all blank and black
@TRUTHF0RCE Жыл бұрын
How different is doing this compared to running Ubuntu in virtual box? Is this lighter?
@SavvyNik Жыл бұрын
Yes it can take less space if you’re worried about it
@sollunayoga89833 жыл бұрын
Nice Video, how much storage space has the subsystem?
@SavvyNik3 жыл бұрын
It grows until it can't grow anymore... haha it's whatever the system storage is.
@imsangimchen29004 жыл бұрын
Thanks for sharing. Worked perfectly fine. Can someone please explain what the additional parameter "-ac" for VcXsvr does?
@SavvyNik4 жыл бұрын
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
@imsangimchen29004 жыл бұрын
@@SavvyNik Thanks man. Really appreciate it.
@SavvyNik4 жыл бұрын
@@imsangimchen2900 No problem, make sure to smash that like button for me on the video if you haven't already =)
@imsangimchen29004 жыл бұрын
@@SavvyNik consider it done :)
@SavvyNik4 жыл бұрын
@@imsangimchen2900 Awesome ^^
@3DBricksrevival2 жыл бұрын
help the ubuntu says that its already started and the screen is still black
@vvvv-lp8tm2 жыл бұрын
I was gonna say hes a genious but i see I must say he is a freaking genious instead!
@SavvyNik2 жыл бұрын
Haha well that’s kind
@michaelinzo Жыл бұрын
I got /usr/bin/startxfce4: Starting X server /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
@DirkGardner13 жыл бұрын
On the final step I get X server already running on display [my IP address]
@SavvyNik3 жыл бұрын
try the first pinned comment fix
@DirkGardner13 жыл бұрын
@@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!
@SavvyNik3 жыл бұрын
Awesome to hear!! Glad you got things figured out.
@jonathanmoore56194 жыл бұрын
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.
@SavvyNik4 жыл бұрын
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.
@jonathanmoore56194 жыл бұрын
@@SavvyNik I found a solution. I'll post the link if anyone is interested. Cheers.
@SavvyNik4 жыл бұрын
@@jonathanmoore5619 Yeah you should post the link. You're not the first person to ask. Thanks!
@jonathanmoore56194 жыл бұрын
@@SavvyNik kzbin.info/www/bejne/pHymlmyLepKkq6M Here it is.... Ubuntu.
@SavvyNik4 жыл бұрын
@@jonathanmoore5619 Thanks for sharing this!
@ea_stus2 жыл бұрын
Nice!
@colinfousek3 жыл бұрын
Help, when i put in the start command, it says already running and nothing happens with xlaunch
@nsxtogo60443 жыл бұрын
awesome, Thank you very much.
@SavvyNik3 жыл бұрын
You are welcome! Glad you found the video helpful =)
@Goodborni3 жыл бұрын
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
@SavvyNik3 жыл бұрын
The newer WSL2 with GUI works better (look up gwsl).
@Goodborni3 жыл бұрын
@@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?
@SumanRajak-gb1yh2 жыл бұрын
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
@soonmyunjang31062 жыл бұрын
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.
@shyamprasaths42013 жыл бұрын
instead using virtual machine for run ubuntu , Is this method will reduce of consuming our resources ??? or both method will take similar resources
@SavvyNik3 жыл бұрын
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.
@suribabu93964 жыл бұрын
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?
@SavvyNik4 жыл бұрын
Read the pinned comment.
@suhailanjumabdurraheemsayy76394 жыл бұрын
Follow all steps. But could not get the black screen and later part done
@SavvyNik4 жыл бұрын
Were you at least able to get the command line interface to work?
@suhailanjumabdurraheemsayy76394 жыл бұрын
@@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.
@SavvyNik4 жыл бұрын
@@suhailanjumabdurraheemsayy7639 did you make sure to put the -ac flag inside of vcxsrv?
@suhailanjumabdurraheemsayy76394 жыл бұрын
@@SavvyNik yes sir. I put -ac as well.
@suhailanjumabdurraheemsayy76394 жыл бұрын
@@SavvyNik finally done. I was typing start xfce4 instead of startxfce4 without space. Finally Done. Thanks a lot.
@g5855552 жыл бұрын
感謝你的教學~
@mohammadhassanpour93303 жыл бұрын
Web browser is not working it gives an error
@NomadYeldarb3303 Жыл бұрын
well done
@Just_A_History_Nerd Жыл бұрын
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 Жыл бұрын
Apparently, preventing Ubuntu from going to sleep, will prevent this from happening
@wany11 Жыл бұрын
i get a segmentation fault error any help ?
@pasquinarinaldi77513 жыл бұрын
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?
@SavvyNik3 жыл бұрын
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.
@ssffyy94012 жыл бұрын
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.
@spectacularangular637Ай бұрын
10:20 i dont have this step...
@reyhangunawan58274 жыл бұрын
wsl set default....invalid..please help me
@SavvyNik4 жыл бұрын
When are you getting this error?
@reyhangunawan58274 жыл бұрын
@@SavvyNik When I comment, I still can't ... I hope you can send WhatsApp, for me to ask
@SavvyNik4 жыл бұрын
@@reyhangunawan5827 There's a discord for the channel. Check it out in my about me page and you can post your questions on there.
@reyhangunawan58274 жыл бұрын
@@SavvyNik okay I go there, please help .. and thank you very much
@crystalwalker34303 жыл бұрын
What does this mean? /usr/bin/startxfce4: X server already running on display 172.168.150.1:0
@SavvyNik3 жыл бұрын
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.
@nwedge43 жыл бұрын
I've tried this many times. X server already running on display 172.27.176.1:0. I can't get past this.
@benniesmit84793 жыл бұрын
Same here . Stuck
@Xeniammm3 жыл бұрын
@@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
@albynano46192 ай бұрын
Can I use gnome instead ?
@harshjain1963 жыл бұрын
for me, windows update its saying 21h2 what to do?
@1.618.4 жыл бұрын
How about LinuxLite5.2 OS in WSL?
@SavvyNik4 жыл бұрын
It's not currently supported.
@ashutoshpandey81073 жыл бұрын
bro my not work cd and ls in win10 this is problem but how to fix it plz upload
@aa36974203 жыл бұрын
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)
@SavvyNik3 жыл бұрын
Look at the pinned comment and see if that might help.
@tenroh564 жыл бұрын
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.
@SavvyNik4 жыл бұрын
No, volume isn't something I was concerned about working with this setup.
@rajeevmittal69974 жыл бұрын
what I need to write if I need to install GNOME
@Highlazertech4 жыл бұрын
I need help with lunching GNOME in the ubuntu app on wsl 2. Does anyone know to do this task?
@Franseven3 жыл бұрын
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
@SavvyNik3 жыл бұрын
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.
@Franseven3 жыл бұрын
@@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
@SavvyNik3 жыл бұрын
Not that I'm aware of.
@chinnitalks3634 жыл бұрын
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
@SavvyNik4 жыл бұрын
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.
@markojudas4 жыл бұрын
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).
@SavvyNik4 жыл бұрын
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).
@markojudas4 жыл бұрын
@@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. :)
@SavvyNik4 жыл бұрын
@@markojudas Yeah that's probably a great idea =D
@jahanzaibahmad22123 жыл бұрын
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.
@saurabhnigam82882 жыл бұрын
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
@hafizhalfiansyah61823 жыл бұрын
Hi sir, I want to ask, I'm using a Tigger vnc, don't use a rich vnc in the video, is that possible ??
@SavvyNik3 жыл бұрын
Not sure haven't used it
@thobekasithole51084 жыл бұрын
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,
@SavvyNik4 жыл бұрын
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.
@indepmo4 жыл бұрын
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
@SavvyNik4 жыл бұрын
@@indepmo Thanks for sharing.
@indepmo4 жыл бұрын
@@SavvyNik if only I could get pulse audio to work... This project has been looming for days.
@SavvyNik4 жыл бұрын
@@indepmo yeah that's a mess lol wish you the best xD
@gokulraj8723 жыл бұрын
Brother plz make video to install ubuntu desktop on windows 10
@AshitDebdas3 жыл бұрын
Is audio worked?
@SavvyNik3 жыл бұрын
No
@AshitDebdas3 жыл бұрын
@@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
@urugari63574 жыл бұрын
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.
@SavvyNik4 жыл бұрын
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.
@urugari63574 жыл бұрын
thank you for the reply ill make sure to check it out 🙏
@SavvyNik4 жыл бұрын
@@urugari6357 no problem!
@urugari63574 жыл бұрын
@@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
@SavvyNik4 жыл бұрын
@@urugari6357 hmm the pinned command didn't work for you? export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
@circleubuntu3 жыл бұрын
Thanks
@SavvyNik3 жыл бұрын
You're welcome!
@edwardnihal2484 жыл бұрын
Is it better to install Linux like this or in Virtual Machine, which one has a better performance?
@SavvyNik4 жыл бұрын
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.
@nikhiljohnjose67394 жыл бұрын
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...
@SavvyNik4 жыл бұрын
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.
@SavvyNik4 жыл бұрын
@@jumarkow Awesome!! Thanks for the instructions. I'm sure it will help some others!