Skip to content

dhananjaym182/xpra-with-nginx-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

xpra-with-nginx-setup

About This Project This project provides a streamlined way to install and configure Xpra with Nginx as a reverse proxy, allowing secure remote access to a Linux desktop environment over port 443 β€” the standard HTTPS port.

By combining Xpra's headless remote desktop capabilities with Nginx and a self-signed or Let's Encrypt SSL certificate, this setup enables access to a Linux GUI from any modern browser or Xpra client, bypassing restrictive firewalls or networks that block non-standard ports.

Key Features:

πŸ’» Access your Linux desktop remotely via browser or client.

πŸ” HTTPS-secured connection through Cloudflare and Nginx over port 443.

πŸ›‘οΈ Option to enable Full (Strict) SSL mode with self-signed certificates.

βš™οΈ Dynamic script: prompts for domain, user, bind address, and SSL settings.

πŸ“¦ Automated setup using systemd, apt, and secure configuration defaults.

Ideal for:

Cloud-based or remote headless Linux servers

Developers and sysadmins who want GUI access without VNC/RDP

Environments where only port 443 is open (e.g., corporate networks or Cloudflare tunnel users)

Xpra Headless Server Setup

This repository automates the installation and configuration of an Xpra headless remote desktop server using:

  • βœ… Xpra (Ubuntu)
  • βœ… Optional self-signed SSL certs
  • βœ… Custom TCP binding (default 127.0.0.1:14500)
  • βœ… Optional public access via NGINX and Cloudflare
  • βœ… Systemd service for persistent sessions

πŸ“¦ Requirements

  • Ubuntu 22.04 (Jammy) or similar
  • Root access
  • Registered domain or subdomain (e.g., https://display.magnetbyte.com)

πŸš€ Installation

Clone and run the script as root or with sudo:

git clone https://github.com/yourusername/xpra-headless-server-setup.git
cd xpra-headless-server-setup
chmod +x xpra-install.sh
sudo ./xpra-install.sh

About

This project installs and configures Xpra with Nginx for secure, remote Linux desktop access over port 443 using HTTPS. Ideal for headless servers, it supports Cloudflare SSL, self-signed certs, and dynamic user/domain setup for browser or Xpra client access.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages