summaryrefslogtreecommitdiff
path: root/xfce4-session
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-10-30 16:22:40 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-10-30 16:22:40 -0700
commitf0899e792860b7bb7ee447b0c71c7c57555cd664 (patch)
treeef58d56057667b904b6c5bb1a2fca6b2fd50e85f /xfce4-session
parentd0af9714b9ac3b6859124d5d47c325e938bd2f61 (diff)
downloadxfce4-session-f0899e792860b7bb7ee447b0c71c7c57555cd664.tar.gz
Start gnome-keyring-daemon with --components=pkcs11,secrets
Diffstat (limited to 'xfce4-session')
-rw-r--r--xfce4-session/xfsm-compat-gnome.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfce4-session/xfsm-compat-gnome.c b/xfce4-session/xfsm-compat-gnome.c
index 35e9617..b54a333 100644
--- a/xfce4-session/xfsm-compat-gnome.c
+++ b/xfce4-session/xfsm-compat-gnome.c
@@ -107,7 +107,7 @@ gnome_keyring_daemon_startup (void)
gint status;
glong pid;
gchar *end;
- gchar *argv[3];
+ gchar *argv[4];
gchar *p;
gchar *name;
const gchar *value;
@@ -122,7 +122,8 @@ gnome_keyring_daemon_startup (void)
error = NULL;
argv[0] = GNOME_KEYRING_DAEMON;
argv[1] = "--start";
- argv[2] = NULL;
+ argv[2] = "--components=pkcs11,secrets";
+ argv[3] = NULL;
g_spawn_sync (NULL, argv, NULL,
G_SPAWN_SEARCH_PATH | G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
child_setup, NULL,