This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Combination of: | |
https://gist.github.com/Ta180m/e1471413f62e3ed94e72001d42e77e22 | |
https://askubuntu.com/questions/1252007/opening-ubuntu-20-04-desktop-on-wsl2 | |
(Use the script in the last link in your .bashrc to automatically setup and start both VcXsrv+gnome correctly). | |
Then: | |
Allow VcXsrv in Windows firewall (otherwise you will get a black screen) | |
Now you can put this on a Windows second desktop, and switch between Windows and Ubuntu! : - D | |
If you want to switch seamlessly between virtual desktops without ubuntu being minimized, replace -fullscreen with -nodecoration in the .bashrc script. |