> child_process_set_env (CHILD_PROCESS (display->priv->user_session), "PATH", "/usr/local/bin:/usr/bin:/bin");
The default path in the code is still missing /usr/games. It should probably be something like "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games".
> child_process_ set_env (CHILD_PROCESS (display- >priv-> user_session) , "PATH", "/usr/local/ bin:/usr/ bin:/bin" );
The default path in the code is still missing /usr/games. It should probably be something like "/usr/local/ bin:/usr/ bin:/bin: /usr/local/ games:/ usr/games" .