x11vnc als Linux-Alternative zu RealVNC
Aktualisiert am
Unser Fazit
x11vnc is a solid replacement for RealVNC if you need to expose an existing X11 session or a virtual display on a Linux box. It handles the core VNC protocol, supports password and TLS, and can run headlessly as a service. It is best suited for system administrators or developers who already run X11, not for users who want a turnkey Windows‑style VNC server with a GUI configuration tool.
- Lizenz
- GPL-2.0
- Preis
- Kostenlos
- Aktuelle Version
- 0.9.17
- Bewertung
- —
Was gleich funktioniert
- Both use the standard RFB protocol for remote desktop
- Both support password authentication and optional TLS encryption
- Both can run on multiple platforms (Linux, Windows, macOS) as clients or servers
- Both allow multiple simultaneous connections
Was anders ist
- x11vnc is command‑line only; RealVNC provides a GUI setup utility
- x11vnc requires an X11 environment; RealVNC can run on headless Windows servers without X
- RealVNC includes a built‑in viewer; x11vnc only supplies the server side
- RealVNC offers a commercial licensing model with support; x11vnc is GPL‑licensed and community‑supported
- RealVNC’s server can be installed as a Windows service out of the box; x11vnc needs manual service configuration
Ihre RealVNC-Dateien öffnen
RealVNC stores its server settings in a proprietary configuration file (.vnc or .conf) that x11vnc cannot read. You will need to reconfigure x11vnc manually using command‑line options or a custom config file; there is no direct import/export tool.
Von RealVNC zu x11vnc wechseln – Schritt für Schritt
- 1. Install x11vnc from your distribution’s package manager (e.g., apt install x11vnc).
- 2. Create a password file with x11vnc -storepasswd and note the location.
- 3. Start x11vnc with desired options, e.g., x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900.
- 4. If you need it to run on boot, create a systemd unit file or add the command to /etc/rc.local.
- 5. Test connectivity from a VNC client on another machine.
- 6. Disable or uninstall the old RealVNC server to avoid conflicts.
Wichtige Funktionen von x11vnc
- Unterstützt das Standard‑VNC‑Protokollversion 3.8
- Kann die vorhandene X‑Anzeige teilen oder eine neue virtuelle Anzeige erstellen
- Konfigurierbar über Befehlszeilen‑Argumente oder Konfigurationsdateien
- Unterstützt Passwort‑Authentifizierung und TLS‑Verschlüsselung
- Geringer Ressourcenverbrauch, geeignet für ältere Hardware
- Funktioniert mit den meisten X11‑basierten Desktop‑Umgebungen
- Kann als Service für persistente Zugriffe ausgeführt werden
- Unterstützt mehrere Clients, die gleichzeitig verbinden
x11vnc unter Linux installieren
sudo apt install x11vncsudo apt install x11vncsudo dnf install x11vncsudo pacman -S x11vncsudo zypper install x11vncHäufige Fragen
Does x11vnc support TLS encryption?
Yes, use the -ssl and -sslonly options to enable TLS for the VNC connection.
Can x11vnc run without an X server?
No, x11vnc requires an X11 session to capture the display. For headless servers, you need a virtual X server like Xvfb.
Is there a graphical configuration tool for x11vnc?
Not by default. You can wrap it in a script or use third‑party tools, but the standard distribution provides only command‑line configuration.