This post shows how to setup a workstation for various Linux distributions.

This uses the lxc scripts described in this blog post: http://www.pokorra.de/2015/02/setting-up-a-server-hosting-several-containers-with-some-useful-lxc-scripts/

Inside a container, you can install an LXDE or XFCE desktop and X2Go server. If you route traffic to port 22 of the container, you can connect with the x2goclient to your workstation.

For Ubuntu 14.04:

apt-get install lxde-core
apt-get install software-properties-common
apt-add-repository ppa:x2go/stable
apt-get update
apt-get install x2goserver

For Fedora 20:

yum install @lxde-desktop google-droid-*-fonts
yum install x2goserver

For CentOS 7:

yum -y groupinstall "Xfce"
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum install x2goserver
Setting up a Remote Linux Workstation in a Linux Container (LXC)
Tagged on: