aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-02-17 18:00:28 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-02-18 08:44:27 +0100
commitbfc05af73df842ed48ee46ae6e4df516335024fe (patch)
tree97ae83299e00997028065829228c6e0fcbce3290 /nxcomp/src
parenta3dc87d6b45c09a1c8959976b18513635fdca225 (diff)
downloadnx-libs-bfc05af73df842ed48ee46ae6e4df516335024fe.tar.gz
nx-libs-bfc05af73df842ed48ee46ae6e4df516335024fe.tar.bz2
nx-libs-bfc05af73df842ed48ee46ae6e4df516335024fe.zip
nxproxy: list known session types in help output
The old unix-* session types are deprecated and will always lead to a warning message "Unrecognized session type". Internally there are only three session types: agent, proxy and shadow, all the others are mapped to one of those three.
Diffstat (limited to 'nxcomp/src')
-rw-r--r--nxcomp/src/Misc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp
index 4f1af0ec4..519489268 100644
--- a/nxcomp/src/Misc.cpp
+++ b/nxcomp/src/Misc.cpp
@@ -163,8 +163,11 @@ static const char UsageInfo[] =
'wan', 'lan', 'local' or a bandwidth specification,\n\
like for example '56k', '1m', '100m', etc.\n\
\n\
- type=s Type of session, for example 'windows', 'unix-kde'.\n\
- 'unix-application', etc.\n\
+ type=s Type of session. Known types are: 'agent', 'proxy' and\n\
+ 'shadow'. The following types are also allowed and will\n\
+ map to one of the three mentioned before: 'desktop',\n\ \
+ 'rootless', 'console', 'default', 'gnome', 'kde',\n\
+ 'cde', 'xdm', 'win', 'vnc', 'application', 'raw'\n\
\n\
display=s Specify the real display where X connections have\n\
to be forwarded by the proxy running on the client.\n\