Connecting from windows to debian server with a remote desktop using x2go
written on 4 March 2018
1. Install openbox or any other desktop environment
2. Install x2go server on the remote machine (change distribution "stretch" as needed):
```
$ sudo apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E
$ echo 'deb http://packages.x2go.org/debian stretch main' | sudo tee /etc/apt/sources.list.d/x2go.list
$ sudo apt update && sudo apt install x2goserver x2goserver-xsession
```
4. There is a windows client for x2go ([https://code.x2go.org/releases/](https://code.x2go.org/releases/))