Enable Ubuntu Desktop Environment On Windows 10

---
action: Back 返回
date: Jul 13, 2016
category: Linux & Server
tags:
- WSL
---

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.

Coding In xface4

Retrieved from this post in BashOnWindows GitHub site.

For Unity

  1. Run following code on Bash On Windows:

    1
    2
    echo "export DISPLAY=:0.0" >> ~/.bashrc
    sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=0</listen>$' /etc/dbus-1/session.conf
  2. 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.

  3. Now open bash, install ubuntu-desktop, unity and ccsm:

    1
    sudo apt-get install ubuntu-desktop unity compizconfig-settings-manager

    Export the display:

    1
    export DISPLAY=localhost:0

    and open ccsm.

  4. Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.

  5. Now close ccsm and open compiz.

    Compiz will load and seconds later unity will show up.

  6. To exit from unity close bash or kill compiz, the only way of closing unity.

For XFCE

  1. The same configuration for VcXsrv applies here.

  2. Install xfce4-session:

    1
    sudo apt-get install xfce4-session

    and run xfce4-session.

Navigation

Not the Footnote

The site is proudly powered by Hexo and using a site strcuture from the Hexo theme called Nayo.

The site is powered by the glorious CSS from bettermotherf**kingwebsite.com with some tweaks. Censored the f-word for good.

Possibly the Footnote

Main | Access | RSS | Sitemap
2008 - 2020 | Patrick WU Jinming