Changes between Version 3 and Version 4 of TipAndDoc/network/vnc/x11vnc


Ignore:
Timestamp:
Mar 7, 2011 1:04:04 AM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/vnc/x11vnc

    v3 v4  
    10581058                       modes.  They are not recommended for use on machines 
    10591059                       with untrustworthy local users. 
     1060 
     1061(snip) 
     1062 
     1063-o logfile             Write stderr messages to file "logfile" instead of to 
     1064                       the terminal.  Same as "-logfile file".  To append 
     1065                       to the file use "-oa file" or "-logappend file". 
     1066                       If "logfile" contains the string "%VNCDISPLAY" 
     1067                       it is expanded to the vnc display (the name may need 
     1068                       to be guessed at.)  "%HOME" works too. 
     1069 
     1070-flag file             Write the "PORT=NNNN" (e.g. PORT=5900) string to 
     1071                       "file" in addition to stdout.  This option could be 
     1072                       useful by wrapper script to detect when x11vnc is ready. 
     1073 
     1074-rmflag file           Remove "file" at exit to signal when x11vnc is done. 
     1075                       The file is created at startup if it does not already 
     1076                       exist or if "file" is prefixed with "create:". 
     1077                       If the file is created, the x11vnc PID is placed in 
     1078                       the file.  Otherwise the files contents is not changed. 
     1079                       Use prefix "nocreate:" to prevent creation. 
     1080 
     1081-rc filename           Use "filename" instead of $HOME/.x11vncrc for rc file. 
     1082-norc                  Do not process any .x11vncrc file for options. 
     1083 
     1084-env VAR=VALUE         Set the environment variable 'VAR' to value 'VALUE' 
     1085                       at x11vnc startup.  This is a convenience utility to 
     1086                       avoid shell script wrappers, etc. to set the env. var. 
     1087                       You may specify as many of these as needed on the 
     1088                       command line. 
     1089-prog /path/to/x11vnc  Set the full path to the x11vnc program for cases when 
     1090                       it cannot be determined from argv[0] (e.g. tcpd/inetd) 
     1091 
     1092-h, -help              Print this help text. 
     1093-?, -opts              Only list the x11vnc options. 
     1094-V, -version           Print program version and last modification date. 
     1095-license               Print out license information.  Same as -copying and 
     1096                       -warranty. 
     1097 
     1098-dbg                   Instead of exiting after cleaning up, run a simple 
     1099                       "debug crash shell" when fatal errors are trapped. 
     1100 
     1101-q, -quiet             Be quiet by printing less informational output to 
     1102                       stderr. (use -noquiet to undo an earlier -quiet.) 
     1103 
     1104                       The -quiet option does not eliminate all informational 
     1105                       output, it only reduces it.  It is ignored in most 
     1106                       auxiliary usage modes, e.g. -storepasswd.  To eliminate 
     1107                       all output use: 2>/dev/null 1>&2, etc. 
     1108 
     1109-v, -verbose           Print out more information to stderr. 
     1110 
     1111-bg                    Go into the background after screen setup.  Messages to 
     1112                       stderr are lost unless -o logfile is used.  Something 
     1113                       like this could be useful in a script: 
     1114                        port=`ssh -t $host "x11vnc -display :0 -bg" | grep PORT` 
     1115                        port=`echo "$port" | sed -e 's/PORT=//'` 
     1116                        port=`expr $port - 5900` 
     1117                        vncviewer $host:$port 
    10601118 
    10611119(snip)