diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-11 21:04:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-11 21:04:39 +0200 |
commit | 819330565c3e73bea3766428a031dfbcc90d65ae (patch) | |
tree | 376619587e6d59725c9a8593b972cda114e7cf64 | |
parent | 62cbc6baf22994adb63689dcf5829f965cc1090c (diff) | |
download | lightdm-remote-session-remoteconfigure-819330565c3e73bea3766428a031dfbcc90d65ae.tar.gz lightdm-remote-session-remoteconfigure-819330565c3e73bea3766428a031dfbcc90d65ae.tar.bz2 lightdm-remote-session-remoteconfigure-819330565c3e73bea3766428a031dfbcc90d65ae.zip |
remoteconfigure-session.in: Make X session manager in which to start the browser session configurable.
-rw-r--r-- | lightdm-remote-session-remoteconfigure.default | 9 | ||||
-rw-r--r-- | 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 <ted@canonical.com> +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}" |