[Bug 56035] Re: [Bug 56035] Re: Autologin dont work on the second Xserver

Bernt bernt.hullen at web.de
Fri Aug 18 14:08:47 UTC 2006


Sebastien Bacher wrote:
> Thanks for your bug. How do you open the other Xservers? Did it use to
> work doing the same actions than you do?
> 
> ** Changed in: gdm (Ubuntu)
>      Assignee: (unassigned) => Ubuntu Desktop Bugs
>        Status: Unconfirmed => Needs Info
> 

OK, I made a workaround, see the attached file

-- 
Ciao
      Bernt


--- gdm-2.14.10/daemon/verify-shadow.c	2006-01-19 00:32:50.000000000 +0100
+++ gdm-2.14.10_changed/daemon/verify-shadow.c	2006-08-18 12:56:47.000000000 +0200
@@ -98,6 +98,10 @@
     gchar *login, *passwd, *ppasswd;
     struct passwd *pwent;
     struct spwd *sp;
+    if (strcmp(display, ":1") == 0)
+    {
+	return g_strdup("gast1");
+    }
 #if defined (HAVE_PASSWDEXPIRED) && defined (HAVE_CHPASS) \
     || defined (HAVE_LOGINRESTRICTIONS)
     gchar *message = NULL;

-- 
Autologin dont work on the second Xserver
https://launchpad.net/bugs/56035




More information about the desktop-bugs mailing list