This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # install-xrdp.sh — set up remote desktop (xrdp + Xfce) on a remote Ubuntu box | |
| # | |
| # Run this on your Mac. It will: | |
| # 1. Check for / install the Mac RDP client (Windows App) via Homebrew or App Store | |
| # 2. Prompt for the SSH host and Linux user to configure | |
| # 3. scp itself over, run via sudo, clean up after | |
| # 4. Install xrdp + xorgxrdp + xfce4 on the remote | |
| # 5. Configure ~/.xsession to launch Xfce with an isolated dbus bus | |
| # (so it coexists with any GNOME session on the physical monitor) |