Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_notes:vnc [2024-12-26 Thu wk52 12:23] baumkpdocker_notes:vnc [2025-07-05 Sat wk27 18:36] (current) baumkp
Line 1: Line 1:
 +{{tag>linux docker VNC guacamole}}
 +======VNC======
 +I set up Guacamole using [[https://www.smarthomebeginner.com/install-guacamole-on-docker/|Install Guacamole on Docker – VNC, SSH, SFTP, and RDP like a Boss!]].
 +
 +  * <ctrl><shift<alt> keystroke in a Guacamole session opens and closes the Guacamole control panel.
 +
 +++++My docker-compose.yml|
 +<code yaml>---
 +services:
 +# MariaDB - MySQL Database
 +  mariadb:
 +    container_name: guac_db
 +    image: linuxserver/mariadb:latest
 +    restart: always
 +    networks:
 +#      - proxy
 +      - guac
 +    security_opt:
 +      - no-new-privileges:true
 +#    ports:
 +#      - "3306:3306"
 +    volumes:
 +      - ./data/db:/config
 +      - /etc/timezone:/etc/timezone:ro
 +      - /etc/localtime:/etc/localtime:ro
 +    environment:
 +      - PUID=$PUID
 +      - PGID=$PGID
 +      - MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
 +
 +# Guacamole Daemon - Needed for Guacamole
 +  guacd:
 +    image: guacamole/guacd
 +    container_name: guacd
 +    restart: unless-stopped
 +    security_opt:
 +      - no-new-privileges:true
 +    networks:
 +#      - proxy
 +      - guac
 +
 +# Guacamole - Remote desktop, SSH, on Telnet on any HTML5 Browser 
 +# Create all databases and tables first
 +  guacamole:
 +    image: guacamole/guacamole:latest
 +    container_name: guacamole
 +
 +    restart: unless-stopped
 +
 +    networks:
 +      - proxy
 +      - guac
 +    
 +    security_opt:
 +      - no-new-privileges:true
 +   
 +#   ports:
 +#      - "8089:8080"
 +    
 +    environment:
 +      GUACD_HOSTNAME: guacd
 +      MYSQL_HOSTNAME: mariadb
 +      MYSQL_PORT: $DB_PORT
 +      MYSQL_DATABASE: guacamole
 +      MYSQL_USER: $GUAC_MYSQL_USER
 +      MYSQL_PASSWORD: $GUAC_MYSQL_PASSWORD
 +    
 +    depends_on:
 +      - mariadb
 +      - guacd  
 +
 +    labels:
 +      - "traefik.enable=true"
 +      - "traefik.docker.network=proxy"
 +      ## HTTP Routers
 +      - "traefik.http.routers.guacamole.entrypoints=https"
 +      - "traefik.http.routers.guacamole.rule=Host(`guac.local.kptree.net`)"
 +      - "traefik.http.routers.guacamole.tls=true"
 +      ## Middlewares
 +      #- "traefik.http.routers.guacamole-rtr.middlewares=chain-authelia@file,add-guacamole" 
 +      - "traefik.http.middlewares.add-guacamole.addPrefix.prefix=/guacamole"
 +      - "traefik.http.routers.guacamole.middlewares=add-guacamole"
 +      ## HTTP Services
 +      - "traefik.http.routers.guacamole.service=guacamole"
 +      - "traefik.http.services.guacamole.loadbalancer.server.port=8080"        
 +
 +networks:
 +  proxy:
 +    external: true
 +  guac:
 +</code>
 +++++
 +
 +
 +
 +====References====
 +  *How to Forge [[https://www.howtoforge.com/how-to-install-vnc-server-on-debian-12/|How to Install VNC Server on Debian 12]]
 +  *[[https://shape.host/resources/how-to-set-up-and-install-vnc-server-on-debian-12|How to Set Up and Install VNC Server on Debian 12]]
 +  *[[https://computingforgeeks.com/install-and-configure-tigervnc-vnc-server-on-debian/|Install and Configure TigerVNC VNC on Debian 12/11/10]]
 +  *[[https://github.com/novnc/noVNC|Github noVNC]]
 +  *[[https://novnc.com/info.html|noVNC]]
 +  *[[https://guacamole.apache.org/|Apache Guacamole]]
 +    *[[https://guacamole.apache.org/doc/gug/using-guacamole.html|Using Guacamole]]
 +  *[[https://www.howtoforge.com/how-to-use-apache-guacamole-to-create-a-vnc-connection/|How to use Apache Guacamole to create a VNC Connection]]
 +  *[[https://medium.com/@anshumaansingh10jan/unlocking-remote-access-a-comprehensive-guide-to-installing-and-configuring-apache-guacamole-on-30a4fd227fcd|Unlocking Remote Access: A Comprehensive Guide to Installing and Configuring Apache Guacamole on Ubuntu]]
 +  *[[https://www.smarthomebeginner.com/install-guacamole-on-docker/|Install Guacamole on Docker – VNC, SSH, SFTP, and RDP like a Boss!]]
  
 <- docker_notes:fileshare|Back ^ docker_notes:index|Start page ^ docker_notes:authentication|Next -> <- docker_notes:fileshare|Back ^ docker_notes:index|Start page ^ docker_notes:authentication|Next ->