Comment 2 for bug 176515

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Sorry, in the hurry I forgot to post the file. Here is the modified version of Xgl-session

The command "/usr/bin/seahorse-agent --execute /usr/bin/gnome-session " is passed as argument to the Xgl-session script and executed at the end.
If the display in $DISPLAY is not ready the command fails with "can't open display" and gnome-session is not executed.

Adding traces to this script, I've observed that the "exec $@" is executed _before_ the Xgl command in the wrapper script "Xgl-lockfile-wrapper" (except the first time you log in). In this case the session can't start because the display is not ready.

My .xsession-errors was similar to the one of Bug 174408.

The wait loop added to the startup script also solved the xmodmap error.