[X2Go-Commits] [x2goclient] 10/38: pyhoca-cli: Add --kdrive option.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:15:12 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit 0cc6456c7054bdcc9be56d3eb4814bbb61e90221
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Aug 27 23:44:24 2021 +0200
pyhoca-cli: Add --kdrive option.
---
man/man1/pyhoca-cli.1 | 3 +++
pyhoca-cli | 1 +
pyhoca/cli/frontend.py | 1 +
3 files changed, 5 insertions(+)
diff --git a/man/man1/pyhoca-cli.1 b/man/man1/pyhoca-cli.1
index aeba44cf..d315ad5b 100644
--- a/man/man1/pyhoca-cli.1
+++ b/man/man1/pyhoca-cli.1
@@ -153,6 +153,9 @@ Use X2Go printing (default: disabled).
\*(T<\fB\-\-share-mode\fR \fI{0|1}\fR\*(T>
Share mode for X2Go desktop sharing (0: view-only, 1: full access).
.TP
+\*(T<\fB\-\-kdrive\fR\*(T>
+As graphical backend use the X2Go Kdrive Xserver instead of the default NXv3 Xserver.
+.TP
\*(T<\fB\-\-auth-attempts\fR \fI{0,1,2,3,...}\fR\*(T>
Number of interactive authentication attempts in case authentication with the server fails (wrong password?). A value that equals 0
disables interactive authentication completely and requires that a private SSH key has been given on the command line or in the
diff --git a/pyhoca-cli b/pyhoca-cli
index 18bbf362..4ecdf68c 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -170,6 +170,7 @@ x2go_options = [
{'args':['--clean-sessions'], 'default': False, 'action': 'store_true', 'help': 'clean all suspended sessions before starting a new one', },
{'args':['--terminate-on-ctrl-c'], 'default': False, 'action': 'store_true', 'help': 'terminate the connected session when pressing CTRL+C (instead of suspending the session)', },
{'args':['--auth-attempts'], 'default': 3, 'help': 'number of authentication attempts before authentication fails (default: 3)', },
+ {'args':['--kdrive'], 'default': False, 'action': 'store_true', 'help': 'as graphical backend use the X2Go Kdrive Xserver instead of the default NXv3 Xserver', },
]
ssh_options = [
{'args':['-A', '--forward-sshagent'], 'default': False, 'action': 'store_true', 'help': 'forward SSH agent authentication socket', },
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index 4cb59623..c24d064c 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -457,6 +457,7 @@ class PyHocaCLI(x2go.X2GoClient):
add_to_known_hosts=self.args.add_to_known_hosts,
profile_name = 'Pyhoca-Client_Session',
session_type=self.args.session_type,
+ kdrive=self.args.kdrive,
link=self.args.link,
dpi=self.args.dpi,
xinerama=self.args.xinerama,
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list