Bug 101 - KDE does not start, only get a login prompt after the system boots
Summary: KDE does not start, only get a login prompt after the system boots
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-02-19 03:58 CET by Mike Crecelius
Modified: 2011-04-11 02:22 CEST (History)
3 users (show)

See Also:
Source RPM: x11-server
CVE:
Status comment:


Attachments
Xorg log file that is created after I boot the system (52.49 KB, text/plain)
2011-02-19 03:59 CET, Mike Crecelius
Details
/etc/X11/xorg.conf (1.44 KB, text/plain)
2011-02-23 06:40 CET, Mike Crecelius
Details
Xorg.0.log from Mandriva 2010.2 install (49.34 KB, text/plain)
2011-02-25 20:34 CET, Mike Crecelius
Details
xorg.conf from mandriva 2010.2 (1.51 KB, text/plain)
2011-02-25 20:35 CET, Mike Crecelius
Details

Description Mike Crecelius 2011-02-19 03:58:05 CET
Description of problem:
KDE does not start.  After the system boots, the screen momentarily turns black, then a login prompt appear and KDE does not start.

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

How reproducible:
Always

Steps to Reproduce:
1. Boot the system
2.
3.

I am installing Mageia directly on this system, (not on a VM).
I have attached the Xorg.0.log file that is created when I boot teh system that shows a segmentation fault error, hopefully it helps.

Mandriva 2010.2 runs great on this same system.  It is a Dell Optiplex with ATI Radeon X300

Thanks

Reproducible: 

Steps to Reproduce:
Comment 1 Mike Crecelius 2011-02-19 03:59:15 CET
Created attachment 12 [details]
Xorg log file that is created after I boot the system
Comment 2 D Morgan 2011-02-19 08:48:00 CET
From the logs of Attachment 12 [details], here is the backtrace :

Backtrace:
[    20.493] 0: /etc/X11/X (xorg_backtrace+0x37) [0x80e9c57]
[    20.493] 1: /etc/X11/X (0x8048000+0x5e6aa) [0x80a66aa]
[    20.493] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[    20.493] Segmentation fault at address (nil)
[    20.493] 
Fatal server error:
[    20.493] Caught signal 11 (Segmentation fault). Server aborting
[    20.493] 
[    20.493]

CC: (none) => dmorganec

D Morgan 2011-02-21 20:34:44 CET

Source RPM: (none) => x11-server

Ahmad Samir 2011-02-22 03:05:41 CET

Attachment 12 mime type: text/x-log => text/plain

Comment 3 Ahmad Samir 2011-02-22 03:11:57 CET
Are you using a KVM switch?

Could you try changing the driver manually to the Xorg VESA driver? after booting:
- press Alt+Ctrl+F1
- login as root and launch drakx11
- open "graphics cards" and manually select the Xorg VESA driver
- close this tool and agree to the changes
- restart the display manager service:
service dm restart

then try logging in again.

Keywords: (none) => NEEDINFO

Comment 4 Mike Crecelius 2011-02-22 03:39:46 CET
Yes I am using a KVM switch

Your instructions worked,
I was able to set the driver to Xorg VESA, and KDE was then able to start.
I am able to reboot the system and the new driver setting remains and the system now starts KDE.
Comment 5 Ahmad Samir 2011-02-22 16:50:36 CET
Please attach /etc/X11/xorg.conf. Does removing the KVM switch make it work with the default driver (radeon) for you card?

I see similar reports related to KVM, but the look old and fixed a long time ago.
Comment 6 Mike Crecelius 2011-02-23 06:38:44 CET
Removing the KVM switch and running the wires directly to the system did not help.  After removing the switch, I did a complete new install from the Mageia Alpha1 disk. Again when the system boots using the default driver, KDE does not start, just a black screen with a login prompt.  The default driver is:
"ATI Radeon X1950 and earlier"

Attached is the xorg.conf file you requested.

I did try a few other drivers and found that if I set it to:
"ATI Radeon HD2000 and later (vesa/fglrx)"
will also allow KDE to start.
Comment 7 Mike Crecelius 2011-02-23 06:40:04 CET
Created attachment 27 [details]
/etc/X11/xorg.conf
Comment 8 Duane Phinney 2011-02-24 00:49:07 CET
I have one box with the ATI Radeon X1950 and earlier card with the same problem, so what I usually do is run XFdrake and choose a driver that works more or less then reboot and then it sets up correctly. It does this with all distros that I have tried.

CC: (none) => genomega

Comment 9 Mike Crecelius 2011-02-25 20:33:32 CET
I use this system to test Mandriva releases, and I have not had to change the driver before.  Just now I have installed Mandriva 2010.2 on this same system, (a new install, not upgrade) and there is no additional configuration necessary.  KDE just starts.  I also observe that Mandriva also is using the "ATI Radeon X1950 and earlier" driver but it works OK under Mandriva.  I am attaching the /var/log/Xorg.0.log and /etc/X11/xorg.conf from Mandriva 2010.2 as reference.
Comment 10 Mike Crecelius 2011-02-25 20:34:40 CET
Created attachment 34 [details]
Xorg.0.log from Mandriva 2010.2 install
Comment 11 Mike Crecelius 2011-02-25 20:35:42 CET
Created attachment 35 [details]
xorg.conf from mandriva 2010.2
Comment 12 Ahmad Samir 2011-02-26 20:03:10 CET
I think this is a duplicate of bug 78. If you have any other DE's installed (GNOME, XFCE, LXDE) login, then launch systemsettings -> Desktop Effects and make sure they're disabled.

If you don't have any other DE's, from tty1 (Alt+Ctrl+F1) use vi to edit /home/your-user-name/.kde4/share/config/kwinrc under the [Compositing] section put:
Enabled=false

on a new line. then try logging in.
Thierry Vignaud 2011-03-03 16:48:03 CET

CC: (none) => thierry.vignaud
Component: Installation => RPM Packages

Comment 13 Mike Crecelius 2011-03-04 02:55:49 CET
Hi,
   I do not have any desktop effects enabled.
I did a new install off of the Mageia disk and then modified the file as you say above and that did not help.  I still cannot get the default "ATI Radeon X1950 and earlier" driver to work.


I noticed that in Mandriva on this same system, the kwinrc file has only 2 lines:
ListMode=0
ShowTabBox=true

I set the file to be exactly what is in Mandriva 2010 and that still did not help.
Comment 14 Thierry Vignaud 2011-04-08 15:45:00 CEST
This trace is useless.
Please download both https://bugs.mageia.org/attachment.cgi?id=121 and
https://bugs.mageia.org/attachment.cgi?id=122

Then enable the core/debug_release media/repository and install
x11-server-debug, x11-driver-video-ati-debug, glibc-debug

Then, as root, just run "sh ./Xgdb2.sh" on a text terminal, then switch back to X11 until
it segfaults.
Comment 15 Mike Crecelius 2011-04-11 02:04:49 CEST
Hi,
   I have tested with Mageia Beta 1 disk and the problem is resolved.  I did a new clean install on the same system and KDE starts and does not crash.
It is still using the same ATI Radeon driver that it was before.  Whatever the problem was, is fixed now.
Thanks.
Comment 16 Ahmad Samir 2011-04-11 02:22:03 CEST
OK, thanks for the feedback.

Closing.

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


Note You need to log in before you can comment on or make changes to this bug.