Bug 8505

Summary: Automatically start graphic interface checkbox not checked by default
Product: Mageia Reporter: Juan Luis Baptiste <juan.baptiste>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: anssi.hannula, davidwhodgins, derekjenn, ennael1, mageia, mageia, thierry.vignaud
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://svnweb.mageia.org/soft/drakx-kbd-mouse-x11/trunk/lib/Xconfig/various.pm?view=markup
Whiteboard: 3beta4
Source RPM: drakx-kbd-mouse-x11-0.104-1.mga3 CVE:
Status comment:
Attachments: Automatically start graphic interface not checked
returns current runlevel correctly
tidier patch
another attempt

Description Juan Luis Baptiste 2012-12-26 06:01:49 CET
Description of problem:

On mga3 beta 1, when configuring a video card with XFdrake, the "Automatically start graphic interface" configuration option is not checked by default (attaching image). IMO this is not a good idea as if the user doesn't read all the options and hits next (like I did... several times today) and finishes the video card configuration, after the system is rebooted X won't start, and a reconfiguration of the video card will be needed. Having that option checked by default will avoid this mistake which will not be very obvious for naive users.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start XFdrake
2. Select the video card to configure
3. Select (again) video card to configure in case of a system with multiple cards.
4. See on the options screen that the "Automatically start graphic interface" is not checked.
Comment 1 Juan Luis Baptiste 2012-12-26 06:02:14 CET
Created attachment 3291 [details]
Automatically start graphic interface not checked
Comment 2 Manuel Hiebel 2012-12-26 12:47:43 CET
it seems it depends on the hardware but I'm not sure I really understand the code

URL: (none) => http://svnweb.mageia.org/soft/drakx-kbd-mouse-x11/trunk/lib/Xconfig/various.pm?view=markup
CC: (none) => anssi.hannula, thierry.vignaud

Comment 3 Sander Lepik 2013-01-24 11:05:15 CET
Release blocker as it's a regression and will cause many problems when people start to "lose" their Xs..

Priority: Normal => release_blocker
CC: (none) => sander.lepik
Hardware: i586 => All

Comment 4 Manuel Hiebel 2013-03-03 12:18:37 CET
still valid ? (there was some bugs since beta2 so you could try a netinstall or wait for the coming beta3)

also what is your graphic card ?

Keywords: (none) => NEEDINFO
Whiteboard: (none) => 3beta1

Comment 5 Sander Lepik 2013-03-03 12:22:31 CET
Watching latest nvidia bugs it seems to be still valid as it was mentioned in those bugs.

Keywords: NEEDINFO => (none)

Comment 6 Anne Nicolas 2013-03-13 14:45:22 CET
This is indeed annoying. Thierry, can you please have a look on it?

CC: (none) => ennael1
Assignee: bugsquad => thierry.vignaud

Comment 7 Derek Jennings 2013-03-15 17:20:25 CET
I think I see where the problem is :-

In Xconfig/various.pm around line 224
subroutine runlevel() called without arguments is supposed to return the current runlevel but in mga3 the line

        cat_($f) =~ /^id:(\d):initdefault:\s*$/m && $1;

returns null

CC: (none) => derekjenn

Comment 8 Derek Jennings 2013-03-15 20:07:09 CET
Created attachment 3616 [details]
returns current runlevel correctly

This proposed patch works for me on mga3b3
Derek Jennings 2013-03-15 20:07:48 CET

Keywords: (none) => PATCH

Comment 9 Derek Jennings 2013-03-15 20:11:19 CET
Created attachment 3617 [details]
tidier patch

same just tidier,

Attachment 3616 is obsolete: 0 => 1

Comment 10 Thierry Vignaud 2013-03-15 20:16:55 CET
Created attachment 3618 [details]
another attempt

Can you test this one?
So that it works in all cases
Comment 11 Thierry Vignaud 2013-03-15 20:17:43 CET
Ccing the one that introduced systemd :-)

CC: (none) => mageia

Comment 12 Derek Jennings 2013-03-16 13:33:34 CET
Yes that works :-)
Comment 13 Thierry Vignaud 2013-03-16 13:41:51 CET
Fixed in SVN

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 14 Dave Hodgins 2013-03-25 03:10:06 CET
Still present in Mageia 3 beta 4.

Status: RESOLVED => REOPENED
CC: (none) => davidwhodgins
Resolution: FIXED => (none)
Whiteboard: 3beta1 => 3beta4

Comment 15 Sander Lepik 2013-04-18 12:54:22 CEST
Thierry, can you create a new package and request for submit? :)
Comment 16 Thierry Vignaud 2013-04-18 18:06:51 CEST
Done

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED