|
|
@ -263,6 +263,13 @@ main(int argc, char** argv)
|
|
|
|
/* start program main loop */
|
|
|
|
/* start program main loop */
|
|
|
|
log_message(LOG_LEVEL_ALWAYS, "starting sesman with pid %d", g_pid);
|
|
|
|
log_message(LOG_LEVEL_ALWAYS, "starting sesman with pid %d", g_pid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* make sure the /tmp/.X11-unix directory exist */
|
|
|
|
|
|
|
|
if (!g_directory_exist("/tmp/.X11-unix"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
g_create_dir("/tmp/.X11-unix");
|
|
|
|
|
|
|
|
g_chmod("/tmp/.X11-unix", 0x1777);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sesman_main_loop();
|
|
|
|
sesman_main_loop();
|
|
|
|
|
|
|
|
|
|
|
|
if (!daemon)
|
|
|
|
if (!daemon)
|
|
|
|