Scripts2026年4月23日·1 分钟阅读

Apache Guacamole — Clientless Remote Desktop Gateway

A self-hosted HTML5 remote desktop gateway that provides access to VNC, RDP, SSH, and Telnet sessions through any modern web browser with no client software required.

Introduction

Apache Guacamole is an HTML5 remote desktop gateway that lets you access desktops and servers through a web browser. It supports VNC, RDP, SSH, Telnet, and Kubernetes terminal connections without installing any client software on the user's device.

What Apache Guacamole Does

  • Provides browser-based access to remote desktops via VNC and RDP protocols
  • Connects to SSH and Telnet terminals directly in the web interface
  • Supports clipboard sharing, file transfer, and audio redirection
  • Records remote sessions for audit and compliance purposes
  • Manages multi-user access with LDAP, TOTP, and database authentication

Architecture Overview

Guacamole consists of two main components: guacd, a C-based proxy daemon that handles protocol translation, and the Guacamole web application, a Java servlet running on Tomcat. The guacd daemon renders remote desktop streams into the Guacamole protocol, which the web app translates into HTML5 canvas updates sent to the browser via WebSocket.

Self-Hosting & Configuration

  • Deploy with Docker Compose using guacd, guacamole, and a PostgreSQL or MySQL container
  • Initialize the database with the included SQL schema scripts
  • Configure connections via the web admin panel or guacamole.properties file
  • Enable TOTP two-factor authentication for additional security
  • Set up LDAP or Active Directory integration for enterprise user management

Key Features

  • Zero client installation required — works in any modern web browser
  • Multi-protocol support: VNC, RDP, SSH, Telnet, and Kubernetes exec
  • Session recording in Guacamole protocol format with playback support
  • Concurrent multi-user access to shared connections
  • Extension system for custom authentication, event handling, and branding

Comparison with Similar Tools

  • RustDesk — Peer-to-peer remote desktop with self-hosted relay; Guacamole is a web gateway for multiple protocols
  • Apache Bastion — SSH bastion host; Guacamole adds graphical desktop access alongside terminal
  • Teleport — Infrastructure access platform; Guacamole focuses on simple browser-based remote access
  • noVNC — VNC-only web client; Guacamole supports VNC, RDP, SSH, and Telnet in one interface
  • MeshCentral — Full remote management platform; Guacamole is lighter and protocol-focused

FAQ

Q: Does Guacamole require any browser plugins? A: No. It uses HTML5 Canvas and WebSocket, which are supported natively by all modern browsers.

Q: Can I connect to Windows desktops via RDP? A: Yes. Guacamole supports standard RDP connections including NLA authentication, drive redirection, and audio playback.

Q: Is Guacamole suitable for production use? A: Yes. It is an Apache Software Foundation project used in enterprise environments for secure remote access and auditing.

Q: How do I scale Guacamole for many users? A: Run multiple guacd instances behind a load balancer. The web application is stateless and can be scaled horizontally with session affinity.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产