[Bug 994755] [NEW] malformed autostart .desktop file prevents session opening

Launchpad Bug Tracker 994755 at bugs.launchpad.net
Mon May 7 09:07:12 UTC 2012


You have been subscribed to a public bug:

1) Ubuntu release : 12.04 LTS 64 bits

2) Application : startup procedure (package unknown )

3) What should happen :

When a .desktop file used in autostart (located in /etc/xdg/autostart/
or ~./config/autostart/) is corrupt, it should be skipped and session
startup should continue.

4) What happens :
Session does not start (freeze).
Impossible to open ANY session from session manager (lightDM).

5) Détails :

I altered one of the .desktop file located in /etc/xdg/autostart/ in the
purpose of having it start only in certain environment.

I edited the desktop file, adding two lines :

OnlyShowIn=Unity;GNOME;
AutostartCondition=GNOME if-session gnome-fallback

Note the error on the second line it should be (?)
AutostartCondition=GNOME3 if-session gnome-fallback

After that no session did open. I had to remove the .desktop file from
another OS.

6) How to reproduce :

Test case included for clipit application, to be copied in /etc/xdg/autostart with correct permissions.
Clipit should have been installed and launched once, before replacing its startup file with the one included, in order to reproduce the same conditions.

WARNING : make sure you can delete the file accessing it from another OS
as you will not be able to start a session. (Or have another way to
bypass the session startup)

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 precise
-- 
malformed autostart .desktop file prevents session opening
https://bugs.launchpad.net/bugs/994755
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to upstart in Ubuntu.




More information about the foundations-bugs mailing list