From ee26591128959cd16e8cdbcfbbf3bc3fdec010f4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 7 May 2018 11:14:10 +0200 Subject: freerdp2-session.in: Log xfreerdp command output to syslog. --- freerdp2-session.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3