From e422483023dc63f03b92278e988823aed3560153 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 12 May 2018 22:38:58 +0200 Subject: x2go-session.in: Launch pyhoca-cli with --try-resume option (added in PyHoca-CLI 0.5.99.1). --- debian/control | 2 +- x2go-session.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index d8336ae..7432fed 100644 --- a/debian/control +++ b/debian/control @@ -22,7 +22,7 @@ Depends: ${misc:Depends}, libpam-x2go (>= 0.0.2), lightdm (>= 1.3.3-0~), - pyhoca-cli (>= 0.2.1.0-0~), + pyhoca-cli (>= 0.5.99.1-0~), socat, zenity, Suggests: diff --git a/x2go-session.in b/x2go-session.in index 36d1b3b..66dd62a 100755 --- a/x2go-session.in +++ b/x2go-session.in @@ -22,7 +22,8 @@ socket="$HOME/.x2go-socket"; if [ -e "$socket" ]; then - socat unix-connect:"$socket" - | /usr/bin/pyhoca-cli --from-stdin \ + socat unix-connect:"$socket" - | /usr/bin/pyhoca-cli --try-resume \ + --from-stdin \ --add-to-known-hosts \ --kbd-type auto \ --sound pulse \ -- cgit v1.2.3