9 lines
160 B
Bash
9 lines
160 B
Bash
#!/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
|