diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-06-06 16:32:45 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-06-06 16:32:45 +0200 |
commit | bf95706cfcf39483bd010275e0e2201a12a26d0d (patch) | |
tree | be523a658cfa1f974ba7931145acb7aae46ca68d | |
parent | ddc73a660af1179735c577e33d5f8df899459c2d (diff) | |
download | lightdm-remote-session-freerdp2-bf95706cfcf39483bd010275e0e2201a12a26d0d.tar.gz lightdm-remote-session-freerdp2-bf95706cfcf39483bd010275e0e2201a12a26d0d.tar.bz2 lightdm-remote-session-freerdp2-bf95706cfcf39483bd010275e0e2201a12a26d0d.zip |
FreeRDP v2 cmdline option: Start making configuration of the xfreerdp call more flexible. Add /cert-ignore option via default config file.
-rw-r--r-- | README.md | 3 | ||||
l--------- | debian/lightdm-remote-session-freerdp2.default | 1 | ||||
-rwxr-xr-x | freerdp2-session.in | 7 | ||||
-rw-r--r-- | lightdm-remote-session-freerdp2.default | 4 |
4 files changed, 15 insertions, 0 deletions
@@ -22,6 +22,9 @@ For this Remote Logon Add-on to work, you have to populate with your RDP servers' host keys. Otherwise, logins will fail. +Alternatively, add the /cert-ignore option to the set of FREERDP2_OPTIONS +in /etc/default/lightdm-remote-session-freerdp2. + ## Limitations / Known Issues * Sound not working, yet diff --git a/debian/lightdm-remote-session-freerdp2.default b/debian/lightdm-remote-session-freerdp2.default new file mode 120000 index 0000000..ccae6a3 --- /dev/null +++ b/debian/lightdm-remote-session-freerdp2.default @@ -0,0 +1 @@ +/home/mike/MyDocuments/4projects/arctica-upstream/lightdm-remote-session-freerdp2.upstream/lightdm-remote-session-freerdp2/lightdm-remote-session-freerdp2.default
\ No newline at end of file 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 <ted@canonical.com> # +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 -- \ diff --git a/lightdm-remote-session-freerdp2.default b/lightdm-remote-session-freerdp2.default new file mode 100644 index 0000000..32dfcd5 --- /dev/null +++ b/lightdm-remote-session-freerdp2.default @@ -0,0 +1,4 @@ +### lightdm-remote-session-freerdp2: Tweak the default behaviour. + +# Ignore host keys and allow connections to any RDP server (uncomment to have it set) +#FREERDP2_OPTIONS+=" /cert-ignore" |