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 Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1773189

Title:
  session-wrapper not working anymore

Status in lightdm package in Ubuntu:
  New

Bug description:
  on lightdm 1.26.0

  if i set 
  session-wrapper=/usr/sbin/lightdm-session
  it works

  if i set 
  session-wrapper=/usr/sbin/wrapper.sh 
  and
  echo '/usr/sbin/lightdm-session' > /usr/sbin/wrapper.sh
  chmod +x /usr/sbin/wrapper.sh
  it does not work

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to