Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
e1c733ee
Commit
e1c733ee
authored
Apr 19, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync with SSVNC 1.0.15
parent
69a63b28
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
291 additions
and
34 deletions
+291
-34
README
x11vnc/misc/enhanced_tightvnc_viewer/README
+13
-7
ss_vncviewer
x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
+47
-7
ssvnc.tcl
x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ssvnc.tcl
+225
-18
stunnel-server.conf
...isc/enhanced_tightvnc_viewer/bin/util/stunnel-server.conf
+5
-1
_bundle
x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle
+1
-1
No files found.
x11vnc/misc/enhanced_tightvnc_viewer/README
View file @
e1c733ee
...
@@ -118,9 +118,15 @@ The enhanced TightVNC viewer features are:
...
@@ -118,9 +118,15 @@ The enhanced TightVNC viewer features are:
(-popupfix option).
(-popupfix option).
- Improvements to the Popup menu, all of these can now be changed
- Improvements to the Popup menu, all of these can now be changed
dynamically via the menu: ViewOnly, CursorShape updates, X11
dynamically via the menu: ViewOnly, Toggle Bell, CursorShape
Cursor, Cursor Alphablending, Toggle Tight/ZRLE, Toggle JPEG,
updates, X11 Cursor, Cursor Alphablending, Toggle Tight/ZRLE,
FullColor/16bpp/8bpp (256/64/8 colors).
Toggle JPEG, FullColor/16bpp/8bpp (256/64/8 colors), Greyscale
for low color modes.
- Support for UltraVNC extensions: Single Window, Disable
Server-side Input, 1/n Server side scaling, Text Chat (shell
terminal UI). Both UltraVNC and x11vnc servers support these
extensions
- Run vncviewer -help for all options.
- Run vncviewer -help for all options.
...
@@ -149,7 +155,7 @@ Unix and Mac OS X:
...
@@ -149,7 +155,7 @@ Unix and Mac OS X:
Unpack the archive:
Unpack the archive:
% gzip -dc ssvnc-1.0.1
4
.tar.gz | tar xvf -
% gzip -dc ssvnc-1.0.1
5
.tar.gz | tar xvf -
Run the GUI:
Run the GUI:
...
@@ -159,7 +165,7 @@ Unix and Mac OS X:
...
@@ -159,7 +165,7 @@ Unix and Mac OS X:
On MacOSX you could also click on the SSVNC app in the Finder.
On MacOSX you could also click on the SSVNC app in the Finder.
The smaller file "ssvnc_no_windows-1.0.1
4
.tar.gz"
The smaller file "ssvnc_no_windows-1.0.1
5
.tar.gz"
could have been used as well.
could have been used as well.
On MacOSX there is also a SSVNC.app directory icon you can click on
On MacOSX there is also a SSVNC.app directory icon you can click on
...
@@ -170,7 +176,7 @@ Windows:
...
@@ -170,7 +176,7 @@ Windows:
Unzip, using WinZip or a similar utility, the zip file:
Unzip, using WinZip or a similar utility, the zip file:
ssvnc-1.0.1
4
.zip
ssvnc-1.0.1
5
.zip
Run the GUI, e.g.:
Run the GUI, e.g.:
...
@@ -182,7 +188,7 @@ Windows:
...
@@ -182,7 +188,7 @@ Windows:
select Open, and then OK to launch it.
select Open, and then OK to launch it.
The smaller file "ssvnc_windows_only-1.0.1
4
.zip"
The smaller file "ssvnc_windows_only-1.0.1
5
.zip"
could have been used as well.
could have been used as well.
You can make a Windows shortcut to this program if you want to.
You can make a Windows shortcut to this program if you want to.
...
...
x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
View file @
e1c733ee
...
@@ -112,7 +112,9 @@ VNCVIEWERCMD=${VNCVIEWERCMD:-vncviewer}
...
@@ -112,7 +112,9 @@ VNCVIEWERCMD=${VNCVIEWERCMD:-vncviewer}
# Same for STUNNEL, e.g. set it to /path/to/stunnel or stunnel4, etc.
# Same for STUNNEL, e.g. set it to /path/to/stunnel or stunnel4, etc.
#
#
#set -xv
if [ "X$SS_DEBUG" != "X" ]; then
set -xv
fi
PATH=$PATH:/usr/sbin:/usr/local/sbin:/dist/sbin; export PATH
PATH=$PATH:/usr/sbin:/usr/local/sbin:/dist/sbin; export PATH
...
@@ -146,6 +148,10 @@ showcert=""
...
@@ -146,6 +148,10 @@ showcert=""
reverse=""
reverse=""
if [ "X$1" = "X-viewerflavor" ]; then
if [ "X$1" = "X-viewerflavor" ]; then
if echo "$VNCVIEWERCMD" | egrep -i '^(xmessage|sleep )' > /dev/null; then
echo "unknown"
exit 0
fi
if echo "$VNCVIEWERCMD" | grep -i chicken.of > /dev/null; then
if echo "$VNCVIEWERCMD" | grep -i chicken.of > /dev/null; then
echo "cotvnc"
echo "cotvnc"
exit 0
exit 0
...
@@ -167,6 +173,12 @@ if [ "X$1" = "X-viewerflavor" ]; then
...
@@ -167,6 +173,12 @@ if [ "X$1" = "X-viewerflavor" ]; then
exit 0
exit 0
fi
fi
if [ "X$SS_VNCVIEWER_NO_MAXCONN" != "X" ]; then
STUNNEL_EXTRA_OPTS=`echo "$STUNNEL_EXTRA_OPTS" | sed -e 's/maxconn/#maxconn/'`
elif echo "$VNCVIEWERCMD" | egrep -i '^(xmessage|sleep )' > /dev/null; then
STUNNEL_EXTRA_OPTS=`echo "$STUNNEL_EXTRA_OPTS" | sed -e 's/maxconn/#maxconn/'`
fi
# grab our cmdline options:
# grab our cmdline options:
while [ "X$1" != "X" ]
while [ "X$1" != "X" ]
do
do
...
@@ -215,10 +227,6 @@ else
...
@@ -215,10 +227,6 @@ else
fi
fi
if [ "X$reverse" != "X" ]; then
if [ "X$reverse" != "X" ]; then
ssh_sleep=1800
ssh_sleep=1800
if [ "X$use_ssh" = "X1" ]; then
VNCVIEWER_LISTEN_LOCALHOST=1
export VNCVIEWER_LISTEN_LOCALHOST
fi
if [ "X$proxy" != "X" ]; then
if [ "X$proxy" != "X" ]; then
if [ "X$use_ssh" = "X" -a "X$use_sshssl" = "X" ]; then
if [ "X$use_ssh" = "X" -a "X$use_sshssl" = "X" ]; then
echo ""
echo ""
...
@@ -256,6 +264,15 @@ if echo "$orig" | grep '^vnc://' > /dev/null; then
...
@@ -256,6 +264,15 @@ if echo "$orig" | grep '^vnc://' > /dev/null; then
direct_connect=1
direct_connect=1
elif echo "$orig" | grep '^vncs://' > /dev/null; then
elif echo "$orig" | grep '^vncs://' > /dev/null; then
orig=`echo "$orig" | sed -e 's,vncs://,,'`
orig=`echo "$orig" | sed -e 's,vncs://,,'`
elif echo "$orig" | grep '^vncssl://' > /dev/null; then
orig=`echo "$orig" | sed -e 's,vncssl://,,'`
elif echo "$orig" | grep '^vncssh://' > /dev/null; then
orig=`echo "$orig" | sed -e 's,vncssh://,,'`
use_ssh=1
fi
if [ "X$reverse" != "X" -a "X$direct_connect" = "X" ]; then
VNCVIEWER_LISTEN_LOCALHOST=1
export VNCVIEWER_LISTEN_LOCALHOST
fi
fi
# play around with host:display port:
# play around with host:display port:
...
@@ -264,6 +281,8 @@ if echo "$orig" | grep ':' > /dev/null; then
...
@@ -264,6 +281,8 @@ if echo "$orig" | grep ':' > /dev/null; then
else
else
if [ "X$reverse" = "X" ]; then
if [ "X$reverse" = "X" ]; then
orig="$orig:0"
orig="$orig:0"
elif [ "X$orig" = "X" ]; then
orig=":0"
fi
fi
fi
fi
...
@@ -295,11 +314,32 @@ fi
...
@@ -295,11 +314,32 @@ fi
date_sec=`date +%S`
date_sec=`date +%S`
if echo "$VNCVIEWERCMD" | grep '^sleep[ ][ ]*[0-9][0-9]*' > /dev/null; then
if [ "X$SS_VNCVIEWER_LISTEN_PORT" = "X" ]; then
p=`echo "$VNCVIEWERCMD" | awk '{print $3}'`
if [ "X$p" != "X" ]; then
SS_VNCVIEWER_LISTEN_PORT=$p
fi
fi
p2=`echo "$VNCVIEWERCMD" | awk '{print $2}'`
VNCVIEWERCMD="eval sleep $p2; echo Local "
elif echo "$VNCVIEWERCMD" | grep '^xmessage[ ][ ]*[0-9][0-9]*' > /dev/null; then
if [ "X$SS_VNCVIEWER_LISTEN_PORT" = "X" ]; then
p=`echo "$VNCVIEWERCMD" | awk '{print $2}'`
SS_VNCVIEWER_LISTEN_PORT=$p
fi
fi
findfree() {
findfree() {
try0=$1
try0=$1
try=$try0
try=$try0
use0=""
use0=""
if [ "X$SS_VNCVIEWER_LISTEN_PORT" != "X" ]; then
echo "$SS_VNCVIEWER_LISTEN_PORT"
return
fi
while [ $try -lt 6000 ]
while [ $try -lt 6000 ]
do
do
if [ "X$inuse" = "X" ]; then
if [ "X$inuse" = "X" ]; then
...
@@ -763,10 +803,10 @@ if [ "X$direct_connect" != "X" ]; then
...
@@ -763,10 +803,10 @@ if [ "X$direct_connect" != "X" ]; then
echo ""
echo ""
echo "NOTE: Press Ctrl-C to terminate viewer LISTEN mode."
echo "NOTE: Press Ctrl-C to terminate viewer LISTEN mode."
echo ""
echo ""
echo "$VNCVIEWERCMD" "$@" -listen $
N
echo "$VNCVIEWERCMD" "$@" -listen $
disp
trap "final" 0 2 15
trap "final" 0 2 15
echo ""
echo ""
$VNCVIEWERCMD "$@" -listen $
N
$VNCVIEWERCMD "$@" -listen $
disp
fi
fi
exit $?
exit $?
fi
fi
...
...
x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ssvnc.tcl
View file @
e1c733ee
This diff is collapsed.
Click to expand it.
x11vnc/misc/enhanced_tightvnc_viewer/bin/util/stunnel-server.conf
View file @
e1c733ee
...
@@ -6,6 +6,9 @@
...
@@ -6,6 +6,9 @@
# to manually start up stunnel using it.
# to manually start up stunnel using it.
# (e.g. /path/to/stunnel stunnel-server.conf)
# (e.g. /path/to/stunnel stunnel-server.conf)
#
#
# NOTE: You MUST specify a cert = PEM file line for server mode.
# SSVNC or x11vnc can be used to create one if you like.
#
# This is just an example and is not used by the tools in this package.
# This is just an example and is not used by the tools in this package.
# It is here in case you wanted to see how to add SSL support to any
# It is here in case you wanted to see how to add SSL support to any
# VNC server you have.
# VNC server you have.
...
@@ -18,7 +21,8 @@ RNDoverwrite = yes
...
@@ -18,7 +21,8 @@ RNDoverwrite = yes
# CApath = /path/to/.../crt-dir
# CApath = /path/to/.../crt-dir
# CAfile = /path/to/.../foo.crt
# CAfile = /path/to/.../foo.crt
# verify = 2
# verify = 2
# My server cert could go here:
#
# The server cert goes here (**IT MUST BE SPECIFIED IN SERVER MODE**):
# cert = /path/to/.../my.pem
# cert = /path/to/.../my.pem
#
#
[
vnc
]
[
vnc
]
...
...
x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle
View file @
e1c733ee
#!/bin/sh
#!/bin/sh
rm
-rf
./src/tmp/
*
||
exit
1
rm
-rf
./src/tmp/
*
||
exit
1
vers
=
1.0.1
4
vers
=
1.0.1
5
cd
..
||
exit
1
cd
..
||
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment