Lines Matching full:x11vnc
7 # x11vnc desktops. The user desktop sessions run in 'Xvfb' displays
60 # $x11vnc = '/usr/local/bin/x11vnc';
62 # that will set the path to the x11vnc binary to that location. Look at
67 # x11vnc:
69 # You need to install x11vnc or otherwise have it available. It is
70 # REQUIRED that you use x11vnc 0.9.10 or later. It won't work with
71 # earlier versions. See below the $x11vnc parameter that you can set
72 # to the full path to x11vnc.
77 # Note that the x11vnc -create virtual desktop service used below requires
81 # If you are having trouble getting 'x11vnc -create' to work with this
82 # script (it can be tricky), try it manually and/or see the x11vnc FAQ
121 # You will *also* need to copy the x11vnc classes/ssl/UltraViewerSSL.jar
135 # the $applet_jar below. You can get these jar files from the x11vnc
138 # http://www.karlrunge.com/x11vnc/#downloading
140 # This script requires x11vnc 0.9.10 or later.
143 # 'x11vnc -http ...' usage where x11vnc acts as a mini web server and
151 # Each x11vnc server created for a user login will listen on its own port
176 # asked to inspect: apache's SSL cert and x11vnc's SSL cert. This may
187 # http://www.karlrunge.com/x11vnc/faq.html#faq-xvfb
188 # http://www.karlrunge.com/x11vnc/faq.html#faq-ssl-tunnel-viewers
189 # http://www.karlrunge.com/x11vnc/faq.html#faq-ssl-java-viewer-proxy
190 # http://www.karlrunge.com/x11vnc/faq.html#faq-ssl-portal
191 # http://www.karlrunge.com/x11vnc/faq.html#faq-unix-passwords
192 # http://www.karlrunge.com/x11vnc/faq.html#faq-userlogin
228 # Path to the x11vnc program:
230 my $x11vnc = '/usr/bin/x11vnc';
234 # You can set some extra x11vnc cmdline options here:
240 # Override the default x11vnc viewer connection timeout of 75 seconds:
337 # ~user/x11vnc.pw. If that fifo transfer technique causes problems,
352 # existing desktop session (x11vnc FINDDISPLAY action.)
361 # Set this to the list of x11vnc -create sessions types to show a session
388 <title>x11vnc web access</title>
389 <h3>x11vnc web access</h3>
421 x11vnc desktop (_UID_/_VNC_PORT_)
436 <a href=http://www.karlrunge.com/x11vnc>x11vnc website</a>
468 # $x11vnc = '/usr/local/bin/x11vnc';
512 # Experiment for FD_TAG x11vnc feature for multiple desktops for a
539 # Check x11vnc version for installers of this script who do not know
542 my $version = (split(' ', `$x11vnc -version`))[1];
547 bye("The x11vnc program is not installed correctly.");
553 bye("x11vnc version 0.9.10 or later is required. (Found version $version)");
682 # Use x11vnc trick to check if the unix password is valid:
683 # (requires x11vnc 0.9.10 or later.)
685 if (!open(X11VNC, "| $x11vnc -unixpw \%stdin > /dev/null")) {
688 print X11VNC "$username:$password\n";
690 if (!close X11VNC) {
691 # x11vnc returns non-zero for invalid username+password:
751 # Use x11vnc trick to switch to user and store vnc pass in the passwdfile.
752 # Result is $pass is placed in user's $HOME/x11vnc.pw
761 # Make a tmp file for x11vnc launcher script:
782 # The x11vnc command. You adjust it to suit your needs.
833 $md5sum = "if md5sum \$HOME/x11vnc.pw | grep '$s' > /dev/null; then true; else exit 1; fi";
840 # Write x11vnc command to the tmp file:
846 $x11vnc -sigpipe ignore:HUP -nopw -rfbport $vnc_port \\
847 -passwdfile \$HOME/x11vnc.pw -oa \$HOME/x11vnc.log \\
857 # Now launch x11vnc to switch to user and run the wrapper script:
858 # (this requires x11vnc 0.9.10 or later.)
874 # Start the x11vnc cmd:
876 if (!open(X11VNC, "| $x11vnc -unixpw \%stdin > /dev/null")) {
882 select(X11VNC); $| = 1; select(STDOUT);
885 # and when when x11vnc in $tmpfile reopens the port after the password
892 print X11VNC "$username:$password\n";
893 close X11VNC; # note we ignore return value.
897 # let our x11vnc proceed a bit before removing lock.
902 # Return html for the java applet to connect to x11vnc.
956 # is kept open (and stored in $find_free_port) until we call x11vnc at
978 # of time before x11vnc reopens the port (see near the bottom.)
1009 # we will keep this open until we call x11vnc:
1022 # the x11vnc -unixpw trick we unfortunately can't use a pipe because
1030 # then the logging-in user's x11vnc won't get it. The login and x11vnc
1093 my $upw = '$HOME/x11vnc.pw';
1098 if (!open(X11VNC, "| $x11vnc -unixpw \%stdin > /dev/null")) {
1102 select(X11VNC); $| = 1; select(STDOUT);
1107 close X11VNC;
1125 print X11VNC "$username:$password\n";
1131 close X11VNC;
1139 close X11VNC; # note we ignore return value.
1233 # Return html for the java applet to connect to x11vnc.
1236 # see if you agree with them. See x11vnc classes/ssl/README for all