[Bug 994755] Re: malformed autostart .desktop file prevents session opening
Fabio Marconi
fabiomarconi at ubuntu.com
Mon May 7 09:06:57 UTC 2012
Hello
If the system is set by Admin to start an application, it *has* to start it, because if the application is something security related or essential for the workflow, then is better not to proceed at all.
A valid option can be a popup alert informing that the system is stopped cause a problem in a startup file, but in every case the system needs to be stopped.
Assigned to upstart to evaluate.
Thanks
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad
** Package changed: ubuntu => upstart (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/994755
Title:
malformed autostart .desktop file prevents session opening
Status in “upstart” package in Ubuntu:
New
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/994755/+subscriptions
More information about the foundations-bugs
mailing list