I found the bug with lightdm --debug : in first scenario with lightdm-session, it logs : [+9.24s] DEBUG: Session pid=7720: Running command /usr/sbin/lightdm-session startxfce4
In second one, it logs : [+101.49s] DEBUG: Session pid=7454: Running command /usr/sbin/wrapper startxfce4 So i edited my wrapper with echo '/usr/sbin/lightdm-session $1' > /usr/sbin/wrapper And it worked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1773189 Title: session-wrapper not working anymore To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1773189/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs