Here are some instructions I use to build a light weight gui in an LXC container. The window easily scales, and with Wine, Windows applications can be run without the Windows overhead.
Using X2Go Packages for Debian GNU/Linux as a reference, I created /etc/apt/sources.list.d/x2go.list with the following content:
# X2Go Repository (release builds) deb http://packages.x2go.org/debian stretch extras main # X2Go Repository (sources of release builds) deb-src http://packages.x2go.org/debian stretch extras main
I have the following primary sources in /etc/apt/sources.list:
deb [arch=amd64] http://ftp.us.debian.org/debian stable main contrib deb [arch=amd64] http://security.debian.org/debian-security stable/updates main contrib deb [arch=i386] http://ftp.us.debian.org/debian stable main contrib deb [arch=i386] http://security.debian.org/debian-security stable/updates main contrib
Then the following commands will add wine64, wine32, lxde, and x2go server:
vim.tiny /etc/apt/sources.list apt update dpkg --add-architecture i386 && apt-get update && apt-get install wine32 wine winetricks apt update apt --no-install-recommends install gnupg2 dirmngr apt-key adv --recv-keys --keyserver keyserver.ubuntu.com E1F958385BFE2B6E vim.tiny /etc/apt/sources.list.d/x2go.list apt update apt-get install x2go-keyring && apt-get update apt install \ --no-install-recommends \ xserver-xorg-core \ xserver-xorg-input-all \ xserver-xorg-video-fbdev \ xserver-xorg-video-vesa \ lxde \ x2goserver-xsession \ x2golxdebindings
VNC client is not used. An X2Go client is used instead. It seems to be fast and efficient. And works through ssh. It can even do a proxied hop through one ssh connection to a second ssh destination.