When using GRUB as boot manager and wanting to reboot to a specific entry of the boot menu, KDM displays the available options quite fine but fails to store the selected option. The recommended way is to call /sbin/grub-set-default to store the selected option as default for the next boot. KDM doesn't do this. The KDE 3.5 behaved the same way. The Gentoo ebuild for kde-base/kde applied a patch to fix this (see e.g. bug bug #153566). There is a upstream bug for KDE, but it is still not fixed (bug #63800 of KDE). Reproducible: Always Steps to Reproduce: 1. Activate KDE logout menu. 2. Select one of the 'non standard default' GRUB entries. 3. Let computer reboot. Actual Results: Reboots into the 'standard default' GRUB entry, not the one selected. Expected Results: Reboot to the selected 'non standard default' GRUB entry. A patch very similar to the one used in KDE 3.5 series can be applied for 4.1.2 too. We need the diff and a change to the current ebuild for KDM.
Created attachment 169060 [details] A diff-file to make the needed changes to KDM's backend/bootman.c
Same problem here with KDE 4.1.3 and grub 0.97. The proposed patch solved the issue.
Please update to 4.3.1 and see whether still applies. Also please try attached patch.
(In reply to comment #3) > Please update to 4.3.1 and see whether still applies. Also please try attached > patch. > Trying 4.3.2 with and without patch. All does not work. "grub-set-default 4" also does not boot in the right kernel for me. Can someone confirm this with grub-0.97-r9? Finswimmer
(In reply to comment #4) > (In reply to comment #3) > > Please update to 4.3.1 and see whether still applies. Also please try attached > > patch. > > > > Trying 4.3.2 with and without patch. All does not work. > "grub-set-default 4" also does not boot in the right kernel for me. > > Can someone confirm this with grub-0.97-r9? > > Finswimmer > Both the grub-set-default command and 4.3.1 ebuild work fine for me. Did you set up your grub menu to work with the saved default? You would need to include "default saved" at the top of the file (see also the added attachment for a simple example grub menu). The bug seems also to be fixed in KDE svn now (see http://websvn.kde.org/?revision=1030993&view=revision).
(In reply to comment #5) > ... > (see also the added attachment for a simple example grub menu). > ... OK, bugzilla hates me. Can't attach the example for some reason. As it is rather short, added it below. default saved timeout 5 splashimage=(hd0,4)/grub/splash.xpm.gz title Gentoo - KMS kernel (hd0,4)/kernel1 root=/dev/hda8 desktop CONSOLE=/dev/tty1 # switch back to have the first entry as default savedefault 0 title Gentoo - vesafb kernel (hd0,4)/kernel-current root=/dev/hda8 desktop video=vesafb:ywrap,pmipal vga=0x376 CONSOLE=/dev/tty1 # switch back to have the first entry as default savedefault 0
Ping - has anyone seen this bug still on KDE 4.3.4 or later?
(In reply to comment #7) > Ping - has anyone seen this bug still on KDE 4.3.4 or later? > Actually 4.3.5 is the next stable, ... This appears to be fixed by now, http://websvn.kde.org/?revision=1030993&view=revision