Add: autoxllvnc

This commit is contained in:
mollusk 2018-01-22 19:03:37 -07:00
parent 7bd595db44
commit 87a385b58a
2 changed files with 15 additions and 0 deletions

BIN
autox11vnc/autox11vnc Executable file

Binary file not shown.

15
autox11vnc/main.go Normal file
View File

@ -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)
}
}