File gnome-shell-disable-screensaver-user-switch-when-remote.patch of Package gnome-shell.19696
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index f0b266e..f01b804 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -50,7 +50,7 @@ var UnlockDialog = GObject.registerClass({
this.allowCancel = false;
let screenSaverSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.screensaver' });
- if (screenSaverSettings.get_boolean('user-switch-enabled')) {
+ if (screenSaverSettings.get_boolean('user-switch-enabled') && this._userManager.can_switch()) {
let otherUserLabel = new St.Label({ text: _("Log in as another user"),
style_class: 'login-dialog-not-listed-label' });
this._otherUserButton = new St.Button({ style_class: 'login-dialog-not-listed-button',