#!/usr/bin/env bash
xset -dpms
xset s off
while true
do
HOST=$(nc -lp 4444 -s 127.0.0.1)
echo $HOST
/usr/bin/directvnc $HOST --nolocalcursor --noshared
done