aboutsummaryrefslogtreecommitdiff
path: root/freerdp-session
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-17 23:08:01 -0500
committerTed Gould <ted@gould.cx>2012-08-17 23:08:01 -0500
commitc6efcc711cdce6a93cba551d712a8b102e0df764 (patch)
treeb8e5e63294ad3babb549b4719c3d2123fd565914 /freerdp-session
parent63478d8c9d66586cb8869383cf601af0fe294e9e (diff)
downloadlightdm-remote-session-freerdp2-c6efcc711cdce6a93cba551d712a8b102e0df764.tar.gz
lightdm-remote-session-freerdp2-c6efcc711cdce6a93cba551d712a8b102e0df764.tar.bz2
lightdm-remote-session-freerdp2-c6efcc711cdce6a93cba551d712a8b102e0df764.zip
Adding the piece that actually starts the session itself.
Diffstat (limited to 'freerdp-session')
-rwxr-xr-xfreerdp-session7
1 files changed, 7 insertions, 0 deletions
diff --git a/freerdp-session b/freerdp-session
new file mode 100755
index 0000000..d304a98
--- /dev/null
+++ b/freerdp-session
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ -e ~/.freerdp-socket ]; then
+ cat ~/.freerdp-socket | /usr/bin/xfreerdp --plugin rdpsnd.so --no-nla -f --from-stdin
+else
+ zenity --warning --text="Unable to locate FreeRDP socket"
+fi;