aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-21 21:49:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-21 21:49:50 +0200
commit40d54935a63658845d1e94fe28c510eb86795006 (patch)
treece26f810b692f5b4015931562dcd6c6546052455 /src
parentd65a3061b76888008f8abbaec9bc7a78ebbdcd0c (diff)
downloadarctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.tar.gz
arctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.tar.bz2
arctica-greeter-40d54935a63658845d1e94fe28c510eb86795006.zip
Apply openSUSE patch: arctica-greeter-disable-remote-logon.patch.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am10
-rw-r--r--src/user-list.vala5
2 files changed, 12 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bb91f59..c078f43 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,8 +7,6 @@ arctica_greeter_SOURCES = \
config.vapi \
fixes.vapi \
indicator.vapi \
- pam_freerdp2.vapi \
- pam_x2go.vapi \
xsync.vapi \
animate-timer.vala \
background.vala \
@@ -38,7 +36,13 @@ arctica_greeter_SOURCES = \
arctica-greeter.vala \
user-list.vala \
user-prompt-box.vala \
- util.vala
+ util.vala \
+ $(NULL)
+
+# Disable remote logon features we haven't packaged yet.
+# pam_freerdp2.vapi \
+# pam_x2go.vapi \
+# $(NULL)
logo_generator_SOURCES = logo-generator.vala
diff --git a/src/user-list.vala b/src/user-list.vala
index 3936768..124f5b3 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -1191,6 +1191,10 @@ public class UserList : GreeterList
if (selected_entry.id.has_prefix ("*remote_login"))
{
var greeter = new ArcticaGreeter ();
+ /*
+ * Fully disable some remote logon features for now.
+ */
+ /*
if ((text == pam_x2go.PROMPT_USER) || (text == pam_freerdp2.PROMPT_USER))
{
Gtk.Entry field = current_remote_fields.get ("username") as Gtk.Entry;
@@ -1225,6 +1229,7 @@ public class UserList : GreeterList
debug ("remote_login prompt parsing: command -> %s", answer);
greeter.respond (answer);
}
+ */
}
else
{