make error no display error more clear

This commit is contained in:
2025-08-03 01:30:16 -04:00
parent f18a403545
commit 60ac69621e

View File

@@ -39,6 +39,10 @@ func main() {
display = *overrideDisplay
}
if display == "" {
log.Fatalf("No DISPLAY environment variable set and no override provided. Please set DISPLAY or use --display.")
}
connType, target := resolveDisplay(display)
fmt.Printf("Proxying to %s (%s)\n", target, connTypeString(connType))