The release notes state that FC4 has the all new GDM 2.6 with early login. Ok, so what does that mean exactly?
The release notes state that FC4 has the all new GDM 2.6 with early login. Ok, so what does that mean exactly?
I thought I had read some dev notes somewhere that bootup times were gonna be alot better, but I don't see it. Is there a conf file that needs to be edited, or a control panel that needs a switch to be enabled?
If early login isn't about boot time, what is it about? I was thinking early login ala windows XP.![]()
Yeah, I knew I saw it somewhere.
http://lwn.net/Articles/119500/
- Faster boot
Eliminating redundancy and old cruft in the bootup process,
starting GDM early if possible, using newer and faster
udev codebases, and other related tweaks.
So then the question remains.
What did I do wrong?
There's no such thing as early logon.
There is auto logn for a single user machine.
The O/S and the servives needed have to start up before the computer can be used and delaying read ahead startup tasks and / or introducing logon tasks before these have started will only cause a longer total bootup.
The autologon is just a convience.
But unreal expectations will only be eggsagerated by autologon, not met.
FC4 is the fastest booting Linux distro in the whole universe, so what does that tell you about your expectations?
SJ
Do the Math
It shows the login screen (ie. starting GDM and an early Xorg session) before booting is finished.Originally Posted by hlfmanhlfamzng
Somewhere here on fedoraforum I saw a link to a fedora-test-list message about this:
"Recently Matthias Clasen, David Zeuthen, and I spent some time working
on getting GDM to start earlier in the boot process. There are a few
advantages to this:
- If we start GDM sooner, we don't have to start rhgb. starting 2 X
servers at boot up doesn't play nice with some hardware and rhgb doesn't
really offer much anyway.
- If we start GDM sooner, the user can type in his or her username and
password sooner (as long as we don't actually process the information
until the system is in a usable state).
- If we start GDM sooner, the system will "feel" faster because the user
will see a login screen sooner.
- If we allow the user to login as soon as the essential services are
started but before the unessential services are started then the user
can potentially get up, running and doing work sooner.
We still need to make some changes in lower-levels of the distro before
gdm early-login mode will work. See here for details:
https://bugzilla.redhat.com/bugzilla....cgi?id=151952
On the other hand, some people have noticed changes appearing in gdm and
have become curious what it is, so I thought I'd post a message here
with instructions on how to try it. Note it's not very well tested yet,
so it could mess up your system.
The first step is to install the latest gdm from rawhide.
Once you've done that, then install this initscripts rpm:
http://people.redhat.com/rstrode/ini...ylogin.src.rpm
Next thing you'll want to do is to change the chkconfig: line
in /etc/init.d/xfs to
and also change the chkconfig: line in /etc/init.d/syslog toCode:# chkconfig: 2345 08 97
then runCode:# chkconfig: 2345 07 98
to regenerate the symlinks in /etc/rc5.dCode:/sbin/chkconfig xfs on /sbin/chkconfig syslog on /sbin/chkconfig --add gdm-early-login /sbin/chkconfig --add gdm-allow-login /sbin/chkconfig gdm-early-login on /sbin/chkconfig gdm-allow-login on
The last thing that needs to be changed is grub.conf. It should be
modified such that the kernel cmdline has "early-login" in it.
For instance, it might look like this:
It's all probably pretty fragile right now, so be careful.Code:kernel /vmlinuz-2.6.11-1.1208_FC4 ro root=/dev/VolGroup00/LogVol00 quiet vga=0x317 early-login
--Ray Strode"
The initscripts RPM linked to above is not needed in FC4 Final. Early login works for me now, and the Fedora machine at least "seems" to boot faster.
Edit: While GDM will appear and let you type in user/pw before booting is finished, it won't proceed with the actual logging-in until it's "safe" to do so.
Last edited by Seehund; 15th June 2005 at 08:15 PM.
Have you helped saving AmigaOS and a free PPC hardware market today?
-----------There's no such thing as early logon.----------------
According to Redhat/Fedora project there is. Release notes for FC4. http://fedora.redhat.com/docs/release-notes/fc4/
=============GDM 2.6 - Includes early login capability==================
Apparently you've got some research to do.
===================The initscripts RPM linked to above is not needed in FC4 Final. Early login works for me now, and the Fedora machine at least "seems" to boot faster.================
It's not here. Yes, I'm on FC4. It doesn't seem much different from the bootup of FC3. The information you've provided is different than what's on my machine, which is obviously why. Grub makes no mention of early login.
------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/sda5
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=1
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,4)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img
---------------------------------
My XFS file Is different as well......
# chkconfig: 2345 90 10
----------------
So is my syslog
# chkconfig: 2345 12 88
---------------------
Obviously my grub.conf needs to be changed which i s easy, but the chkconfig lines I don't understand, do they need changing?(the bigger question is would it be safe to do so?) Also, why didn't the work "out of the box"? I always do custom install, as opposed to one of the pre-set ones on the disk. Could that be why?(best guess)
Thanks for your reply.
Thought I'd give it a try. Followed all of the instructions, and it seemed like it would have worked, but GDM crashed repeatedly.
Oh well. And it sounds so nice.
I'm not sure if the chkconfig lines actually need to be changed (I did it anyway and haven't experimented with leaving them as they were), but it should be safe and I haven't noticed anything wrong. After all, all that the changes do is starting the font server (XFS) and the syslog services a bit earlier.Originally Posted by hlfmanhlfamzng
Dunno why it's not activated (and not possible to activate by simpler means), since it's explicitly mentioned as an included feature in the release notes and the early-login initscripts are included.Also, why didn't the work "out of the box"? I always do custom install, as opposed to one of the pre-set ones on the disk. Could that be why?(best guess)
I myself did an upgrade from FC3 to FC4.
Now if they could only come up with an early starting GDM that gave some visible feedback showing how the boot is progressing in the background...
(BTW, the GDM package from rawhide that was mentioned in the e-mail I quoted is obviously not needed in FC4.)
Have you helped saving AmigaOS and a free PPC hardware market today?
----------it should be safe and I haven't noticed anything wrong.-------------
I'll test it out in the next couple of days when I get my test box up and running. As you mentioned, it is a included feature and I'd rather screw with that than my every day use box. Besides, I'll test the "custom vs pre-set-cd-options" guess.
---------------I myself did an upgrade from FC3 to FC4.-----------
Ahh, yeah I learned real quick how useful having the /home directory in/on it's own partition is, so whenever a new FCx comes out I can safely delete / and all my prefs are still in place. It's a beautiful thing.
---------Now if they could only come up with an early starting GDM that gave some visible feedback showing how the boot is progressing in the background...----------
Hahah, I totally agree. However, most computers have(or should) a hard drive LED indicator. *shrug*
Ah well, thanks for your instructions(above) I'll post results at a later date.