x11vnc: -gui tray now embeds in systray; more improvements to gui.

pull/1/head
runge 20 years ago
parent c59929365c
commit 8fcf086132

@ -1,3 +1,6 @@
2005-07-06 Karl Runge <runge@karlrunge.com>
* x11vnc: -gui tray now embeds in systray; more improvements to gui.
2005-07-01 Karl Runge <runge@karlrunge.com> 2005-07-01 Karl Runge <runge@karlrunge.com>
* libvncserver/httpd.c: make sure httpListenSock >=0 in rfbHttpCheckFds * libvncserver/httpd.c: make sure httpListenSock >=0 in rfbHttpCheckFds
* x11vnc: add simple "-gui tray" mode for small icon like x0rfbserver * x11vnc: add simple "-gui tray" mode for small icon like x0rfbserver

@ -1,3 +1,7 @@
2005-07-06 Karl Runge <runge@karlrunge.com>
* many improvements to the gui. now embeds into system tray ok.
x11vnc -debug_grabs, -printgui, -nosync
2005-07-01 Karl Runge <runge@karlrunge.com> 2005-07-01 Karl Runge <runge@karlrunge.com>
* support for simple "-gui tray" mode (small icon like the original * support for simple "-gui tray" mode (small icon like the original
x0rfbserver had). Can't figure how to get a tray to swallow it.. x0rfbserver had). Can't figure how to get a tray to swallow it..

@ -1,5 +1,5 @@
x11vnc README file Date: Fri Jul 1 21:48:07 EDT 2005 x11vnc README file Date: Wed Jul 6 22:35:15 EDT 2005
The following information is taken from these URLs: The following information is taken from these URLs:
@ -580,7 +580,7 @@ make
I'd like to release version 0.7.2 in Jun/Jul/2005 sometime, here is I'd like to release version 0.7.2 in Jun/Jul/2005 sometime, here is
the current tarball: the current tarball:
RC-4 lastmod: 2005-06-25 [51]x11vnc-0.7.2beta.tar.gz RC-6 lastmod: 2005-07-07 [51]x11vnc-0.7.2beta.tar.gz
There are also some Linux, Solaris, and other OS test binaries There are also some Linux, Solaris, and other OS test binaries
[52]here. Please kick the tires and report bugs, performance [52]here. Please kick the tires and report bugs, performance
@ -2363,10 +2363,16 @@ x11vnc -logfile $HOME/.x11vnc.log -rfbauth $HOME/.vnc/passwd -forever -bg
Continuously. Have x11vnc reattach each time the X server is Continuously. Have x11vnc reattach each time the X server is
restarted (i.e. after each logout): restarted (i.e. after each logout):
To make x11vnc always attached to the the X server (please consider To make x11vnc always attached to the the X server including the login
the security implications of this!) including the login screen you screen you will need to add a command to a display manager startup
will need to add a command to a display manager startup script. The script. Please consider the security implications of this! Besides
name of the script file depends on desktop used and seem to be: having the VNC display for the X session always available, there are
other issues: .e.g. if you run the tkx11vnc gui (via say -gui or -gui
tray), then the gui controls (insecure) are available on the physical
X display before anyone has logged in.
The name of the display manager startup script file depends on desktop
used and seem to be:
GNOME /etc/X11/gdm/Init/Default (or Init/:0) GNOME /etc/X11/gdm/Init/Default (or Init/:0)
KDE /etc/kde*/kdm/Xsetup KDE /etc/kde*/kdm/Xsetup
XDM /etc/X11/xdm/Xsetup (or xdm/Xsetup_0) XDM /etc/X11/xdm/Xsetup (or xdm/Xsetup_0)
@ -4542,7 +4548,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options: Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions) % x11vnc -opts (see below for -help long descriptions)
x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-07-01 x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-07-06
x11vnc options: x11vnc options:
-display disp -auth file -display disp -auth file
@ -4596,27 +4602,27 @@ x11vnc options:
-scr_keys list -scr_term list -scr_keys list -scr_term list
-scr_keyrepeat lo-hi -scr_parms string -scr_keyrepeat lo-hi -scr_parms string
-fixscreen string -debug_scroll -fixscreen string -debug_scroll
-noxrecord -pointer_mode n -noxrecord -debug_grabs
-input_skip n -speeds rd,bw,lat -pointer_mode n -input_skip n
-wmdt string -debug_pointer -speeds rd,bw,lat -wmdt string
-debug_keyboard -defer time -debug_pointer -debug_keyboard
-wait time -wait_ui factor -defer time -wait time
-nowait_bog -readtimeout n -wait_ui factor -nowait_bog
-nap -nonap -readtimeout n -nap
-sb time -noxdamage -nonap -sb time
-xd_area A -xd_mem f -noxdamage -xd_area A
-sigpipe string -threads -xd_mem f -sigpipe string
-nothreads -fs f -threads -nothreads
-gaps n -grow n -fs f -gaps n
-fuzz n -debug_tiles -grow n -fuzz n
-snapfb -rawfb string -debug_tiles -snapfb
-pipeinput cmd -gui [gui-opts] -rawfb string -pipeinput cmd
-remote command -query variable -gui [gui-opts] -remote command
-sync -noremote -query variable -sync
-yesremote -unsafe -noremote -yesremote
-safer -privremote -unsafe -safer
-nocmds -deny_all -privremote -nocmds
-deny_all
libvncserver options: libvncserver options:
-rfbport port TCP port for RFB protocol -rfbport port TCP port for RFB protocol
@ -4642,7 +4648,7 @@ libvncserver options:
% x11vnc -help % x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-07-01 x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-07-06
Typical usage is: Typical usage is:
@ -5724,6 +5730,9 @@ Options:
currently used by the -scrollcopyrect scheme and to currently used by the -scrollcopyrect scheme and to
monitor X server grabs. monitor X server grabs.
-debug_grabs Turn on debugging info printout with respect to
XGrabServer() deadlock for -scrollcopyrect mode.
-pointer_mode n Various pointer motion update schemes. "-pm" is -pointer_mode n Various pointer motion update schemes. "-pm" is
an alias. The problem is pointer motion can cause an alias. The problem is pointer motion can cause
rapid changes on the screen: consider the rapid changes rapid changes on the screen: consider the rapid changes
@ -5971,9 +5980,10 @@ Options:
up on the X display in the environment variable DISPLAY. up on the X display in the environment variable DISPLAY.
"gui-opts" can be a comma separated list of items. "gui-opts" can be a comma separated list of items.
Currently there are these types of items: 1) a gui mode, Currently there are these types of items: 1) a gui
a 2) gui "simplicity", 3) the X display the gui mode, a 2) gui "simplicity", 3) the X display the
should display on, and 4) a "tray" (or icon) mode. gui should display on, 4) a "tray" or "icon" mode,
and 5) a gui geometry.
1) The gui mode can be "start", "conn", or "wait" 1) The gui mode can be "start", "conn", or "wait"
"start" is the default mode above and is not required. "start" is the default mode above and is not required.
@ -6006,22 +6016,44 @@ Options:
x11vnc polling :0 and display the gui on otherhost:0 x11vnc polling :0 and display the gui on otherhost:0
The "tray" mode below reverses this preference. The "tray" mode below reverses this preference.
4) When "tray" is specified, the gui presents itself 4) When "tray" or "icon" is specified, the gui
as a small icon with behavior similar to a "system presents itself as a small icon with behavior typical
tray" or "dock" applet. The color of the icon of a "system tray" or "dock" applet. The color
indicates status (connected clients) and there is also a of the icon indicates status (connected clients) and
balloon status. Clicking on the icon gives a menu from there is also a balloon status. Clicking on the icon
which properties, etc, can be set and the full gui is gives a menu from which properties, etc, can be set and
available under "Advanced". To be fully functional, the full gui is available under "Advanced". To be
the gui mode should be "start" (the default). At some fully functional, the gui mode should be "start"
point it is hoped the icon can be automatically embedded (the default).
in common destkop trays/docks. Currently one can only
embed it in a window via, e.g., "tray=0x3600028". For "icon" the gui just a small standalone window.
Otherwise the icon is just a normal standalone window. For "tray" it will attempt to embed itself in the
"system tray". If "=setpass" is appended then
Examples: "x11vnc -gui", "x11vnc -gui ez" at startup the X11 user will be prompted to set the
"x11vnc -gui localhost:10", "x11vnc -gui conn,host:0" VNC session password. If =<hexnumber> is appended
"x11vnc -gui tray,ez" that icon will attempt to embed itself in the window
given by hexnumber. Use =noadvanced to disable the
full gui. (To supply more than one, use "+" sign).
E.g. -gui tray=setpass and -gui icon=0x3600028
5) When "geom=+X+Y" is specified, that geometry
is passed to the gui toplevel. This is the icon in
icon/tray mode, or the full gui otherwise. You can
also specify width and height, i.e. WxH+X+Y, but it
is not recommended. In "tray" mode the geometry is
ignored unless the system tray manager does not seem
to be running. One could imagine using something like
"-gui tray,geom=+4000+4000" with a display manager
to keep the gui invisible until someone logs in...
More icon tricks, "icon=minimal" gives an icon just
with the VNC display number. You can also set the font
with "iconfont=...". The following could be useful:
"-gui icon=minimal,iconfont=5x8,geom=24x10+0-0"
General examples of the -gui option: "x11vnc -gui",
"x11vnc -gui ez" "x11vnc -gui localhost:10",
"x11vnc -gui conn,host:0", "x11vnc -gui tray,ez"
If you do not intend to start x11vnc from the gui If you do not intend to start x11vnc from the gui
(i.e. just remote control an existing one), then the (i.e. just remote control an existing one), then the
@ -6286,6 +6318,8 @@ Options:
nodebug_scroll disable debugging scrollcopy mechanism. nodebug_scroll disable debugging scrollcopy mechanism.
debug_tiles enable -debug_tiles debug_tiles enable -debug_tiles
nodebug_tiles disable -debug_tiles nodebug_tiles disable -debug_tiles
debug_grabs enable -debug_grabs
nodebug_grabs disable -debug_grabs
dbg enable -dbg crash shell dbg enable -dbg crash shell
nodbg disable -dbg crash shell nodbg disable -dbg crash shell
@ -6326,10 +6360,10 @@ Options:
truecolor notruecolor overlay nooverlay overlay_cursor truecolor notruecolor overlay nooverlay overlay_cursor
overlay_yescursor nooverlay_nocursor nooverlay_cursor overlay_yescursor nooverlay_nocursor nooverlay_cursor
nooverlay_yescursor overlay_nocursor visual scale nooverlay_yescursor overlay_nocursor visual scale
scale_cursor viewonly noviewonly shared noshared scale_cursor viewonly noviewonly shared noshared forever
forever noforever once timeout deny lock nodeny unlock noforever once timeout deny lock nodeny unlock connect
connect allowonce allow localhost nolocalhost listen allowonce allow localhost nolocalhost listen lookup
lookup nolookup accept gone shm noshm flipbyteorder nolookup accept popup gone shm noshm flipbyteorder
noflipbyteorder onetile noonetile solid_color solid noflipbyteorder onetile noonetile solid_color solid
nosolid blackout xinerama noxinerama xtrap noxtrap nosolid blackout xinerama noxinerama xtrap noxtrap
xrandr noxrandr xrandr_mode padgeom quiet q noquiet xrandr noxrandr xrandr_mode padgeom quiet q noquiet
@ -6360,8 +6394,8 @@ Options:
debug_xevents debug_xdamage nodebug_xdamage debug_xevents debug_xdamage nodebug_xdamage
debug_xdamage debug_wireframe nodebug_wireframe debug_xdamage debug_wireframe nodebug_wireframe
debug_wireframe debug_scroll nodebug_scroll debug_scroll debug_wireframe debug_scroll nodebug_scroll debug_scroll
debug_tiles dbt nodebug_tiles nodbt debug_tiles dbg debug_tiles dbt nodebug_tiles nodbt debug_tiles
nodbg noremote debug_grabs nodebug_grabs dbg nodbg noremote
aro= display vncdisplay desktopname guess_desktop aro= display vncdisplay desktopname guess_desktop
http_url auth users rootshift clipshift scale_str http_url auth users rootshift clipshift scale_str

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -2,7 +2,7 @@
.TH X11VNC "1" "July 2005" "x11vnc " "User Commands" .TH X11VNC "1" "July 2005" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.7.2, lastmod: 2005-07-01 version: 0.7.2, lastmod: 2005-07-06
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
@ -1378,6 +1378,11 @@ Disable any use of the RECORD extension. This is
currently used by the \fB-scrollcopyrect\fR scheme and to currently used by the \fB-scrollcopyrect\fR scheme and to
monitor X server grabs. monitor X server grabs.
.PP .PP
\fB-debug_grabs\fR
.IP
Turn on debugging info printout with respect to
XGrabServer() deadlock for \fB-scrollcopyrect__mode_.\fR
.PP
\fB-pointer_mode\fR \fIn\fR \fB-pointer_mode\fR \fIn\fR
.IP .IP
Various pointer motion update schemes. "\fB-pm\fR" is Various pointer motion update schemes. "\fB-pm\fR" is
@ -1708,9 +1713,10 @@ to start up both the gui and x11vnc with the gui showing
up on the X display in the environment variable DISPLAY. up on the X display in the environment variable DISPLAY.
.IP .IP
"gui-opts" can be a comma separated list of items. "gui-opts" can be a comma separated list of items.
Currently there are these types of items: 1) a gui mode, Currently there are these types of items: 1) a gui
a 2) gui "simplicity", 3) the X display the gui mode, a 2) gui "simplicity", 3) the X display the
should display on, and 4) a "tray" (or icon) mode. gui should display on, 4) a "tray" or "icon" mode,
and 5) a gui geometry.
.IP .IP
1) The gui mode can be "start", "conn", or "wait" 1) The gui mode can be "start", "conn", or "wait"
"start" is the default mode above and is not required. "start" is the default mode above and is not required.
@ -1743,22 +1749,44 @@ tries \fB-display\fR and then DISPLAY. For example, "x11vnc
x11vnc polling :0 and display the gui on otherhost:0 x11vnc polling :0 and display the gui on otherhost:0
The "tray" mode below reverses this preference. The "tray" mode below reverses this preference.
.IP .IP
4) When "tray" is specified, the gui presents itself 4) When "tray" or "icon" is specified, the gui
as a small icon with behavior similar to a "system presents itself as a small icon with behavior typical
tray" or "dock" applet. The color of the icon of a "system tray" or "dock" applet. The color
indicates status (connected clients) and there is also a of the icon indicates status (connected clients) and
balloon status. Clicking on the icon gives a menu from there is also a balloon status. Clicking on the icon
which properties, etc, can be set and the full gui is gives a menu from which properties, etc, can be set and
available under "Advanced". To be fully functional, the full gui is available under "Advanced". To be
the gui mode should be "start" (the default). At some fully functional, the gui mode should be "start"
point it is hoped the icon can be automatically embedded (the default).
in common destkop trays/docks. Currently one can only .IP
embed it in a window via, e.g., "tray=0x3600028". For "icon" the gui just a small standalone window.
Otherwise the icon is just a normal standalone window. For "tray" it will attempt to embed itself in the
.IP "system tray". If "=setpass" is appended then
Examples: "x11vnc \fB-gui",\fR "x11vnc \fB-gui\fR ez" at startup the X11 user will be prompted to set the
"x11vnc \fB-gui\fR localhost:10", "x11vnc \fB-gui\fR conn,host:0" VNC session password. If =<hexnumber> is appended
"x11vnc \fB-gui\fR tray,ez" that icon will attempt to embed itself in the window
given by hexnumber. Use =noadvanced to disable the
full gui. (To supply more than one, use "+" sign).
E.g. \fB-gui\fR tray=setpass and \fB-gui\fR icon=0x3600028
.IP
5) When "geom=+X+Y" is specified, that geometry
is passed to the gui toplevel. This is the icon in
icon/tray mode, or the full gui otherwise. You can
also specify width and height, i.e. WxH+X+Y, but it
is not recommended. In "tray" mode the geometry is
ignored unless the system tray manager does not seem
to be running. One could imagine using something like
"\fB-gui\fR \fItray,geom=+4000+4000\fR" with a display manager
to keep the gui invisible until someone logs in...
.IP
More icon tricks, "icon=minimal" gives an icon just
with the VNC display number. You can also set the font
with "iconfont=...". The following could be useful:
"\fB-gui\fR \fIicon=minimal,iconfont=5x8,geom=24x10+0-0\fR"
.IP
General examples of the \fB-gui\fR option: "x11vnc \fB-gui",\fR
"x11vnc \fB-gui\fR ez" "x11vnc \fB-gui\fR localhost:10",
"x11vnc \fB-gui\fR conn,host:0", "x11vnc \fB-gui\fR tray,ez"
.IP .IP
If you do not intend to start x11vnc from the gui If you do not intend to start x11vnc from the gui
(i.e. just remote control an existing one), then the (i.e. just remote control an existing one), then the
@ -2206,6 +2234,10 @@ debug_tiles enable \fB-debug_tiles\fR
.IP .IP
nodebug_tiles disable \fB-debug_tiles\fR nodebug_tiles disable \fB-debug_tiles\fR
.IP .IP
debug_grabs enable \fB-debug_grabs\fR
.IP
nodebug_grabs disable \fB-debug_grabs\fR
.IP
dbg enable \fB-dbg\fR crash shell dbg enable \fB-dbg\fR crash shell
.IP .IP
nodbg disable \fB-dbg\fR crash shell nodbg disable \fB-dbg\fR crash shell
@ -2266,10 +2298,10 @@ nowaitmapped clip flashcmap noflashcmap shiftcmap
truecolor notruecolor overlay nooverlay overlay_cursor truecolor notruecolor overlay nooverlay overlay_cursor
overlay_yescursor nooverlay_nocursor nooverlay_cursor overlay_yescursor nooverlay_nocursor nooverlay_cursor
nooverlay_yescursor overlay_nocursor visual scale nooverlay_yescursor overlay_nocursor visual scale
scale_cursor viewonly noviewonly shared noshared scale_cursor viewonly noviewonly shared noshared forever
forever noforever once timeout deny lock nodeny unlock noforever once timeout deny lock nodeny unlock connect
connect allowonce allow localhost nolocalhost listen allowonce allow localhost nolocalhost listen lookup
lookup nolookup accept gone shm noshm flipbyteorder nolookup accept popup gone shm noshm flipbyteorder
noflipbyteorder onetile noonetile solid_color solid noflipbyteorder onetile noonetile solid_color solid
nosolid blackout xinerama noxinerama xtrap noxtrap nosolid blackout xinerama noxinerama xtrap noxtrap
xrandr noxrandr xrandr_mode padgeom quiet q noquiet xrandr noxrandr xrandr_mode padgeom quiet q noquiet
@ -2300,8 +2332,8 @@ nodontdisconnect desktop debug_xevents nodebug_xevents
debug_xevents debug_xdamage nodebug_xdamage debug_xevents debug_xdamage nodebug_xdamage
debug_xdamage debug_wireframe nodebug_wireframe debug_xdamage debug_wireframe nodebug_wireframe
debug_wireframe debug_scroll nodebug_scroll debug_scroll debug_wireframe debug_scroll nodebug_scroll debug_scroll
debug_tiles dbt nodebug_tiles nodbt debug_tiles dbg debug_tiles dbt nodebug_tiles nodbt debug_tiles
nodbg noremote debug_grabs nodebug_grabs dbg nodbg noremote
.IP .IP
aro= display vncdisplay desktopname guess_desktop aro= display vncdisplay desktopname guess_desktop
http_url auth users rootshift clipshift scale_str http_url auth users rootshift clipshift scale_str

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save