WSL instead of x2go


Xwindows with WSL instead of x2go



To run Xwidows on your PC, x2go is the best option - if you can get it to work. If you have fussed over x2go and you are ready to give up, here is an alternative. (Actually there are a lot of alternatives, but WSL is by far the simplest to install.)

If your PC is running Windows-11 then you can install Ubuntu Linux and Xwindows by opening a command window (or power-shell) with administrator privilege and typing

wsl --install

Under Windows-10, the "Windows Subsystem for Linux" included the bulk of Linux but not Xwindows graphics. Under Windows-11, you get both in one simple installation.

After installing wsl, you can start a command window on your PC, then type "wsl" to turn the command window into a Linux terminal. In that Linux terminal, connect to the server with a command like

ssh -Y your.name@servername.yale.edu

This does not produce a GUI desktop view, but text commands like "layout", "cjob", "beamer", and "emacs" will pop up their usual graphics windows. You do not really need the lame Linux file view window, because you know commands like "cd" and "ls". And you are not a baby, so get over it.

Here's the problem: WSL does not send a bitmap to your PC, unlike x2go. WSL sends all of the grotesquely verbose Xwindows traffic through the network, which means you need a very fast network connection. On-campus wifi is not fast enough! You need a hard-wired ethernet connection to run Layout CAD. Other less demanding programs (cjob, beamer) will be ok over wifi, but mouse/cursor operation will have a lot of lag.

Consider running Layout CAD on your own computer, so that network speed will not be an issue. We have a site license (at Yale) so you can ask the local e-beam person for a license that you can use on your own PC.



Back to the list of tips