summaryrefslogtreecommitdiffstats
path: root/x11vnc/ssltools.h
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2010-04-18 19:37:37 -0400
committerrunge <runge@karlrunge.com>2010-04-18 19:37:37 -0400
commitb74c8f4241ec8c3d972ee97d0ce9a399ddd09ce1 (patch)
treec8c8aaec90fd51a10790795030777b2dda548fe7 /x11vnc/ssltools.h
parent2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204 (diff)
downloadlibtdevnc-b74c8f4241ec8c3d972ee97d0ce9a399ddd09ce1.tar.gz
libtdevnc-b74c8f4241ec8c3d972ee97d0ce9a399ddd09ce1.zip
Improvements to demo scripts. Alias -coe for -connect_or_exit. Fix HAVE_V4L2. Warn no Xvfb, Xdummy, or Xvnc. Xinerama screens.
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r--x11vnc/ssltools.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h
index c402ded..89849a5 100644
--- a/x11vnc/ssltools.h
+++ b/x11vnc/ssltools.h
@@ -1801,6 +1801,13 @@ char create_display[] =
" echo \"$tf\"\n"
"}\n"
"\n"
+"missing_mesg() {\n"
+" echo \"\" 1>&2\n"
+" echo \"The program \\\"$1\\\" could not be found in PATH and standard locations.\" 1>&2\n"
+" echo \"You probably need to install a package that provides the \\\"$1\\\" program.\" 1>&2\n"
+" echo \"\" 1>&2\n"
+"}\n"
+"\n"
"server() {\n"
" authfile=`auth`\n"
" sess=`findsession`\n"
@@ -2010,6 +2017,7 @@ char create_display[] =
"\n"
"try_Xvnc() {\n"
" if [ \"X$have_Xvnc\" = \"X\" ]; then\n"
+" missing_mesg Xvnc\n"
" return\n"
" fi\n"
"\n"
@@ -2078,6 +2086,7 @@ char create_display[] =
"\n"
"try_Xvfb() {\n"
" if [ \"X$have_Xvfb\" = \"X\" ]; then\n"
+" missing_mesg Xvfb\n"
" return\n"
" fi\n"
"\n"
@@ -2110,6 +2119,7 @@ char create_display[] =
"\n"
"try_Xdummy() {\n"
" if [ \"X$have_Xdummy\" = \"X\" ]; then\n"
+" missing_mesg Xdummy\n"
" return\n"
" fi\n"
" if [ \"X$FD_XDUMMY_RUN_AS_ROOT\" != \"X\" -a \"X$have_root\" = \"X\" ]; then\n"