/ubuntu-gnome-vnc

Docker Ubuntu 18.04 with gnome and tightvnc server

Primary LanguageDockerfile

README

This creates a Docker container with Ubuntu 18.04 and TightVNC Server.

Usage

$ docker build -t xbroquer/ubuntu:18.04-gnome-vnc .

$ sudo docker run -it --rm -p 5901:5901 -e USER=asap  xbroquer/ubuntu:18.04-gnome-vnc  bash -c ' cat /home/asap/.vnc/xstartup &&  vncserver :1 -geometry 1680x1050 -depth 24 && tail -F /home/asap/.vnc/*.log'

Variant for gnome & xfce4

gnome desktop

$ cp xstartup.gnome xstartup

xfce4 desktop

$ cp xstartup.xfce4 xstartup

Usage

$ sudo docker build -t pascalbedouet/ubuntu:18.04-gnome-vnc .
$ sudo docker run -it --rm -p 5901:5901 -e USER=asap  pascalbedouet/ubuntu:18.04-gnome-vnc  bash -c 'cat /home/asap/.vnc/xstartup &&  vncserver :1 -geometry 1680x1050 -depth 24 && tail -F /home/asap/.vnc/*.log'

VNC password is 1234