From bf95706cfcf39483bd010275e0e2201a12a26d0d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 6 Jun 2018 16:32:45 +0200 Subject: FreeRDP v2 cmdline option: Start making configuration of the xfreerdp call more flexible. Add /cert-ignore option via default config file. --- freerdp2-session.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'freerdp2-session.in') diff --git a/freerdp2-session.in b/freerdp2-session.in index 19d57a9..78e1979 100755 --- a/freerdp2-session.in +++ b/freerdp2-session.in @@ -20,6 +20,12 @@ # Author lightdm-remote-session-freerdp (where we forked from): Ted Gould # +FREERDP2_OPTIONS = "" + +if [ -f /etc/default/lightdm-remote-session-freerdp2 ]; then + . /etc/default/lightdm-remote-session-freerdp2 +fi + socket="$HOME/.freerdp2-socket"; if [ -e "$socket" ]; then AUTH_INFO="$(socat unix-connect:"$socket" -)" @@ -41,6 +47,7 @@ if [ -e "$socket" ]; then /d:"${AUTH_INFO_DOMAIN}" \ /from-stdin \ -toggle-fullscreen \ + ${FREERDP2_OPTIONS} \ 2>&1 \ \ | logger -t lightdm-remote-session-freerdp2 -- \ -- cgit v1.2.3