aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 15:45:28 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 15:45:28 +0100
commit7a2715ec3324c4644696bf3211569235eebebc91 (patch)
tree3364ac1b3e2202a06e313a1fac3361323ed637f5
parent40bd36eaf25d98805d198e88cdd8a139e7bf5471 (diff)
downloadlightdm-remote-session-arctica-7a2715ec3324c4644696bf3211569235eebebc91.tar.gz
lightdm-remote-session-arctica-7a2715ec3324c4644696bf3211569235eebebc91.tar.bz2
lightdm-remote-session-arctica-7a2715ec3324c4644696bf3211569235eebebc91.zip
add forgotten file 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..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