aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-07 11:14:10 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-07 11:14:10 +0200
commitee26591128959cd16e8cdbcfbbf3bc3fdec010f4 (patch)
tree89f90ef6412c3b376cb74a6684e4c394982e91a0
parentca291d8ad4613800786fd2b30ba2ebc0bd239806 (diff)
downloadlightdm-remote-session-freerdp2-ee26591128959cd16e8cdbcfbbf3bc3fdec010f4.tar.gz
lightdm-remote-session-freerdp2-ee26591128959cd16e8cdbcfbbf3bc3fdec010f4.tar.bz2
lightdm-remote-session-freerdp2-ee26591128959cd16e8cdbcfbbf3bc3fdec010f4.zip
freerdp2-session.in: Log xfreerdp command output to syslog.
-rwxr-xr-xfreerdp2-session.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/freerdp2-session.in b/freerdp2-session.in
index 3c62ada..51ce22b 100755
--- a/freerdp2-session.in
+++ b/freerdp2-session.in
@@ -27,7 +27,7 @@ if [ -e "$socket" ]; then
AUTH_INFO_PASSWORD=$(echo "$AUTH_INFO" | awk '{ print $2 }')
AUTH_INFO_DOMAIN=$(echo "$AUTH_INFO" | awk '{ print $3 }')
AUTH_INFO_HOST=$(echo "$AUTH_INFO" | awk '{ print $4 }')
- echo "$AUTH_INFO_PASSWORD" | /usr/bin/xfreerdp /sound:sys:pulse /f /v:"${AUTH_INFO_HOST}" /u:"${AUTH_INFO_USER}" /d:"${AUTH_INFO_DOMAIN}" /from-stdin
+ echo "$AUTH_INFO_PASSWORD" | /usr/bin/xfreerdp /sound:sys:pulse /f /v:"${AUTH_INFO_HOST}" /u:"${AUTH_INFO_USER}" /d:"${AUTH_INFO_DOMAIN}" /from-stdin | logger -t lightdm-remote-session-freerdp2 --
unset AUTH_INFO_PASSWORD
else
zenity --warning --text="Unable to locate FreeRDP socket"