Bug 313445

Summary: Wrong file in autostart freezes the desktop
Product: [Unmaintained] kdelibs Reporter: Alvaro Soliverez <asoliverez>
Component: kdecoreAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.9.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alvaro Soliverez 2013-01-18 11:50:56 UTC
Autostart is supposedly expecting only executable files. If a non-executable file is copied to ~/.kde4/Autostart  it tries to open whatever application the file type is associated with.
In my case, it was a text file and it tried to open Kate, which would never finally open.
The thing is, the desktop froze. The plasma panels would not respond at all. I tried to open Rekonq and it wouldn't open.

I had to hit Ctrl+Esc, kill the Kate process. Then a Kdeinit error showed up, and all other stuff opened, and the desktop was responsive again.

My guess is, if the file in Autostart is not executable, bad things may happen and it shouldn't try to execute it at all, or verified that it doesn't freeze the desktop if it fails somehow.

To reproduce, it should be just enough to place a normal text in ~/.kde4/Autostart and relogin.
Comment 1 Jekyll Wu 2013-01-18 12:00:11 UTC
See https://bugs.kde.org/show_bug.cgi?id=286658#c4 and https://bugs.kde.org/show_bug.cgi?id=286658#c5

*** This bug has been marked as a duplicate of bug 286658 ***