Skip to content
Snippets Groups Projects
Commit c077a843 authored by Hardening's avatar Hardening Committed by Kristian Høgsberg
Browse files

Document RDP compositor options

Help was missing for the RDP compositor, this patch gives details
about available options.
parent fe107f36
No related branches found
No related tags found
No related merge requests found
...@@ -197,6 +197,7 @@ AC_ARG_ENABLE([rdp-compositor], [ --enable-rdp-compositor],, ...@@ -197,6 +197,7 @@ AC_ARG_ENABLE([rdp-compositor], [ --enable-rdp-compositor],,
AM_CONDITIONAL([ENABLE_RDP_COMPOSITOR], AM_CONDITIONAL([ENABLE_RDP_COMPOSITOR],
[test x$enable_rdp_compositor = xyes]) [test x$enable_rdp_compositor = xyes])
if test x$enable_rdp_compositor = xyes; then if test x$enable_rdp_compositor = xyes; then
AC_DEFINE([BUILD_RDP_COMPOSITOR], [1], [Build the RDP compositor])
PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0]) PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0])
fi fi
......
...@@ -3222,6 +3222,21 @@ usage(int error_code) ...@@ -3222,6 +3222,21 @@ usage(int error_code)
"\n"); "\n");
#endif #endif
#if defined(BUILD_RDP_COMPOSITOR)
fprintf(stderr,
"Options for rdp-backend.so:\n\n"
" --width=WIDTH\t\tWidth of desktop\n"
" --height=HEIGHT\tHeight of desktop\n"
" --extra-modes=MODES\t\n"
" --env-socket=SOCKET\tUse that socket as peer connection\n"
" --address=ADDR\tThe address to bind\n"
" --port=PORT\tThe port to listen on\n"
" --rdp4-key=FILE\tThe file containing the key for RDP4 encryption\n"
" --rdp-tls-cert=FILE\tThe file containing the certificate for TLS encryption\n"
" --rdp-tls-key=FILE\tThe file containing the private key for TLS encryption\n"
"\n");
#endif
exit(error_code); exit(error_code);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment