Skip to content

oouyang/docker-headless-vnc-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker containers with "headless" VNC session

  • consol/ubuntu-xfce-vnc
  • consol/centos-xfce-vnc

The repository contains a collection of Docker images with headless VNC environments.

Each docker image is installed with the following components:

  • Desktop environment Xfce4
  • VNC-Server (default VNC port 5901)
  • noVNC - HTML5 VNC client (default http port 6901)
  • Java JRE 8
  • Browsers:
    • Mozilla Firefox + Java Plugin
    • Google Chrome (Java-Plugin is no longer supported)

Current provided OS & UI sessions:

  • Centos7 with Xfce4 UI session:

    Run command with mapping to local port 5911:

    docker run -d -p 5901:5901 -p 6901:6901 consol/centos-xfce-vnc
    

    Build image from scratch:

    docker build -t consol/centos-xfce-vnc centos-xfce-vnc
    

    => connect via VNC viewer localhost:5901, default password: vncpassword

    => connect via noVNC HTML5 client: http://localhost:6901/vnc_auto.html?password=vncpassword

  • Ubuntu 14.04 with Xfce4 UI session:

    Run command with mapping to local port 5902:

    docker run -d -p 5902:5901 -p 6902:6901 consol/ubuntu-xfce-vnc
    

    Build image from scratch:

    docker build -t consol/ubuntu-xfce-vnc ubuntu-xfce-vnc
    

    => connect via VNC viewer localhost:5902, default password: vncpassword

    => connect via noVNC HTML5 client: http://localhost:6902/vnc_auto.html?password=vncpassword

Hints

override the VNC password

Simple override the value of the environment variable VNC_PW. For example in the docker run command:

docker run -it -p 5911:5901 -p 6902:6901 -e "VNC_PW=my-new-password" consol/centos-xfce-vnc

Contact

For questions or maybe some hints, feel free to contact us via sakuli@consol.de or open an issue.

The guys behind:

ConSol Consulting & Solutions Software GmbH
Franziskanerstr. 38, D-81669 München
Tel. +49-89-45841-100, Fax +49-89-45841-111
Homepage: http://www.consol.de E-Mail: info@consol.de

About

Collection of Docker images with headless VNC environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%