You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I finally managed to run Unity inside WSL, this shows that is fully capable of running an entire Desktop Environment, there is some issues with dbus and sometimes VcXsrv crashes, also you can't logout and the only way of exiting is closing compiz.
The only programs that can be opened are in the panel and there is no way of opening the terminal inside unity, for do this you need to open another bash in Windows, export the display and run gnome-terminal, after that the terminal will show up so lock that in the panel for future use.
EDIT 2:
This not applies only for Unity, I also tested xfce4 but in this case only the dbus fix is required for running but this has more bugs.
Reacted by Alexander Whatley, juanpex, V字龍(Vdragon), Nissan Ahmed, Joris, Stephan Simon, Tim Süberkrüb, Denis, Michael Thomason, Antonios Karamitros and 235 more
Reacted by Reense, Eirik Mildestveit Hammerstad, jiangshengda, adrianrivers, nancolin, Gabriel Sieben, Nirmal Guru, Avindra Goolcharan, soleil, sc268 and 8 more
Reacted by wjhill, gulbanana, Enmanuel Rivera, Travis Glines, Maqbool Khan, Võ Anh Duy, Faraj Farook, Nehemuel García, Jonas Gröger, patricknwn and 81 more
Reacted by Verld, ibrahim yöndemli and Andy Walker
Reacted by Adolfo Jayme-Barrientos, juanpex, Nico Maas, Daniel Sikorski, Émilien (perso), Gabriel JUCHAULT, Michael Thomason, Jonathan Rose Dunlap, Vincent Cloutier, bootstraponline and 143 more
Reacted by Ardeshir Izadi, souserge and Jonathan Fraine
Gonna see if I can use the dbus trick to get guake running
Reacted by Denis, claudiouzelac, yang, Kaelan Cooter, Nick Moran, Bryce Glover, John Sotiropoulos, Fanfan54, Navonil Mukherjee, Robert Washbourne and 6 more
I could not get guake running Lili (@Guerra24) . Wanna give it a go? It said it failed on come kind of notification plugin for freedesktop not being available.
Ok paladox. For Unity: Important: Before doing this apply the fix for dbus that i leaved before.
Install VcXsrv and open XLaunch. Leave it like this:
Other settings leave as default and finish the configuration.
Now open bash, install ubuntu-desktop, unity and ccsm. Export the display and open ccsm.
Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.
(sorry for spanish text mixed with english, some issues with locales). Now close ccsm and open compiz.
Compiz will load and seconds later unity will show up.
To exit from unity close bash or kill compiz, the only way of closing unity. For XFCE:
The same configuration for VcXsrv applies here and only run xfce4-session.
Reacted by Gowtham Sadasivam, Jaime Martín, Rayan Alsolami, Turbidsoul, wen, Injoy, walkblank, wcavell, Romain Hamm, xrmr and 92 more
Reacted by 03968, Ravindu Liyanapathirana, Martinez, mrdomiciano, WhatAKitty and Mário Davi
Reacted by 03968, Cat, Richard Yu, Alexander Murphy, Wiesław Šoltés, RetroX, Lykakspars, Martinez, basabuber, Adam and 7 more
Reacted by 03968, Richard Astbury, Sören Wegener, Martino Mensio, Wiesław Šoltés, basabuber, Jackson Hu, Shucheng Lu, Gabriel Sieben, Felipe Thomas Vargas de Souza and 1 more
Reacted by 03968 and Martinez
Reacted by 03968, lateau, Fernando Montoya, akapril, David Lartey, Sorin Iclanzan, danielmm8888, Sören Wegener, Azhe Kun, Wiesław Šoltés and 26 more
I can't just keep ignoring the comments... sorry. It's been a while since the last time I even tried this, IIRC with 16.04 it had the missing desktop. Since the initial research and announcement here I haven't work on it, apart from that single test, because there is nothing more to do. From here it's all on side of the X-Server you're using if they decide to improve or implement the missing stuff.
Also I'm sorry for the insane amount of comments and issues opened here due to this, I did expect this to get attention after the articles in different pages but didn't expect to be that amount, and the off-topic nature of them.
I will be unsubscribing from the issue, if you need help ask people who knows better how to deal with the Run a DE on WSL thing, they know better and have more experience than me.
I use a taskbar shortcut to ""C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -clipboard -nowgl" that gives me good daily windowed use ( tinyurl.com/donofrioworkremmina2020 )
I've use xfce4 daily for three years now in wsl1 w/ubuntu18.04 - my steps are in the raw document located at tinyurl.com/donofrioworkremmina2020 you need to export env's and start services like dbus to have true happiness. I think we are one of 10k folks doing full gui within w10 ;)
how would you start a Kubuntu-desktop. I installed it via sudo apt-get install kubuntu-desktop but can't really get it working with VcXsrv. Any help.
I tried startkdestartkubuntustartkubunutu-desktop.
WSL 2 says start**** command not found.
The thing is, the GUI support is meant for applications, not for an entire desktop experience. For starters, only xfce4 is supported and the process is even listed on the official ubuntu website under their WSL section. I've also tried to run multiple flavors on it but to no avail since there is not much discussion on it. Also, the essence is the file system which can be accessed with \wsl$ in File Explorer. So, I think instead of giving time to run an entire desktop on WSL, try to do your work with the existing framework since it is already pretty good.
how would you start a Kubuntu-desktop. I installed it via sudo apt-get install kubuntu-desktop but can't really get it working with VcXsrv. Any help.
I tried startkdestartkubuntustartkubunutu-desktop.
WSL 2 says start**** command not found.
Activity
fpqc commentedon Jul 9, 2016
Gonna see if I can use the dbus trick to get guake running
paladox commentedon Jul 10, 2016
Lili (@Guerra24) hi could you upload some images of you doing it please so we can follow it please.
fpqc commentedon Jul 10, 2016
I could not get guake running Lili (@Guerra24) . Wanna give it a go? It said it failed on come kind of notification plugin for freedesktop not being available.
Guerra24 commentedon Jul 10, 2016
Ok paladox.

