You are not logged in.

#1 2010-09-09 03:32:42

archtaku
Member
Registered: 2010-07-02
Posts: 84

KDE4 logout very slow

All 3 of my Arch machines run KDE4, and they all take what seems like forever to logout. This happens irrespective of the speed the computer, as the experience is the same with a netbook with an Atom processor as with a quad-core. After you select the logout option and confirm it, 8-10 seconds will elapse before the screen goes blank, and it'll stay that way for at least another 10 seconds or more before returning to KDM (or going to runlevel 0 or 6).

Is this just normal for KDE4? I've only been using KDE4 since about version 4.4.2, so I admittedly don't know what to expect. GNOME seemed to logout very quickly, but I honestly can't stand GNOME and was only using it because KDE4 wasn't all that impressive to me until version 4.4.

I've tried to see if any one process is hanging up the system when in the process of logging out, by hitting ctrl+alt+f2 and running top, then logging out and switching back, and I don't see anything that persists and hogs CPU/memory.

Offline

#2 2010-09-09 08:45:56

murugan
Member
Registered: 2010-08-02
Posts: 27

Re: KDE4 logout very slow

I got the same problem  I tried disabling logout sound and it helped a little. Now it logs out in 4 to 5 seconds.

Offline

#3 2010-09-09 09:21:25

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: KDE4 logout very slow

Since 3 days I have the problem, that my logout doesn't work anymore. I click on the shutdown button and then my system hangs. To shutdown I have to go to tty1 and type shutdown manually. Anyone else experience this problem?

Offline

#4 2010-09-09 09:39:48

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: KDE4 logout very slow

Is Akonadi running when you logout?

Try disabling via Akonadi Configuration > Akonadi Server Configuration before logging out to see if it's the cause.

Last edited by rusty99 (2010-09-09 09:40:05)

Offline

#5 2010-09-09 15:23:49

archtaku
Member
Registered: 2010-07-02
Posts: 84

Re: KDE4 logout very slow

I already had the logout sound disabled. Akonadi was running. I shut it off and logged out, no difference.

Offline

#6 2010-09-11 03:52:22

qpieus
Member
Registered: 2008-03-08
Posts: 33

Re: KDE4 logout very slow

Lothium wrote:

Since 3 days I have the problem, that my logout doesn't work anymore. I click on the shutdown button and then my system hangs. To shutdown I have to go to tty1 and type shutdown manually. Anyone else experience this problem?

Yes, me too. Right click on desktop, select "Leave" and the screen goes dim, but then just sits there. Have to go to console and cntrl-c to get to a command prompt. I do have a logout sound. I just turned that off and I'll see if I can "Leave" out later tonight.

Offline

#7 2010-09-11 21:50:19

qpieus
Member
Registered: 2008-03-08
Posts: 33

Re: KDE4 logout very slow

Disabling the logout sound made KDE exit quickly as before. Why would the logout sound cause the the slow logout?

Offline

#8 2010-10-31 08:03:20

archtaku
Member
Registered: 2010-07-02
Posts: 84

Re: KDE4 logout very slow

I found the problem (at least in my case). I narrowed the issue down to the GTK tray icon for wicd network manager. Whenever I closed it before logging out or shutting down, there would be no delay at all.

I found a KDE client for wicd in the AUR, though the maintainer needs to update the PKGBUILD. It depends on wicd, when it should depend on the AUR package wicd-nogtk, or else both the KDE and GTK clients will be loaded upon login.

I built and installed wicd-nogtk, then modified the dependency in the PKGBUILD for wicd-client-kde and built and installed it. Since doing so, I've had no delay in loging out or shutting down.

Offline

#9 2010-11-01 08:56:42

Schorfi
Member
Registered: 2008-10-14
Posts: 8

Re: KDE4 logout very slow

Well, it didn't help with the long logout, but i like the kde-client anyway. wink

Offline

#10 2010-11-01 11:28:53

Zolnierz
Member
Registered: 2010-11-01
Posts: 26

Re: KDE4 logout very slow

My logout/restart/shutdown button stops work when I change the multimedia backend in KDE4 from Xine to GStreamer. When I return to Xine it's simply working without any delay or something.Maybe it's phonon related problem...

Offline

#11 2010-11-05 13:34:16

cvarin
Member
Registered: 2010-11-05
Posts: 7

Re: KDE4 logout very slow

I tried "sudo poweroff" in a konsole (within kde) and the system shuts down very quickly. So it might be kde itself that is slow to issue the command. Effects mentioned before in the forum might simply be side effects.

For reference :
    all sound effects are off
    phonon uses the xine backend
    akonadi server is running
    the regular wicd is used

Offline

#12 2010-11-05 20:00:59

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: KDE4 logout very slow

qpieus wrote:

Disabling the logout sound made KDE exit quickly as before. Why would the logout sound cause the the slow logout?

