From 819330565c3e73bea3766428a031dfbcc90d65ae Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 11 May 2018 21:04:39 +0200 Subject: remoteconfigure-session.in: Make X session manager in which to start the browser session configurable. --- lightdm-remote-session-remoteconfigure.default | 9 ++++++++- remoteconfigure-session.in | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/lightdm-remote-session-remoteconfigure.default b/lightdm-remote-session-remoteconfigure.default index d1fdcd4..a9eb144 100644 --- a/lightdm-remote-session-remoteconfigure.default +++ b/lightdm-remote-session-remoteconfigure.default @@ -1,3 +1,10 @@ +# lightdm-remote-session-remoteconfigure: Tweaking it... + # URL for the Remote Logon Configuration tool for this site / host # Adapt to your needs and make sure, Firefox can handle the URL. -#REMOTECONFIGURE_URL=https://service.arctica-project.org/remoteconfigure \ No newline at end of file + +#REMOTECONFIGURE_URL="https://service.arctica-project.org/remoteconfigure" + +# X session manager that we run this browser session in, it needs +# to be an X session manager that is able to load XDG autostart applications. +#X_SESSION_MANAGER="x-session-manager" diff --git a/remoteconfigure-session.in b/remoteconfigure-session.in index b74bf9b..f75a5d2 100644 --- a/remoteconfigure-session.in +++ b/remoteconfigure-session.in @@ -15,9 +15,15 @@ # # Author: Ted Gould +X_SESSION_MANAGER="x-session-manager" + +if [ -f "/etc/default/lightdm-remote-session-remoteconfigure" ]; then + . /etc/default/lightdm-remote-session-remoteconfigure +fi + # Set up a Firefox autostart mkdir -p ~/.config/autostart/ cp @pkgdatadir@/firefox-remoteconfigure.desktop ~/.config/autostart/ # Final thing is to run a minimal desktop session -exec openbox +exec "${X_SESSION_MANAGER}" -- cgit v1.2.3