aboutsummaryrefslogtreecommitdiff
path: root/freerdp-session.in
diff options
context:
space:
mode:
Diffstat (limited to 'freerdp-session.in')
-rwxr-xr-xfreerdp-session.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/freerdp-session.in b/freerdp-session.in
new file mode 100755
index 0000000..8868336
--- /dev/null
+++ b/freerdp-session.in
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if [ -e ~/.freerdp-socket ]; then
+ @pkglibexecdir@/socket-sucker | /usr/bin/xfreerdp --plugin rdpsnd.so --no-nla -f --from-stdin
+else
+ zenity --warning --text="Unable to locate FreeRDP socket"
+fi;
+
+rm -f ~/.freerdp-socket