You are not logged in.

#1 2012-04-08 07:46:53

adwaita45
Member
Registered: 2012-04-01
Posts: 12

Slim autologin is slow

Enabling autolgin with Slim,it takes about 10 seconds to load the DE (MATE) itself wherein my total boot time is around 20 secs.That is,I get to agetty in about 10 seconds.Then I can only see the mouse cursor and a black screen for 10-12 secs before the Desktop loads.I have tried other login managers like gdm,xdm,cdm and qingy but Slim gives the best performance along with stabilty.So,is there any way I can reduce this time with Slim?
slim.conf  - http://pastebin.com/wYcGzt2W
.xinitrc -

exec ck-launch-session dbus-launch mate-session

Offline

#2 2012-04-08 12:19:56

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

Re: Slim autologin is slow

@adwaita45, what GPU are you using?

Offline

#3 2012-04-08 18:56:51

adwaita45
Member
Registered: 2012-04-01
Posts: 12

Re: Slim autologin is slow

Nvidia

Offline

#4 2012-04-08 20:46:27

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

Re: Slim autologin is slow

The reason I asked is that I recently came across an Intel bug that caused a delay between login and desktop display.  Obviously that's not your problem but I would suggest looking at your Xorg log to see if anything is going on there.

Offline

#5 2012-04-08 21:00:02

adwaita45
Member
Registered: 2012-04-01
Posts: 12

Re: Slim autologin is slow

I checked the Xorg.0.log.But except some warnings everything looks fine.This is my Xorg.0.log  http://pastebin.com/LyitQdEM

Offline

#6 2012-04-08 21:32:42

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

Re: Slim autologin is slow

adwaita45 wrote:

I checked the Xorg.0.log.But except some warnings everything looks fine.This is my Xorg.0.log  http://pastebin.com/LyitQdEM

I don't see any delays there either.

Offline

#7 2013-09-07 07:45:29

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

Re: Slim autologin is slow

I meet the same problem with @adwaita45.
This autologin should be faster, can't figure out why, both SLiM and openbox are light weight.

Offline

#8 2013-09-07 12:26:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Slim autologin is slow

Sorry if I'm missing something, but if you set it to autologin, why use a login manager at all?

There are (I believe) ways to have systemd start the x session directly.  Or you can have autologin to the tty and some form of "exec xinit" in your bashrc as can be found in the wiki.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-09-07 13:01:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Slim autologin is slow

Indeed - I use a combination of this and this, couldn't be happier.

Offline

#10 2013-09-07 16:23:00

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

Re: Slim autologin is slow

Thanks, according to @Member's suggestion and @tomk's tip, I got an error finally - "startx command not found".
It's resolved after excute the command as below:

pacman -S xorg-xinit

Offline

#11 2013-09-07 16:29:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Slim autologin is slow

Is it completely solved or is autologin still slow?

jazzi wrote:

Thanks, according to @Member's suggestion

'Member' is a forum rank / group. His forum username is Trilby.

Offline

#12 2013-09-07 22:35:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Slim autologin is slow

"Member" is a much nicer euphemism than what I am usually called! wink


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#13 2013-09-08 00:41:30

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

Re: Slim autologin is slow

I wander there might be some special stories of the id, thank you again @Trilby and @Karol for your remind.

However tha autologin is not so fast as I imagined, maybe I should cut some sessions.
But I remember some distributions has very good record of autologin, how do they do this?
And how is ArchBang, I havn't installed it yet.

Offline

#14 2013-09-08 02:04:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Slim autologin is slow

Jazzi, I'm not really sure what you're asking.

Looking back at the first post ... oops - looking back at the first post reveals that this is not your thread.  Do not hijack this thread - especially to just ask about other distros.

@OP, in rereading the first post, I seems the lag might not be in slim, but it sounds like it is in the DE/mate-session.  Have you tried configuring the session options for what is started up with mate?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2013-09-08 03:24:38

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Slim autologin is slow

The original thread is over a year old.  So Jazzi had a hijack+necrobump combo.

Offline

#16 2013-09-08 03:41:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Slim autologin is slow

Eh, missed that.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB