malformed autostart .desktop file prevents session opening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
New
|
Undecided
|
Unassigned |
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/
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=
AutostartCondit
Note the error on the second line it should be (?) AutostartCondit
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)
Thank you for taking the time to make Ubuntu better. Since what you submitted is not really a bug, or a problem, but rather an idea to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at http:// brainstorm. ubuntu. com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!