diff options
author | Karl J. Runge <runge@haystack.runge.home> | 2009-03-14 11:57:04 -0400 |
---|---|---|
committer | Karl J. Runge <runge@haystack.runge.home> | 2009-03-14 11:57:04 -0400 |
commit | bce0939c0ea06ef0b729dae0dd7c4d56bfbb6c5d (patch) | |
tree | 0c68dab33e99070555733424ccd89bd0cff299be /x11vnc/ssltools.h | |
parent | 03666d6a17d8d0a1b436d3b781eec1c53e6b65d2 (diff) | |
download | libtdevnc-bce0939c0ea06ef0b729dae0dd7c4d56bfbb6c5d.tar.gz libtdevnc-bce0939c0ea06ef0b729dae0dd7c4d56bfbb6c5d.zip |
Tweak settings and docs for create_display. Add FD_EXTRA finishing cmd.
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r-- | x11vnc/ssltools.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h index 04cd081..0f20956 100644 --- a/x11vnc/ssltools.h +++ b/x11vnc/ssltools.h @@ -2041,7 +2041,9 @@ char create_display[] = "}\n" "\n" "\n" -"depth=${depth:-16}\n" +"depth0=24\n" +"geom0=1280x1024\n" +"depth=${depth:-24}\n" "geom=${geom:-1280x1024}\n" "\n" "nolisten=${FD_NOLISTEN:-\"-nolisten tcp\"}\n" @@ -2068,12 +2070,12 @@ char create_display[] = "if echo \"$depth\" | grep '^[0-9][0-9]*$' > /dev/null; then\n" " :\n" "else\n" -" depth=16\n" +" depth=$depth0\n" "fi\n" "if echo \"$geom\" | grep '^[0-9][0-9]*x[0-9][0-9]*$' > /dev/null; then\n" " :\n" "else\n" -" geom=1280x1024\n" +" geom=$geom0\n" "fi\n" "\n" "if [ \"X$USER\" = \"X\" ]; then\n" @@ -2165,6 +2167,9 @@ char create_display[] = " if [ \"X$result\" = \"X1\" ]; then\n" " echo \"DISPLAY=:$N\"\n" " $have_xauth -f $authfile extract - :$N\n" +" if [ \"X$FD_EXTRA\" != \"X\" ]; then\n" +" $have_nohup env DISPLAY=:$N sh -c \"(sleep 2; $FD_EXTRA) &\" 1>&2 &\n" +" fi\n" " exit 0\n" " fi\n" "done\n" |