Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 12357 ideas, 58479 comments, 1187050 votes

Idea #3180: Continue Loading Gnome whilst waiting for user to Login



up
309
down
Written by stevesutt89 the 4 Mar 08 at 21:27. Category: System.
Related to: Nothing/Others. Status: New
Description
When booting ubuntu, what do you do? You turn your computer on and then either wait for it to boot, or walk away for a moment.

However when the gdm login screen pops up, you type in your username a password and then sit there waiting for gnome to load. So, If gdm could automatically begin loading the default desktop environoment whilst waiting for the user to input their username and password, this extra waiting time whilst the desktop environment loads could be reduced or eliminated.

In essence, the main purpose behind this idea is to standardise the time taken for a particular user to boot ubuntu: ie is does not matter if you logged in immediately or 20 seconds late, your desktop will still be usable at the same moment.

If the user selects to load a different desktop environment at the login screen, then simply unload the default and start loading the next one when the user logs in as normal.
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
nathan_s wrote on the 4 Mar 08 at 21:36
The problem I see is, what is users have custom .login scripts? Whose do you execute? These can be up to and including using a different Desktop Environment (someone call me out if I'm wrong on this).

stevesutt89 wrote on the 4 Mar 08 at 21:46
Hmm, that is a problem, but perhaps if gdm loaded the common components that everyone uses. (volume management, desktop....stuff like that). If the user uses a different desktop environment, surely they will have to select it from the list anyway, and so then this desktop environment will load instead

tomaszx wrote on the 4 Mar 08 at 22:07
+1 good idea but hard to implement, but still good :)

antistress wrote on the 4 Mar 08 at 22:51
while waiting for user to Login you can select your desktop (see the bottom left corner of your screen) which may be KDE, Xfce, GNOME...
It doesn't seem a good idea to preload GNOME

ketilwaa wrote on the 4 Mar 08 at 23:14
My computers only have one user - me. GDM should at least relate to that, as a workaround

centx wrote on the 4 Mar 08 at 23:46
Remembering the last login could be one solution, and if you could default to that, and then change it yourself in the menu's so that if there is just one user using KDE in the household, it would load GNOME/XFCE/whatever (or disable preload) next time regardless, it could get props.

+1 for tomaszx though, probably pretty hard to make a sane implementation.

vexorian wrote on the 5 Mar 08 at 03:03
It's quite inviable for us that have multiple desktops. I think gnome loading should be made faster rather than trying these work arounds.

jannone wrote on the 5 Mar 08 at 04:16
vexorian,

"It's quite inviable for us that have multiple desktops"

True, but you are not the majority, and I think this is a situation that GDM could detect anyway (ie: if you have multiple desktop installed, do nothing, else preload and cache some basic GNOME .so files).

jojoman02 wrote on the 5 Mar 08 at 04:53
The Login Window should always start loading files for the default environment whatever that is gnome/kde etc. then when you type un/pw most stuff is already loaded, either this or the other brainstorm idea where un/pw is typed during usplash either one of these is good, i think this one is better.

nergar wrote on the 5 Mar 08 at 04:57
"ketilwaa wrote on the 4 Mar 08 at 23:14
My computers only have one user - me. GDM should at least relate to that, as a workaround"

And root

m_vitaly wrote on the 5 Mar 08 at 05:53
This request can be implemented as:
auto-login and lock the screen immediately

You can try putting the line:
gnome-screensaver-command --lock

into your .xinitrc or .xsession file and enabling automatic login (no promisses, haven't tested that)

DARKGuy wrote on the 5 Mar 08 at 07:36
Pretty good idea - it'd be a different change considering Windows does the same thing we do with GDM. I second the idea! :D

exactopposite wrote on the 5 Mar 08 at 07:49
If there are multiple users on a system who all have different settings there is no way for this to work. If user 0 uses kde, and user 1 uses gnome for example.

On my current desktop there are 2 users. We both use gnome but our desktop setups are completly different. This idea can't work with this type of situation. There is no way to for the system to know what to load until it kows who is logging in.

x-Na wrote on the 5 Mar 08 at 08:04
At least for me Gnome loads in about 10-15 seconds. I really don't think that's a bottleneck.

knego wrote on the 5 Mar 08 at 09:53
I think this one is a dupe, but i could not find it.

It's a very good idea.

Agony wrote on the 5 Mar 08 at 13:11
This might be a good idea, but I think it is going in the wrong direction.

Note: I don't know much about the boot process.

if you boot ubuntu in CLI mode you see that you can input your username/password long before the boot process is complete. So what do we actually need to get an early(during bood) gdm up? of course we need the kernel and X, we definitely don't need networking or sound for this.

So the user can input his username/password while the system is booting up, and when the boot process is complete the login process automatically starts with the info the user gave it.

The only bad thing I can imagine about this would be the case in which the user enters a wrong username/password, the system wouldn't be able to verify them in some cases(if the file containing the passwords is on some remote NFS server or something) but those cases should be fairly rare, and people who use them won't complain when they are told "sorry wrong password" after the boot process is complete.

HDave wrote on the 5 Mar 08 at 14:35
I use Truecrypt and my home partition isn't decrypted until AFTER I log in (via PAM). I vote no.

kdevil wrote on the 5 Mar 08 at 16:15
I definitely would like it to preload the standard libraries for GNOME, KDE, etc. while at the login screen. For tweaking, maybe add a little tool to choose which desktop environments to preload and in what order.

It may not take that long for GNOME or KDE or whatever to load (~15s for my computer to get to a usable GNOME+Compiz desktop), but any amount of waiting is too long if the computer's been sitting at the login screen for several minutes.

kayhayen wrote on the 5 Mar 08 at 16:33
Hello,

I posted my idea. Already log one user in and automatically lock with screensaver. For a single user system that's the most convinient. Unfortunatly it got a negative rating.

Yours,
Kay

juno eclipse wrote on the 5 Mar 08 at 19:02
What about security ?

afuchs wrote on the 5 Mar 08 at 22:49
As m_vitaly and kayhayen mentioned, the best/easiest way to do this would be to log the user in and lock their screen (screen should probably be locked first, before everything else loads; for better security).

Currently GDM's configuration GUI allows a user to be logged in automatically (either immediately, or after a timer expires). An other option could be added to compliment this, that would lock the screen after the user is automatically logged in.


Post your comment