Apache Guacamole: Remote desktop access without borders
Published: July 5, 2023 • Updated: November 24, 2026 • Author: Anatolie Cohaniuc
Apache Guacamole is a free, open-source, clientless remote desktop gateway that lets users access servers and workstations directly through a web browser. No plugins or locally installed desktop clients are required—opening a browser tab is all it takes to connect to infrastructure over SSH, RDP, and VNC.
In this guide, we will break down Apache Guacamole’s architecture, its benefits and limitations for businesses, and walk through deploying version 1.6.0 on a Linux server using Docker Compose.
Key Takeaways:
Clientless Browser Access: Apache Guacamole acts as an HTML5 remote desktop gateway, providing SSH, RDP, and VNC access directly from a web browser without local clients or per-device VPN setups.
Hardened Entry Point: Internal company servers stay isolated from the public internet while all sessions route through a single audited gateway with 2FA support.
Fast Docker Deployment: Apache Guacamole 1.6.0 can be deployed in minutes using Docker Compose alongside a PostgreSQL 16 database.
Post-Install Security: Immediately replace the default
guacadmincredentials and place the web UI behind an HTTPS reverse proxy (Nginx or Caddy) before production use.
How Apache Guacamole Works
The platform follows a client-server architecture built around two main components:
Server Side (
guacd+ Web Application). Deployed on a central bastion or jump server. Theguacddaemon connects to target machines using native protocols (RDP for Windows, SSH or VNC for Linux), translates them into the optimized Guacamole protocol, and streams the session to the web application.Client Side (HTML5). Runs natively inside any modern web browser without installing third-party software on the user's endpoint.
With this setup, internal company servers never need to be exposed directly to the public internet—all remote access flows through a single, hardened entry point.
Why Businesses Use Apache Guacamole
Centralized Infrastructure Administration. System administrators and DevOps engineers get a single pane of glass to manage all Linux and Windows servers from any device.
Secure Remote Work. Distributed teams can reach corporate desktops from home or while traveling without configuring complex VPN clients on every personal device.
IT Support and Contractor Access. Granular role-based permissions make it easy to grant third-party vendors or support engineers access strictly to designated hosts.
Pros and Cons of Apache Guacamole
Pros:
Truly Clientless. Works out of the box in any modern browser (Chrome, Firefox, Safari, Edge).
Enhanced Security and Auditing. Target server IP addresses and credentials remain hidden from end users, while sessions can be logged and recorded for compliance.
Flexibility and Integrations. Supports SSH, RDP, VNC, and Kubernetes, alongside authentication integrations for LDAP/Active Directory, SAML, OpenID, and two-factor authentication (TOTP).
Zero Licensing Fees. Distributed under the Apache 2.0 license with no per-user or per-connection limits.
Cons:
Network Sensitivity. Because rendering happens over the browser, high latency or packet loss can cause noticeable input lag during graphical RDP/VNC sessions.
Limited High-Performance Graphics Support. Not designed for 3D-accelerated workloads, video editing, or complex local USB device passthrough.
Step-by-Step Installation of Apache Guacamole 1.6.0 via Docker
Follow the steps below to deploy Guacamole with a PostgreSQL 16 database on an Ubuntu server.
Step 1. Install Docker and Docker Compose
Update your system packages, install Docker, and enable the service on boot:
sudo apt update && sudo apt install -y docker.io docker-compose-v2
sudo systemctl enable --now docker
Step 2. Prepare the Directory and Initialize the Database
Create a working folder and generate the PostgreSQL initialization schema from the official guacamole/guacamole:1.6.0 image:
mkdir -p ~/guacamole/initdb
cd ~/guacamole
docker run --rm guacamole/guacamole:1.6.0 /opt/guacamole/bin/initdb.sh --postgresql > initdb/01-schema.sql
Step 3. Create the docker-compose.yml Configuration
Create the Compose file defining all three services (guacd, postgres, and guacamole). Be sure to replace StrongDBPassword123! with a strong custom password:
cat << 'EOF' > docker-compose.yml
services:
guacd:
image: guacamole/guacamole:1.6.0
container_name: guacd
restart: unless-stopped
postgres:
image: postgres:16-alpine
container_name: guacamole-postgres
restart: unless-stopped
environment:
POSTGRES_DB: guacamole_db
POSTGRES_USER: guacamole_user
POSTGRES_PASSWORD: StrongDBPassword123!
volumes:
- ./initdb:/docker-entrypoint-initdb.d:ro
- postgres_data:/var/lib/postgresql/data
guacamole:
image: guacamole/guacamole:1.6.0
container_name: guacamole
restart: unless-stopped
depends_on:
- guacd
- postgres
environment:
GUACD_HOSTNAME: guacd
POSTGRESQL_HOSTNAME: postgres
POSTGRESQL_DATABASE: guacamole_db
POSTGRESQL_USER: guacamole_user
POSTGRESQL_PASSWORD: StrongDBPassword123!
ports:
- "8080:8080"
volumes:
postgres_data:
EOF
Step 4. Start the Containers
Launch the stack in detached mode:
docker compose up -d
Step 5. Log In and Complete Initial Security Setup
Open the web interface in your browser using your server's IP address:
http://YOUR_SERVER_IP:8080/guacamole/
Log in with the default administrator credentials:
Username:
guacadminPassword:
guacadmin
Essential post-login steps:
Navigate to Settings → Users and create a new administrator account with a strong password.
Log out, sign in with your newly created account, and delete the default
guacadminuser.Go to Settings → Connections to create your first connection (selecting
SSH,RDP, orVNC, entering the target host IP and credentials), then assign that connection to your user account.
Production Tip: Before exposing the portal to your team, place a reverse proxy (such as Nginx or Caddy) with a free Let's Encrypt SSL certificate in front of port
8080to encrypt all browser traffic over HTTPS.
Video Installation Walkthrough
Watch the complete Docker deployment and connection setup process on our YouTube channel:
Frequently Asked Questions (FAQ)
Is Apache Guacamole completely free for commercial use? Yes. Apache Guacamole is licensed under the Apache License 2.0, meaning businesses can deploy it without paying per-user, per-host, or concurrent session fees.
Do end users need to install any software or browser plugins? No. Guacamole is a strictly clientless solution—any modern HTML5-compliant web browser is enough to run full SSH, RDP, and VNC sessions.
Does Apache Guacamole support two-factor authentication (2FA)? Yes. It includes native support for TOTP (such as Google Authenticator) and integrates with enterprise identity providers via LDAP/Active Directory, SAML, and OpenID Connect.
Can I transfer files and copy-paste text between my local PC and remote server? Yes. Guacamole supports bidirectional clipboard synchronization as well as browser-based file uploads and downloads over RDP virtual drives and SFTP.
What server specifications are recommended for hosting Guacamole?
For a team of 5–15 concurrent users, a lightweight VPS with 2 vCPUs and 2–4 GB of RAM is sufficient. Most CPU usage comes from the guacd daemon encoding graphical RDP/VNC streams.
Conclusion
Apache Guacamole remains one of the most practical solutions for centralizing and securing remote access to corporate servers and desktops. Deploying it with Docker Compose takes only a few minutes, and hosting your gateway on a high-bandwidth MivoCloud cloud VPS or dedicated server ensures low latency and reliable connectivity for your team anywhere in the world.