For Unity:
Important: Before doing this apply the fix for dbus that i leaved before.
Install VcXsrv and open XLaunch. Leave it like this:
Other settings leave as default and finish the configuration.





Now open bash, install ubuntu-desktop, unity and ccsm. Export the display and open ccsm.
Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.
(sorry for spanish text mixed with english, some issues with locales). Now close ccsm and open compiz.
Compiz will load and seconds later unity will show up.
To exit from unity close bash or kill compiz, the only way of closing unity.
For XFCE:
The same configuration for VcXsrv applies here and only run xfce4-session.
robinduckett commentedon Jul 10, 2016
Any way to achieve a unified desktop environment with windows?
paladox commentedon Jul 10, 2016
Thank you. Lili (@Guerra24) I'm getting something to do with proxy error now.
Guerra24 commentedon Jul 10, 2016
Robin Duckett (@robinduckett) From what i tested no.
[-]Running Unity Desktop in WSL[/-][+]Run any Desktop Environment in WSL[/+]paladox commentedon Jul 10, 2016
Lili (@Guerra24) hi, I'm getting this error
ERROR 2016-07-10 20:14:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
WARN 2016-07-10 20:14:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method SuspendAllowed: Timed out waiting for proxy
paladox commentedon Jul 10, 2016
Lili (@Guerra24) If possible could there be a video please. Your steps are clear but seems I might be doing something wrong.
Guerra24 commentedon Jul 10, 2016
paladox I have the same errors but i only leave it finish and loads correctly. See:

