Re: [gdm-list] autologin performance ...



Hi Jon,

On Thu, 2008-10-23 at 21:51 -0400, William Jon McCann wrote:
> Yeah, mostly we just don't want to start the greeter and then call
> into the code we already have for the timed login stuff.

	:-)

> While it doesn't teach you how to fish, I hope this gives you what you
> are looking for:
> http://svn.gnome.org/viewvc/gdm?view=revision&revision=6582

	Wow; thanks for doing it for me ( I didn't notice the fishing comment
until I read the patch you pointed to :-), I feel deeply lazy now. I
tested it out, and made a couple of boot charts - looks like it does the
trick beautifully.

	Previously for my strange hardware the users' gnome-session started
around 38 seconds into boot, now it starts 27 seconds in - a win of ~10
seconds: which is wonderful.

> This actually does a bit more than just add autologin.  It also tries
> to prevent autologin loops.  I err on the conservative side and only
> allow autologin once per managed display.

	That's great - it matches what gdm used to do well too.

> This patch is for trunk but it should also apply to 2.24.  Please let
> me know what you think.

	I'll have to buy you another beer or three :-)

> Yeah, sorry.  The interactions are a bit complicated in places.
> Besides INTERNALS the only docs we have are the Design Details section
> of http://live.gnome.org/GDM/NewDesign.  Would welcome some
> enhancements o either of those.

	Oh - bum; I didn't see those in the wiki - the interaction diagrams
there are just what I needed.

	Thanks,

		Michael.

-- 
 michael meeks novell com  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]