aboutsummaryrefslogtreecommitdiff
path: root/x2go-session.in
diff options
context:
space:
mode:
Diffstat (limited to 'x2go-session.in')
-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..bfdf5e9
--- /dev/null
+++ b/x2go-session.in
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ -e ~/.x2go-socket ]; then
+ @pkglibexecdir@/socket-sucker | /usr/bin/xx2go --plugin rdpsnd.so -f --from-stdin
+else
+ zenity --warning --text="Unable to locate FreeRDP socket"
+fi;
+
+rm -f ~/.x2go-socket