As you know, the Windows 10 Anniversary Update έρχεται με τη λειτουργία Bash του Ubuntu. Πρόκειται για μια εφαρμογή που παρέχει πρόσβαση σε όλα τα characteristics of the Linux terminal, contains a basic set of tools, which can be extended using Ubuntu's default package manager. It looks like an Ubuntu virtual machine installed on Windows, like a Linux subsystem. Now imagine if you could run Unity, the default environment work of Ubuntu on Windows 10!
Yes it is possible. Let's see how it can be done.
Before proceeding, you should turn on the Bash for Ubuntu from the Windows settings.
Then you need to have a third server screen so that GUI applications can run on Ubuntu on Windows 10. Ubuntu's built-in X Server will not start if you don't install it. A good X Server application for Windows is the app Xming. To install it, follow the steps listed in official webpage.
After installing Xming on Windows 10, follow these steps:.
Open Bash in Ubuntu from the Start menu of Windows 10 and run it in the bash:
echo "export DISPLAY =: 0.0" >> ~ / .bashrc
Edit the file
/etc/dbus-1/session.conf
This can be done using nano editor from the console. Type the following:
nano /etc/dbus-1/session.conf
Find Point:
unix: tmpdir = / tmp
And change it to it:
tcp: host = localhost, port = 0
Press Ctrl + O to save the file and then Ctrl + X to exit nano.
Let's install the Unity and a few utilities:
apt-get install ubuntu-desktop unity compizconfig-settings-manager
Now, type compiz in bash and start Unity after a few seconds!
If you can not see your mouse pointer, you will need to open the compizconfig-settings-manager and enable the plugins:
Using the above tweak you can run many GUI tools including Firefox.
From Guerra24 @Github