aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xx2go-session.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/x2go-session.in b/x2go-session.in
new file mode 100755
index 0000000..e95786f
--- /dev/null
+++ b/x2go-session.in
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ -e ~/.x2go-socket ]; then
+ @libexecdir@/socket-sucker | /usr/bin/pyhoca-cli --from-stdin
+else
+ zenity --warning --text="Unable to locate X2GoSession/PyHoca socket"
+fi;
+
+rm -f ~/.x2go-socket