summaryrefslogtreecommitdiff
path: root/dot/local/bin/xvnc
diff options
context:
space:
mode:
Diffstat (limited to 'dot/local/bin/xvnc')
-rwxr-xr-xdot/local/bin/xvnc7
1 files changed, 6 insertions, 1 deletions
diff --git a/dot/local/bin/xvnc b/dot/local/bin/xvnc
index 7eba3f2..3265a38 100755
--- a/dot/local/bin/xvnc
+++ b/dot/local/bin/xvnc
@@ -23,7 +23,12 @@ direct_connection()
23 "x11vnc -noxrecord -nopw -ncache -ncache_cr -localhost -display ${remote_display}" & 23 "x11vnc -noxrecord -nopw -ncache -ncache_cr -localhost -display ${remote_display}" &
24 pid=$! 24 pid=$!
25 sleep 1 # surrender race 25 sleep 1 # surrender race
26 xvncviewer -encodings "copyrect tight zrle hextile" localhost:0 26 if [ "$NOTIGER" ]
27 then
28 xtightvncviewer -encodings "copyrect tight zrle hextile" localhost:0
29 else
30 xtigervncviewer localhost:0
31 fi
27 kill $pid 32 kill $pid
28} 33}
29 34