xsrv is an open-source X server for Windows. It enables you to use Linux GUI applications in a Windows environment.
This tutorial will guide you through the installation process of xsrv on Elementary OS Latest.
Before you begin, ensure that you have the following:
Open the terminal application by pressing Ctrl + Alt + T
or searching for it in the applications menu.
Add the xsrv PPA repository by running the following command:
sudo add-apt-repository ppa:a-albionic/xsrv
sudo apt-get update
sudo apt-get install xsrv
xsrv :0 -multiwindow
The -multiwindow
option ensures that each Linux GUI application will run in its own window.
DISPLAY=:0
. For example, to run the gnome-calculator
application, run the following command:DISPLAY=:0 gnome-calculator
You should now see the gnome-calculator
application running in a new window.
xsrv is an excellent tool for running Linux GUI applications in a Windows environment. By following the steps in this tutorial, you should be able to install and use xsrv on Elementary OS Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!