session-wrapper does not work with session type ubuntu

Bug #1337448 reported by Kristian Benoit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned

Bug Description

I setup a session-wrapper to let the user configure a pre/post session script. It work fine with fluxbox, gnome, ... but when the session is ubuntu, unity does not start. All I can do is Ctrl-Alt-T to get a terminal and start unity.

#!/bin/sh
if [ -x $HOME/.lightdm/login ] ; then
  logger -t lightdm "running $HOME/.lightdm/login"
  $HOME/.lightdm/login
fi

logger -t lightdm "Starting session: $@"
exec $@ &
pid=$!
wait $pid

if [ -x $HOME/.lightdm/logout ] ; then
  logger -t lightdm "running $HOME/.lightdm/logout"
  $HOME/.lightdm/logout
fi

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.