diff --git a/autox11vnc/autox11vnc b/autox11vnc/autox11vnc new file mode 100755 index 0000000..026afa2 Binary files /dev/null and b/autox11vnc/autox11vnc differ diff --git a/autox11vnc/main.go b/autox11vnc/main.go new file mode 100644 index 0000000..14bf7be --- /dev/null +++ b/autox11vnc/main.go @@ -0,0 +1,15 @@ +package main + +import ( + "log" + "os/exec" +) + +func main() { + for { + cmd := exec.Command("x11vnc", "-noxdamage") + log.Printf("X11VNC Waiting for connections...") + err := cmd.Run() + log.Printf("Command finished with error: %v", err) + } +}