As you know, the Windows 10 Anniversary Update έρχεται με τη λειτουργία Bash του Ubuntu. Πρόκειται για μια εφαρμογή που παρέχει πρόσβαση σε όλα τα χαρακτηριστικά του τερματικού του Linux, περιέχει ένα βασικό σύνολο εργαλείων, η οποία μπορεί να επεκταθεί χρησιμοποιώντας τον προεπιλεγμένο διαχειριστή πακέτων του Ubuntu. Μοιάζει σαν μια εικονική μηχανή Ubuntu εγκατεστημένη στο Windows, σαν υποσύστημα Linux. Φανταστείτε τώρα να μπορούσατε να τρέξετε το Unity, το προεπιλεγμένο περιβάλλον 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 a third screen server to allow GUI applications to run on Ubuntu in Windows 10. The built-in Ubuntu X Server will not start unless you install it. A good X Server for Windows application is 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 menu Start Windows 10 and run the following in bash:
echo "export DISPLAY =: 0.0" >> ~ / .bashrc
Edit the file
/etc/dbus-1/session.conf
This can be done by using the nano editor from the console. Type this:
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't see your mouse pointer, you should open compizconfig-settings-manager and enable the plugins:
Using the above tweak you can run many GUI tools including Firefox.
From Guerra24 @Github