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. ** Attachment added: "Xgl-session" http://launchpadlibrarian.net/10928340/Xgl-session -- [Hardy] Race condition in Xgl startup process https://bugs.launchpad.net/bugs/176515 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs