vdagent: Add daemonizing support, daemonize by default
commit1cfccc9f642bee2b27890b12574ee62d39fccdef
authorHans de Goede <hdegoede@redhat.com>
Thu, 17 Mar 2011 15:14:39 +0000 (17 16:14 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 17 Mar 2011 18:19:12 +0000 (17 19:19 +0100)
treef650df7e5726da0a0972cfd78e9285f6d23438ec
parentad0b8e043e9c53a02a24fdfcdc50ce7481cf894d
vdagent: Add daemonizing support, daemonize by default

gnome-session will wait for autostartup "apps" marked with
X-GNOME-Autostart-Phase=Initialization to signal they've completed starting
or do an exit 0, before continuing with the next startup phase. Since we were
doing neither, it would wait for a timeout until continueing causing a
noticable delay before gdm showing the greeter, and after login. By
daemonizing immediately after startup we avoid this delay without needing
to go talk XSMP or something similar.
vdagent.c