summaryrefslogtreecommitdiff
path: root/daemon/gdm-launch-environment.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-09-17 15:18:02 -0400
committerRay Strode <rstrode@redhat.com>2012-09-17 16:41:26 -0400
commit6d5dd0936629d1d9754dfa93d4f4ac2738baaa84 (patch)
treed82c3269ad6f02d9559ef2d7da198bb3f8b53d32 /daemon/gdm-launch-environment.c
parentdfce1962cbb3ca95b0e407450179a0965e6f3ec3 (diff)
downloadgdm-6d5dd0936629d1d9754dfa93d4f4ac2738baaa84.tar.gz
worker: Copy environment from login session to reauth sessions
Reauthentication sessions depend on having the same environment as the session they were initiated from. This is important to make sure login prompts are in the right language, to make sure the kerberos credentials cache is looked up, and for various other reasons. This commit copies the environment from the login session to any new reauthentication sessions that get started after login. https://bugzilla.gnome.org/show_bug.cgi?id=684241
Diffstat (limited to 'daemon/gdm-launch-environment.c')
-rw-r--r--daemon/gdm-launch-environment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 10e9c323..de7ee4c2 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -789,7 +789,8 @@ gdm_launch_environment_start (GdmLaunchEnvironment *launch_environment)
launch_environment->priv->x11_display_device,
launch_environment->priv->x11_display_seat_id,
launch_environment->priv->x11_authority_file,
- launch_environment->priv->x11_display_is_local);
+ launch_environment->priv->x11_display_is_local,
+ NULL);
g_signal_connect (launch_environment->priv->session,
"conversation-started",