GNOME Bugzilla – Bug 120921
starting script from session-manual prevent splash to disappear quickly
Last modified: 2004-12-22 21:47:04 UTC
Create a file called foobar : cat << EOF > foobar #!/bin/sh EOF chmod +x foobar add foobar to your ~/.gnome2/session-manual using gnome-session-properties/Startup programs logout login splash will wait for foobar to issue some SM communication, which it won't do and splash will only disappear after 1/2 minutes..
Related to http://qa.mandrakesoft.com/show_bug.cgi?id=4505 . Is this a duplicate of bug 118063?
I just poked through the source code to confirm what I thought was going on here: all the programs from the startup programs capplet are currently expected to register themselves with the session manager correctly (they are treated like all other programs in save.c:read_session() ). Shell scripts (and numerous other programs) obviously do not. Mark: is the correct solution here to write a wrapper program which does register itself with the session manager and is responsible for starting these startup programs? After all, if the startup programs could do session management, you could just save them as part of a normal session and they would not need to go into this dialog box at all. It kind of seems wrong to just have the session manager fork/exec these programs (in fact, it may be just broken for remote sessions), hence the idea of farming it out to a wrapper, so that we can keep the code separate.
*** Bug 120926 has been marked as a duplicate of this bug. ***
It shouldn't be required for session-manual entries to connect to the session manager. So, I've found out what introduced these problems. It was the splash screen re-write that Michael did over a year ago now. I'll attach a patch on how to revert it to help anyone who wants to debug the problem ....
Created attachment 20180 [details] [review] patch to revert the new splash screen for testing
*** This bug has been marked as a duplicate of 116814 ***