summaryrefslogtreecommitdiffstats
path: root/x11vnc/tkx11vnc
diff options
context:
space:
mode:
authorrunge <runge>2005-04-10 04:30:48 +0000
committerrunge <runge>2005-04-10 04:30:48 +0000
commitbaee5e2b3a00993fee00dca9d4e560f904693a6c (patch)
tree7cea15f636074f4d81fd100f6f37cc25750f3211 /x11vnc/tkx11vnc
parentac01f36ce0e2630db608537641b0335b249fea3c (diff)
downloadlibtdevnc-baee5e2b3a00993fee00dca9d4e560f904693a6c.tar.gz
libtdevnc-baee5e2b3a00993fee00dca9d4e560f904693a6c.zip
x11vnc: -rawfb, -pipeinput, -xtrap, -flag, ...
Diffstat (limited to 'x11vnc/tkx11vnc')
-rwxr-xr-xx11vnc/tkx11vnc39
1 files changed, 26 insertions, 13 deletions
diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc
index 6115a85..d3fea5d 100755
--- a/x11vnc/tkx11vnc
+++ b/x11vnc/tkx11vnc
@@ -112,17 +112,17 @@ Screen
overlay
overlay_nocursor
--
+ =D solid
+ solid_color:
visual:
flashcmap
shiftcmap:
notruecolor
--
- clip:
=P blackout:
xinerama
- --
- =D solid
- solid_color:
+ clip:
+ rawfb:
--
= xrandr
=-C:resize,newfbsize,exit xrandr_mode:
@@ -170,6 +170,8 @@ Misc
noprimary
nolookup
--
+ xtrap
+ --
bg
=-C:ignore,exit sigpipe:
=0 inetd
@@ -2883,7 +2885,7 @@ proc start_x11vnc {} {
proc run_remote_cmd {opts} {
global menu_var x11vnc_prog x11vnc_cmdline x11vnc_xdisplay
- global x11vnc_auth_file
+ global x11vnc_auth_file x11vnc_connect_file
set debug [in_debug_mode]
@@ -2902,13 +2904,18 @@ proc run_remote_cmd {opts} {
lappend cmd $x11vnc_prog;
- if {$x11vnc_xdisplay != ""} {
- lappend cmd "-display"
- lappend cmd $x11vnc_xdisplay
- }
- if {$x11vnc_auth_file != ""} {
- lappend cmd "-auth"
- lappend cmd $x11vnc_auth_file
+ if {$x11vnc_connect_file != ""} {
+ lappend cmd "-connect"
+ lappend cmd $x11vnc_connect_file
+ } else {
+ if {$x11vnc_xdisplay != ""} {
+ lappend cmd "-display"
+ lappend cmd $x11vnc_xdisplay
+ }
+ if {$x11vnc_auth_file != ""} {
+ lappend cmd "-auth"
+ lappend cmd $x11vnc_auth_file
+ }
}
lappend cmd "-sync"
foreach word $opts {
@@ -2998,7 +3005,7 @@ proc try_connect {} {
# main:
global env x11vnc_prog x11vnc_cmdline x11vnc_xdisplay x11vnc_connect;
-global x11vnc_auth_file beginner_mode simple_gui_created
+global x11vnc_auth_file x11vnc_connect_file beginner_mode simple_gui_created
global helpall helptext helpremote helplabel hostname;
global all_settings reply_xdisplay always_update
global max_text_height max_text_width
@@ -3069,6 +3076,12 @@ if {[info exists env(X11VNC_CONNECT)]} {
set x11vnc_connect 0;
}
+if {[info exists env(X11VNC_CONNECT_FILE)]} {
+ set x11vnc_connect_file $env(X11VNC_CONNECT_FILE);
+} else {
+ set x11vnc_connect_file "";
+}
+
if {[info exists env(X11VNC_XDISPLAY)]} {
set x11vnc_xdisplay $env(X11VNC_XDISPLAY);
set x11vnc_connect 1