It it possible to use Gnome WM with Jupyter and VNC integration.
# change name of the image accordingly
IMAGE_PATH=/cm/images/image-name
yum --installroot=${IMAGE_PATH} install -y tigervnc-server
yum --installroot=${IMAGE_PATH} groupinstall -y workstation
mkdir -p ${IMAGE_PATH}/var/lib/systemd/linger
touch ${IMAGE_PATH}/var/lib/systemd/linger/root
Then it is required to reboot or re-sync nodes with the image.
If all steps were performed successfully users can create kernels as usual and have their desktop environments running withing WLM jobs.