From 6d5dd0936629d1d9754dfa93d4f4ac2738baaa84 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 17 Sep 2012 15:18:02 -0400 Subject: 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 --- daemon/gdm-launch-environment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'daemon/gdm-launch-environment.c') 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", -- cgit v1.2.1