paladox commentedon Jul 10, 2016
Oh Lili (@Guerra24) thanks, how long did it take for you to load please.
paladox commentedon Jul 10, 2016
Also is it normal to get these errors
ERROR 2016-07-10 20:57:42 unity.session.gnome GnomeSessionManager.cpp:399 UPower call failed: Timed out waiting for proxy
WARN 2016-07-10 20:57:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method HibernateAllowed: Timed out waiting for proxy
ERROR 2016-07-10 20:57:42 unity.session.gnome GnomeSessionManager.cpp:399 UPower call failed: Timed out waiting for proxy
WARN 2016-07-10 20:57:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method SuspendAllowed: Timed out waiting for prox
Guerra24 commentedon Jul 10, 2016
paladox Yes, for me it took like 30~ secs from compiz run to unity but sometimes take 1min+ to load.
paladox commentedon Jul 10, 2016
Lili (@Guerra24) Oh, it is still on that screen 5+ mins now I think 10+ now.
321 remaining items
TomatoJing commentedon Jul 4, 2019
me too, if you sloved the problem,please tell me
lennondotw commentedon Jul 6, 2019
Me too.
lewisdonofrio commentedon Jul 6, 2019
How do you start VcXsrv I use:
"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -clipboard -wgl
--full write up at tinyurl.com/donofrioworkdesk
Ashestar commentedon Sep 1, 2019
so do you guys solve the problem? It's okay for me to use xfce4, but I have the same problem like you when using Ubuntu-desktop.
Guerra24 commentedon Sep 2, 2019
Awakened Redstone (@Awakened-Redstone) TomatoJing @ReekyStive Travis (@travst) and everyone who still reads this.
I can't just keep ignoring the comments... sorry. It's been a while since the last time I even tried this, IIRC with 16.04 it had the missing desktop. Since the initial research and announcement here I haven't work on it, apart from that single test, because there is nothing more to do. From here it's all on side of the X-Server you're using if they decide to improve or implement the missing stuff.
Also I'm sorry for the insane amount of comments and issues opened here due to this, I did expect this to get attention after the articles in different pages but didn't expect to be that amount, and the off-topic nature of them.
I will be unsubscribing from the issue, if you need help ask people who knows better how to deal with the Run a DE on WSL thing, they know better and have more experience than me.
figozhang commentedon Jan 18, 2020
my host PC display resolution is 1920x1080, but in Xlaunch the resolution only 1280x720, how let it support 1920x1080?
lewisdonofrio commentedon Jan 18, 2020
I use a taskbar shortcut to ""C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -clipboard -nowgl" that gives me good daily windowed use ( tinyurl.com/donofrioworkremmina2020 )
m-salman-afzal commentedon Apr 7, 2020
I got WSL 2 working in X-server (VcXsrv) from here: https://autoize.com/xfce4-desktop-environment-and-x-server-for-ubuntu-on-wsl-2/

But the problem is, if you get disconnected from the internet, then VcXsrv crashes only showing the wallpaper and when you reconnect, after some time, it becomes like this:
lewisdonofrio commentedon Apr 7, 2020
I've use xfce4 daily for three years now in wsl1 w/ubuntu18.04 - my steps are in the raw document located at tinyurl.com/donofrioworkremmina2020 you need to export env's and start services like dbus to have true happiness. I think we are one of 10k folks doing full gui within w10 ;)

zhcosin commentedon Jun 7, 2020
Me too, but Xfce work well.
adhadse commentedon Oct 12, 2020
how would you start a Kubuntu-desktop. I installed it via
sudo apt-get install kubuntu-desktopbut can't really get it working with VcXsrv. Any help.I tried
startkdestartkubuntustartkubunutu-desktop.WSL 2 says start**** command not found.
m-salman-afzal commentedon Oct 12, 2020
The thing is, the GUI support is meant for applications, not for an entire desktop experience. For starters, only xfce4 is supported and the process is even listed on the official ubuntu website under their WSL section. I've also tried to run multiple flavors on it but to no avail since there is not much discussion on it. Also, the essence is the file system which can be accessed with \wsl$ in File Explorer. So, I think instead of giving time to run an entire desktop on WSL, try to do your work with the existing framework since it is already pretty good.
lewisdonofrio commentedon Oct 12, 2020
I do not know if it works with WSL1 (I see your WSL2 but I'm still WSL1 and only XFCE4 has worked for my daily needs) https://www.tinyurl.com/donofrioworkremmina2020 has my "raw" steps ensure you export your display and then it should start one you start dbus and the like.
adhadse commentedon Oct 12, 2020
I don't know what BUT somehow kde is now working. I tried xfce4 but kde started.. ?

adhadse commentedon Oct 12, 2020
While there are some stuff of XFCE4 like the top bar.. i don't know what crap I have done