Did the same thing and logout is quick again. so something is causing a delay in the sound system of KDE.

Last edited by fettouhi (2010-11-05 20:01:27)

Offline

#13 2010-11-05 23:31:41

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: KDE4 logout very slow

For me, turning off the confirmation dialog that pops up has given me a big speed boost (I also have sounds turned off).


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#14 2010-11-19 16:06:34

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: KDE4 logout very slow

I have the same problem, doesn't matter with or without shutdown sound. Using gstreamer or xine seems to change things a bit, but for me it feels like gstreamer is a bit faster, as it doesn't work with amarok, thats not an option anyway..
Using xine I experience the problem described obove:

After you select the logout option and confirm it, 8-10 seconds will elapse before the screen goes blank, and it'll stay that way for at least another 10 seconds or more before returning to KDM (or going to runlevel 0 or 6).

Switching to gstreamer, the time till loguout from kde is about the same, but kdm loads a lot faster then.

Any more suggestions?

Offline

#15 2010-11-19 16:20:42

archtaku
Member
Registered: 2010-07-02
Posts: 84

Re: KDE4 logout very slow

Are you using any GTK-based apps that have tray icons (or otherwise run in the background)? I was able to solve my issue by switching from wicd to a combination of wicd-nogtk and wicd-client-kde (both from AUR).

Offline

#16 2010-11-19 20:21:32

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: KDE4 logout very slow

no I dont. i just tried to run a empty profile of a brand new user but the problem remains also with only the aplications loaded that are loaded with a fresh .kde4 directory. for wireless im using network manager with the plasmoid.

Offline

#17 2010-11-19 23:02:37

mangus
Member
From: Bologna, Italy
Registered: 2007-04-07
Posts: 289

Re: KDE4 logout very slow

I solved this issue deleting all the akonadi stuff (files and dir) from my $HOME (.local and .config included)
now kde4 shutdown is finally fast smile

Offline

#18 2010-11-20 12:04:43

miro279
Member
Registered: 2010-10-02
Posts: 153

Re: KDE4 logout very slow

didn't do any good for me,

Offline

#19 2010-11-22 11:43:11

HFC
Member
From: Liege, Belgium
Registered: 2010-11-22
Posts: 1

Re: KDE4 logout very slow

Just for info, i had the same problem until a few days ago.
The problem was i couldn't shutdown my system using KDE's logout icon, either via plasmoid or the menu.
When KDE desktop started off, i also had an error message stating something about KDE init or KDE launch daemon
This showed off around the 05th or 06th nov. (as in post #3) and the only thing i did before was an update of the system and probably shutdown til the next morning. What i remember is that it updated stuff related to X like (iirc) xinit.

Now, a couple of days ago, i did update again my system, where it installed once again X server packages, including xinit 1.3.0-1 (X64 here).

So, i have no idea if it's related but now, the problem is gone for me and the error message i had seems related (to me) with xinit.

Hope this helps

Cheers

Last edited by HFC (2010-11-22 11:44:55)

Offline

#20 2010-11-28 09:13:36

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: KDE4 logout very slow

Turning off the logout sound for KDE has stopped working for me.

Offline

#21 2010-12-03 05:10:14

archtaku
Member
Registered: 2010-07-02
Posts: 84

Re: KDE4 logout very slow

Well, great. I'm back to the long logout as well.

EDIT: Think I found the culprit. I replaced go-openoffice with libreoffice and it installed a symlink to some stupid quickstarter in ~/.config/autostart. I deleted the symlink and killed the quickstarter process, then logged out. There was still a delay that time, but since then I've logged in and out several times without any delay.

Last edited by archtaku (2010-12-03 05:26:27)

Offline

#22 2010-12-05 15:02:35

empty_tank
Member
Registered: 2009-11-08
Posts: 6

Re: KDE4 logout very slow


the road to hell is paved with good intentions.

Offline

#23 2010-12-05 17:11:44

archtaku
Member
Registered: 2010-07-02
Posts: 84

Re: KDE4 logout very slow

That doesn't seem like the same issue, this thread is about the logout process taking a long time.

Offline

#24 2010-12-06 11:02:54

mizogs
Member
Registered: 2009-11-26
Posts: 22

Re: KDE4 logout very slow

Thanks guys, the LibreOffice thing sorted it out for me. I just un-ticked the box for "Enable systray Quickstarter" in the Tools/Options/LibreOffice/Memory tag


One life - live it. (and drink the best wine first)

Offline

#25 2010-12-07 08:36:58

mizogs
Member
Registered: 2009-11-26
Posts: 22

Re: KDE4 logout very slow

Whoops, posted too soon the problem of non-responsive "shutdown" buttons is back today!


One life - live it. (and drink the best wine first)

Offline

Board footer

Powered by FluxBB