** Attachment added: "test case"
   
https://bugs.launchpad.net/bugs/994755/+attachment/3130535/+files/clipit-startup.desktop

** Description changed:

- 1) Ubuntu release : 12.04 LTS
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/994755

Title:
  malformed autostart .desktop file prevents session opening

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/994755/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to