Summary: | kde-4.6.2 and earlier: shutdown, reboot, logout does not work when sytemsounds are active | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rich Gannon <rich> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | akborder, andy.dalton, dirk, gothiger, junk.vernerey, misiek303, neoannagul, orzel, sharkman.ru |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=228005 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Rich Gannon
2010-07-01 02:53:30 UTC
I should also note that I experience the same issue on two other computers of mine. Each have different hardware, and software varies a bit but all 3 are running the latest ebuilds and no special KDE configuration or add-ons. kde-4.4.4 here, and I don't have this issue. A bit of an update. I changed my profile from default/linux/x86/10.0 to default/linux/x86/10.0/desktop/kde, which added acpi and consolekit to the USE flags (among other unrelated USE flags), rebuilt with emerge -NDuv world and revdep-rebuild for good measure. No change, still. I have observed the same symptoms of, and only on x86 system on x86_64 and it works. same thing on my t61p, upgraded kde to 4.4.4 last weekend and shutdown, reboot does not work any more Same here. Logout/shutdown doesn't work anymore since 4.3.x. Upgraded to 4.4.4 hoping to see works again, but it's still stucked. Can this thread in the forums contains THE solution or just a workaround? http://forums.gentoo.org/viewtopic-t-814931-highlight-restart.html (In reply to comment #7) > Can this thread in the forums contains THE solution or just a workaround? > > http://forums.gentoo.org/viewtopic-t-814931-highlight-restart.html > For some that may fix the issue. In my case, the problem is not the files in .kde4/ or the .kderc file. I setup a new user as suggested in that thread and not even that user can logout, shutdown, or reboot. For me new user cannot shutdown, reboot and logout either
> For some that may fix the issue. In my case, the problem is not the files in
> .kde4/ or the .kderc file. I setup a new user as suggested in that thread and
> not even that user can logout, shutdown, or reboot.
>
(In reply to comment #9) > For me new user cannot shutdown, reboot and logout either > > For some that may fix the issue. In my case, the problem is not the files in > > .kde4/ or the .kderc file. I setup a new user as suggested in that thread and > > not even that user can logout, shutdown, or reboot. > > On my side, it worked for a new user I created. However, I still don't know what file(s) do the mess in my default profile and needs to be trashed in order for the logout to work again. Because of an akonadi error while starting KMail, I did (see userbase.kde.org/Akonadi_4.4/Troubleshooting, search for "Nepomuk Indexing Agents have been Disabled") qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit rm -r ~/.kde/share/apps/nepomuk rm -r ~/.kde4/share/apps/nepomuk nepomukserver Then I did the usual thing after recognising that ~/.kde exists again after a KDE upgrade (because I hate when some programs write to .kde/ and others to .kde4/) rm -f ~/.kde ln -s .kde4 .kde Then I couldn't logout, shutdown etc. this session. That means, the window which says "Turning off computer in 30 seconds" didn't show up. The "lock/logout" panel from the taskbar didn't react, too. After reading http://forums.gentoo.org/viewtopic-t-834293.html (I didn't follow any advice because I had to leave the house in 2 minutes), I did: Switching to console /etc/init.d/xdm stop shutdown -h now and after a reboot, I can logout, shutdown etc. Now I don't know If the things I did before were causing the problem or solving them (especially the rm -f ~/.kde thing). BTW, I experienced something strange in the beginning of the session I couldn't logout etc. : all of my konqueror windows were restored twice, everything else only once. Hope this helps to track down the bug. It gotta be something else, we have different issue. Deleting .kde4 directory does not help, also new created user cannot shutdown.
I am still looking because I can't sleep and live without this my shutdown action working. I tried remering xorg, nvidia drivers and all drivers such s keyboard and mouse. Tried add hal flag to xorg, desktop had more issues after that but shutdown still wasn't working.
Google says deleting ~/.kde4 directory helps so it could be not kde related.
> qdbus org.kde.NepomukServer /nepomukserver org.kde.NepomukServer.quit
> rm -r ~/.kde/share/apps/nepomuk
> rm -r ~/.kde4/share/apps/nepomuk
> nepomukserver
>
I beat you all, read this (true story) : I simply moved the .kde4/share/config to another location. I powered off the computer On next day, seeing that my KDE desktop was completely reset to new (lost my mails, my prefs, everything), I simply moved back the /config previously "saved" to it's initial location. I can logout fairwell now. I really don't understand why, but it works. It does not work for me. any way it is not the same like removing entire .kde4 folder, not sure what you did here but like we said it does not work even for new created users.
Any help, clues from developers ???
> I beat you all, read this (true story) :
>
> I simply moved the .kde4/share/config to another location.
> I powered off the computer
> On next day, seeing that my KDE desktop was completely reset to new (lost my
> mails, my prefs, everything), I simply moved back the /config previously
> "saved" to it's initial location.
>
> I can logout fairwell now.
>
> I really don't understand why, but it works.
>
I found it. Go to your settings and turn off system notifications for logout I checked also "No audio output". No reboot necessary it should just work and It worked for me. The problem is that system tried to play sound but it could not some reason and not completing logging out. This error shows up in .xsession_errors after I attempt to shut down or reboot. ksmserver(7193)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/solid_hal_power.so" does not offer a qt_plugin_instance function. I don't know why Logout doesn't work either, but this may contribute to the issue. (In reply to comment #15) > I found it. > > Go to your settings and turn off system notifications for logout I checked also > "No audio output". No reboot necessary it should just work and It worked for > me. > The problem is that system tried to play sound but it could not some reason and > not completing logging out. > Disabling the audio did work under the "System Settings > Notifications" menu! Verified on 3 systems. sorry for posting the audio solution here but it is sort of the base problem. So the reboot was not working because of broken sound palyback of LOGOUT. So disabling it got my reboot/shudown/logut working again. Then I fixed my playback, I switched to gstreamer, xine has more problems for me. After that still could not play the ogg files, so I installed gst-plugins-ogg and gst-plugins-vorbis since kde4 ogg tracks are ogg vorbis format. That's all, let me know if you will need help to get system notification working. (In reply to comment #15) > I found it. > > Go to your settings and turn off system notifications for logout I checked also > "No audio output". No reboot necessary it should just work and It worked for > me. > The problem is that system tried to play sound but it could not some reason and > not completing logging out. > YAY! This was bugging me for weeks, and I never even thought about the possibility that the sound playback had been re-enabled (The machine in question has no sound card/chip) during some KDE update. Thanks a lot, after disabling all sound output it now works flawlessly again! Does anyone know- is this problem still there in kde-4.5.x? (In reply to comment #20) > Does anyone know- is this problem still there in kde-4.5.x? > According to upstream bug yes. Anyone still seeing this with kde-4.6? No regression compared to 4.4, so does not block stabilization After upgrading KDE to the latest version, I've got the bug you described too. I've found how to fix it after trying to configure phonon in system settings of KDE. While doing this it simply crashed. So I did emerge phonon and it looked like this : [ebuild R ] media-libs/phonon-4.5.0 USE="-debug -gstreamer -pulseaudio -vlc -xine" 0 kB I remember after that I wouldn't install vlc player then I added -vlc for that ebuild in my /etc/portage/packages.use. But phonon needs an engine to works. I got no warning for this. After installing phonon with USE="xine" and then restart KDE current session (alt+F1, login, killall startkde), it fixed my KDE shutdown/logout trouble. I noticed too that emerge phonon with USE="xine" didn't pull phonon-kde xine USE up. I hope this help some people. (In reply to comment #22) > Anyone still seeing this with kde-4.6? Yes. I'm on ~amd64 and switched profile before KDE update from, default/linux/amd64/10.0 to, default/linux/amd64/10.0/desktop/kde The upgrade was from KDE-4.4.x to the latest in portage. Still present in 4.6.2, needs to be added to the upgrade guide hi. i've recently updated to kde 4.6.2, and though i did not have the problem until now, i'm now hit by this bug. Now that i've disabled the 'logout sound', everything is back to normal. 'dilfridge' on irc had suggested this to me and pointed me to this bug. For your information. Disable sound is just a work around and don't help to fix anything. Could you paste "emerge phonon" as example just to check it ? it says: [ebuild R ] media-libs/phonon-4.5.0 USE="gstreamer vlc xine (-aqua) -debug -pulseaudio" Did you check phonon settings via systemsettings application ? It seems that many people actually have this problem related to their phonon settings and have fixed it by configuring it or reinstalling the backend (ie xine/gstreamer/vlc). If it don't fix it I suggest to you to try only one backend. I had the same problem since I upgraded to the latest KDE and ati-drivers 11.4. Downgrading to 11.3 solved the problem. This may be resolved now, as we now require ogg and vorbis support in all phonon backends. If you still have this problem after sync and update, please protest here and I'll reopen... |