session-wrapper does not work with session type ubuntu
Bug #1337448 reported by
Kristian Benoit
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/.
logger -t lightdm "running $HOME/.
$HOME/
fi
logger -t lightdm "Starting session: $@"
exec $@ &
pid=$!
wait $pid
if [ -x $HOME/.
logger -t lightdm "running $HOME/.
$HOME/
fi
To post a comment you must log in.