aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-28 16:07:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2014-11-28 16:07:15 +0100
commitc3ad1ba6d691d3b0d227652afc4f0cdb10a21a27 (patch)
treeae98ffd02252b5241da33c7931cb79df0913802e
parent834e272cad0d16baf1a1939924b27e6feab91761 (diff)
downloadarctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.tar.gz
arctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.tar.bz2
arctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.zip
If normal user sessions _and_ guest sessions are disabled, make sure the remote login services gets activated.
-rw-r--r--debian/changelog2
-rw-r--r--src/user-list.vala3
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 2049b42..bd63fd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ unity-greeter-x2go (14.04.10-0x2go1) UNRELEASED; urgency=medium
- Apply patch 01_x2go+rls.patch. Natively support X2Go Session.
- Allow UCCS logins that are not email addresses (but usernames).
- Make lightdm-xsession the default session to launch.
+ - If normal user sessions _and_ guest sessions are disabled,
+ make sure the remote login services gets activated.
* debian/control:
+ Add to S: lightdm-remote-session-x2go.
+ Drop from S: lightdm-remote-session-uccsconfigure.
diff --git a/src/user-list.vala b/src/user-list.vala
index b2b13b1..017ed6c 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -293,6 +293,9 @@ public class UserList : GreeterList
if (remote_directory_server_list.length() > 0 && !always_show_manual) {
debug ("removing manual login since we have a remote login entry");
remove_entry ("*other");
+ if (!UnityGreeter.singleton.has_guest_account_hint () && UnityGreeter.singleton.hide_users_hint () ) {
+ set_active_first_entry_with_prefix ("*remote_directory");
+ }
}
}