| name | remote-desktop |
| description | Connect to dev-secondary graphical desktop from dev-primary via VNC over SSH tunnel |
| type | reference |
| version | 1.0.0 |
| category | workspace-hub |
Remote Desktop — dev-secondary
Connect to dev-secondary graphical desktop from dev-primary via VNC over SSH tunnel.
Quick Start
Use the live repo script name:
bash scripts/operations/connection/vnc-ace-linux-2.sh
Historical docs/audits may mention vnc-dev-secondary.sh; verify the actual script path with find scripts/operations/connection -maxdepth 1 -type f -iname '*vnc*' before telling the user what to run.
Script is fully self-contained: detects display+auth, auto-starts x11vnc if needed, opens tunnel, launches viewer.
How It Works
- Checks if x11vnc is listening on port 5900
- If not: parses live Xorg
ps entry to find display + auth file dynamically
- Starts x11vnc (no sudo if vamsee owns display; sudo prompt if GDM/root owns it)
- Opens SSH tunnel
localhost:5900 → dev-secondary:5900
- Launches