GNOME Bugzilla – Bug 596548
need to set restart command
Last modified: 2009-10-15 16:34:46 UTC
Created attachment 144145 [details] [review] patch I'm seeing the following in my syslog Sep 27 16:44:27 planemask gnome-session[21219]: WARNING: Could not launch application '104a117a762e5564a6125407913983770400000015300005.desktop': Unable to start application: Failed to execute child process "vino-server" (No such file or directory) This is because vino does not set an explict restart command, and then EggSMClient defaults to just use g_get_prgname() for the command: Exec=vino-server --sm-client-id 102a73c85315f3112125409162166269700000256550005 This doesn't work because vino-server is in /usr/libexec, which is not in PATH. The attached patch calls egg_sm_client_set_restart_command, which fixes this. To make the patch totally correct, you probably want to look at $libexec_dir or something like that.
Crap. Of course, making the restart command work brings back the annoying 'restart in a loop' problem.
So, after studying the comments in the 'restart loop' bug again, it appears you just use EggSMClient to catch the quit signal, and don't particularly want to save any state. Therefore, a much simpler and better approach is to just tell EggSMClient that you don't want to be restarted with saved state.
Created attachment 144148 [details] [review] don't restart me, please
Thanks, patch committed.