From 71433123c1bc33264a0a11e816092217ca310f60 Mon Sep 17 00:00:00 2001 From: Bob Funk Date: Wed, 25 May 2022 14:20:13 +0100 Subject: desktop/gdm: Added (GNOME Display Manager) Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- ...Xsession-Don-t-start-ssh-agent-by-default.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 desktop/gdm/0001-Xsession-Don-t-start-ssh-agent-by-default.patch (limited to 'desktop/gdm/0001-Xsession-Don-t-start-ssh-agent-by-default.patch') diff --git a/desktop/gdm/0001-Xsession-Don-t-start-ssh-agent-by-default.patch b/desktop/gdm/0001-Xsession-Don-t-start-ssh-agent-by-default.patch new file mode 100644 index 0000000000000..56699008c6fc8 --- /dev/null +++ b/desktop/gdm/0001-Xsession-Don-t-start-ssh-agent-by-default.patch @@ -0,0 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 20 Jun 2015 17:22:38 +0200 +Subject: [PATCH] Xsession: Don't start ssh-agent by default + +--- + data/Xsession.in | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/data/Xsession.in b/data/Xsession.in +index 2e4de4fe384f..29ebc30ea0c5 100755 +--- a/data/Xsession.in ++++ b/data/Xsession.in +@@ -207,14 +207,6 @@ if [ "x$command" = "xdefault" ] ; then + fi + fi + +-# add ssh-agent if found +-sshagent="`gdmwhich ssh-agent`" +-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then +- command="$sshagent -- $command" +-elif [ -z "$sshagent" ] ; then +- echo "$0: ssh-agent not found!" +-fi +- + echo "$0: Setup done, will execute: $command" + + eval exec $command -- cgit v1.2.3