vnc/startvnc

6 lines
94 B
Bash
Executable File

#!/usr/bin/env bash
USER=$(whoami)
DISPLAY=$(cat /var/lib/vnc/${USER})
vncserver :${DISPLAY}