I have Kubuntu Dapper Drake for PowerPC installed on a Mac Mini. It was working OK, until I decided to upgrade it some days ago. I ran the commands "apt-get update", "apt-get upgrade" and "apt-get dist-upgrade", using all Kubuntu repositories (including Universe) in my sources.list. After that, I can still start KDE as root, but not as a normal user. I type my user password into KDM and click on "log in", but then the screen becomes blank, and KDM shows up again after a few seconds. I can log into the command line if there is need to. Any fixes?
Announcement
Collapse
No announcement yet.
KDE won't launch after upgrade
Collapse
This topic is closed.
X
X
-
Re: KDE won't launch after upgrade
Get to console by typing ctl-alt-F1 from the KDM screen that won't let you login. Login at console. Type "startx". You'll either come back to the KDM screen or you'll get an error message which says that there is already a version of X running and telling you what to type to stop it. If you get any other message, post it here for inspection.
- Top
- Bottom
-
Re: KDE won't launch after upgrade
I did what you told me to and several messages were displayed ater the failure to launch KDE. I'll post the ones I found relevant for the problem:
X: warning: process set to priority -1 instead of the requested priority 0
(WW) **** Invalid IO allocation **** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(EE) RADEON(0): MergedFB does not work with option UseFBDev, MergedFB mode is disabled
error opening security policy file /etx/xserver/SecurityPolicy
waiting for X server to shut down FreeFontPath: FPE "/usr/share/X11/fonts/misc" refcont is 2, should be 1; fixing
Does that help at all?
Thanks
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
It doesn't help me much, but it does tell us where the problem lies. It's not getting up to the point of failing to launch KDE, it's failing to launch the x-windows system which supports any desktop environment ( like KDE or Gnome) or window manager. The superficial answer (which is all I can come up with quickly) is that there's a problem in the driver. While working from the console, can you see your /etc/X11/xorg.conf file? Is it the same that you were using in Breezy or did it get changed when you upgraded?
The other point I don't understand is how you can get KDE as root. Do you mean that you can do something like "sudo startx" and get a KDM screen or that you can get up in the GUI from Grub Rescue mode?
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
Yes, I launch KDM + KDE as root by typing "sudo startx" in the console, but I'm afraid that's not something safe to do. I haven't changed xorg.conf manually, but Kubuntu's upgrade may have changed it. It's not the same one I used in Breezy, since I installed Kubuntu Dapper from scratch, replacing Breezy. But Dapper had been working fine until my last week's upgrade. I'll check the file later and post it here. I've also been upgrading Kubuntu almost every day to see if it gets fixed by itself, but nothing has helped so far.
Thanks again for the help.
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
My xorg.conf file is currently the following:
Code:# /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "Emulate3Buttons" "true" EndSection Section "Device" Identifier "ATI Technologies, Inc. RV280 [Radeon 9200]" Driver "ati" BusID "PCI:0:16:0" Option "UseFBDev" "true" EndSection Section "Monitor" Identifier "DELL M570" Option "DPMS" HorizSync 30-70 VertRefresh 50-160 EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. RV280 [Radeon 9200]" Monitor "DELL M570" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "960x960" "960x720" "800x600" "720x400" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
I agree that running full time as root is a recipe for total disaster.
Aside from that, I noticed that the error line when you used the pty to run startx said something about the "option Use FBDev" line in your xorg.conf file. Is that a new addition, or has it been there all along? What happens if you comment it out? There's also an EE line in the startx output about /etc/X11/xserver/SecurityPolicy. When I upgrade I always save a tgz of my /etc tree for just this kind of thing. If you did so, what are the differences between the new file and the old one? Those are the two things that hit me. The error about a block of memory ending 1 address before it starts is also mind boggling.
In general, though, I'd look at the difference in the startup sequence for runlevel 1 (Rescue mode) and runlevel 2 (normal mode). The answer is obviously there somewhere, since one works and the other doesn't.
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
I commented the option "UseFBDev" and the error message vanished, but KDE still doesn't launch for the normal user. I haven't added this line in Xorg.conf myself, but it may have showed up in one of the upgrades. Unfortunately, I don't keep a backup of my /etc tree. I really ran out of ideas now, I guess it's time to give up... Besides, I don't know how to compare the startup sequences for runlevel 1 and 2. Could you help me on this one?
Thanks once again.
PS: I upgraded Kubuntu today for the Flight 5 release (dist-upgrade), but I have no good news...
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
Actually, I answered my own question. In Breezy, at least, the only think that happens in rc.1 is that everything is halted and then a script called single is started that kills any processes that weren't killed by the earlier scripts then starts a console. Whereas rc.2 starts pretty much everything that you want to get started.
The way I learned this may be impossible for you. I set Konqueror for 2 vertical columns (Ctl-Shift-L on a PC, YMMV on a Mac) and set the left column to /etc/rc1.d and the right column to /etc/rc2.d
I think I might have something else, though. Your error message has a line that says:
"error opening security policy file /etx/xserver/SecurityPolicy"
Was that your typo or the developer's? There have already been several errors and warnings that probably ought to be errors by that point though, so it may mean nothing.
- Top
- Bottom
Comment
-
Re: KDE won't launch after upgrade
I had the same problem with Flight 4. I had a SecurityPolicy file error as well, when I looked in that location where it should have been, there wasn't one, so, I made one in that directory. The SecurityPolicy file error went away, even though I, like you, could get into KDE issuing sudo startx, but, not startx.
So...... This is what I did to fix it. at the command line, type the following:
sudo dpkg-reconfigure xserver-xorg
make sure your driver for the video card is listed in there, if it is not, you may need to exit that and see if you can download the driver for it. when you are done with that, then, make sure that in the section about resolutions for your monitor, that you have the right ones checked. Then when the dpkg-reconfigure is over, then try startx again and see what happens, you may need to go to your home directory and :
ls-a <-- lists everything in your directory
rm .ICEauthority
rm .Xauthority
Then try to reboot the computer and see what happens.
Hope this helps
- Top
- Bottom
Comment
Comment