Add: autoxllvnc
This commit is contained in:
parent
7bd595db44
commit
87a385b58a
BIN
autox11vnc/autox11vnc
Executable file
BIN
autox11vnc/autox11vnc
Executable file
Binary file not shown.
15
autox11vnc/main.go
Normal file
15
autox11vnc/main.go
Normal 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)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user