ALT Linux Bugzilla
– Attachment 5738 Details for
Bug 28475
Невозможно перелогиниться при использовании автологина
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
gdm-autologin-session-logout.patch
gdm-autologin-session-logout.patch (text/plain), 1.15 KB, created by
Антон Мидюков
on 2013-02-14 14:38:20 MSK
(
hide
)
Description:
gdm-autologin-session-logout.patch
Filename:
MIME Type:
Creator:
Антон Мидюков
Created:
2013-02-14 14:38:20 MSK
Size:
1.15 KB
patch
obsolete
>From 47c73024739a65614c6a0ddcdd1c08239798044a Mon Sep 17 00:00:00 2001 >From: Ray Strode <rstrode@redhat.com> >Date: Thu, 04 Oct 2012 21:36:57 +0000 >Subject: slave: only set up autologin conversations > >Right now any time any session conversation is started, >we run its setup call if autologin is enabled. We should only do this >for autologin sessions, otherwise, we may repeat work done by >the greeter. > >https://bugzilla.gnome.org/show_bug.cgi?id=682467 >--- >diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c >index 9bc8522..4bbf503 100644 >--- a/daemon/gdm-simple-slave.c >+++ b/daemon/gdm-simple-slave.c >@@ -485,8 +485,12 @@ on_session_conversation_started (GdmSession *session, > char *username; > int delay; > >+ g_debug ("GdmSimpleSlave: session conversation started for service %s", service_name); >+ >+ if (g_strcmp0 (service_name, "gdm-autologin") != 0) { >+ return; >+ } > >- g_debug ("GdmSimpleSlave: session conversation started"); > enabled = FALSE; > gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay); > if (! enabled) { >-- >cgit v0.9.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28475
: 5738