Enable Ubuntu Desktop Environment On Windows 10---
action: Back 返回
date: Jul 13, 2016
category: Linux & Server
Right now, using X server, CCSM, Compiz and other components with Bash On Ubuntu On Windows, You can now run Linux desktop environment from Windows desktop.
Retrieved from this post in BashOnWindows GitHub site.
Run following code on Bash On Windows:
echo "export DISPLAY=:0.0" >> ~/.bashrc
sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=0</listen>$' /etc/dbus-1/session.conf
Install VcXsrv and open XLaunch. Choose “One large window” with display number as 0 like this:
Other settings leave as default and finish the configuration.
Now open bash, install ubuntu-desktop, unity and ccsm:
sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager
Export the display:
and open ccsm.
Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.
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.
The same configuration for VcXsrv applies here.
sudo apt-get install xfce4-session
and run xfce4-session.