diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/90-arctica-greeter.conf | 24 | ||||
-rw-r--r-- | data/91-arctica-greeter-guest-session.conf | 16 | ||||
-rw-r--r-- | data/92-arctica-greeter-remote-logon.conf | 4 | ||||
-rw-r--r-- | data/Makefile.am | 17 | ||||
-rw-r--r-- | data/arctica-greeter.pkla | 44 |
5 files changed, 104 insertions, 1 deletions
diff --git a/data/90-arctica-greeter.conf b/data/90-arctica-greeter.conf new file mode 100644 index 0000000..4b2584b --- /dev/null +++ b/data/90-arctica-greeter.conf @@ -0,0 +1,24 @@ +[Seat:*] + +# For real usage of Arctica Greeter as Thin Client login +# system, remove the comment hashes for all options below + +# we are very serious, we _want_ Arctica Greeter as LightDM greeter!!! +greeter-session=arctica-greeter + +# don't show local user names at Arctica Greeter login prompt +#greeter-hide-users=true + +# don neither show a username / password login prompt for local login +greeter-show-manual-login=true + +# disable guest sessions (a guest session requires a valid default +# user-session parameter, see below) +#allow-guest=true + +# enforce showing remote login feature +greeter-show-remote-login=true + +# if on Ubuntu and Unity is not installed, this is a minimal user session type for +# default (guest) sessions (sudo apt-get install openbox) +#user-session=openbox diff --git a/data/91-arctica-greeter-guest-session.conf b/data/91-arctica-greeter-guest-session.conf new file mode 100644 index 0000000..cb0a3df --- /dev/null +++ b/data/91-arctica-greeter-guest-session.conf @@ -0,0 +1,16 @@ +[LightDM] + +# Override default guest-account script by Arctica Greeters guest +# account script. +guest-account-script=arctica-greeter-guest-account-script + +[Seat:*] + +# disable guest sessions (a guest session requires a valid default +# user-session parameter, see below) +allow-guest=true +greeter-allow-guest=true + +# if on Ubuntu and Unity is not installed, this is a minimal user session type for +# default (guest) sessions (sudo apt-get install openbox) +#user-session=openbox diff --git a/data/92-arctica-greeter-remote-logon.conf b/data/92-arctica-greeter-remote-logon.conf new file mode 100644 index 0000000..4e8cc6a --- /dev/null +++ b/data/92-arctica-greeter-remote-logon.conf @@ -0,0 +1,4 @@ +[Seat:*] + +# enforce showing remote login feature +greeter-show-remote-login=true diff --git a/data/Makefile.am b/data/Makefile.am index 74a1223..c06a300 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,5 +1,7 @@ # -*- Mode: Automake; indent-tabs-mode: t; tab-width: 4 -*- +NULL = + 50-arctica-greeter.conf: 50-arctica-greeter.conf.in $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ @@ -9,7 +11,20 @@ lightdm_confdir = $(datadir)/lightdm/lightdm.conf.d lightdm_conf_DATA = \ 50-arctica-greeter.conf \ - 50-arctica-greeter-guest-wrapper.conf + 50-arctica-greeter-guest-wrapper.conf \ + $(NULL) + +lightdm_sysconfdir = $(sysconfdir)/lightdm/lightdm.conf.d +lightdm_sysconf_DATA = \ + 90-arctica-greeter.conf \ + 91-arctica-greeter-guest-session.conf \ + 92-arctica-greeter-remote-logon.conf \ + $(NULL) + +pkla_policydir = $(localstatedir)/lib/polkit-1/localauthority/10-vendor.d +pkla_policy_DATA = \ + arctica-greeter.pkla \ + $(NULL) arctica-greeter-guest-session-startup.desktop: arctica-greeter-guest-session-startup.desktop.in $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ diff --git a/data/arctica-greeter.pkla b/data/arctica-greeter.pkla new file mode 100644 index 0000000..99235c2 --- /dev/null +++ b/data/arctica-greeter.pkla @@ -0,0 +1,44 @@ +# DO NOT EDIT THIS FILE, it will be overwritten on update +# Place your local configurations under /etc/polkit-1/localauthority/ + +[Disable Controlling of Network Devices] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.enable-disable-network;org.freedesktop.NetworkManager.enable-disable-wifi;org.freedesktop.NetworkManager.enable-disable-wwan;org.freedesktop.NetworkManager.enable-disable-wimax; +ResultActive=no +ResultInactive=no +ResultsAny=no + +[Disable Sleep and Wake] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.sleep-wake +ResultActive=no +ResultInactive=no +ResultsAny=no + +[Disable WiFi Sharing] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.wifi.share.protected;org.freedesktop.NetworkManager.wifi.share.open +ResultActive=no +ResultInactive=no +ResultsAny=no + +[Disable Settings Modifications] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.settings.modify.own;org.freedesktop.NetworkManager.settings.modify.system;org.freedesktop.NetworkManager.settings.modify.hostname +ResultActive=no +ResultInactive=no +ResultsAny=no + +[Disable User Connections] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.use-user-connections +ResultActive=no +ResultInactive=no +ResultsAny=no + +[Enable Controlling of Network Connections] +Identity=unix-user:lightdm +Action=org.freedesktop.NetworkManager.network-control +ResultActive=yes +ResultInactive=no +ResultsAny=no |