I'm running x11vnc 0.9.13 on Ubuntu 14.04 and tightVNC viewer 2.7.10 on Windows 7.
the x11vnc option -loop says, "Create an outer loop restarting the x11vnc process whenever it terminates. -bg and -inetd are ignored in this mode (however see -loopbg below)."
However, -loopbg -bg doesn't actually put x11vnc into the background and it appears to restart the connection every 500ms.
On screen
Code:
PORT=5900
SSLPORT=5900
--- x11vnc loop: sleeping 500 ms ---
--- x11vnc loop: 2 ---
--- x11vnc loop: waiting for: 18989
PORT=5900
SSLPORT=5900
--- x11vnc loop: sleeping 500 ms ---
--- x11vnc loop: 3 ---
--- x11vnc loop: waiting for: 19128
Using just -loop by itself does not do this repeating thing. It just waits for a connection and allows me to log back in after I've logged out on the Windows 7 viewer. However, it can't use -bg if using -loop. Without -loop, the viewer cannot reconnect after logging out.
Has anyone figured out how to get xllvnc to loop (permit viewer reconnections) in the background without the sleep/waiting every 500ms?