Linux login with WSL


Xwindows with WSL



To run a remote Linux session on your PC, Windows Remote Desktop is the best option. X2go is a poor option, if you can get it to work at all. Here is another option: run Linux on your Windows PC.

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 Windows Remote Desktop. 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 Klayout or Layout CAD on your own computer, so that network speed will not be an issue.



Back to the list of tips