[X2Go-Commits] [nx-libs] 10/54: nxproxy: list known session types in help output

git-admin at x2go.org git-admin at x2go.org
Sun Mar 24 10:05:00 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit bfc05af73df842ed48ee46ae6e4df516335024fe
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Sun Feb 17 18:00:28 2019 +0100

    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.
---
 nxcomp/src/Misc.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp
index 4f1af0e..5194892 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\

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list