--- multi-seat-x.c.orig 2013-11-09 16:40:16.287941884 +0100 +++ multi-seat-x.c 2013-11-09 16:23:42.637901918 +0100 @@ -91,14 +91,16 @@ fclose(f); f = NULL; - new_argv = newa(char*, argc + 3 + 1); + new_argv = newa(char*, argc + 5 + 1); memcpy(new_argv, argv, sizeof(char*) * (argc + 2 + 1)); new_argv[0] = (char*) X_SERVER; new_argv[argc+0] = (char*) "-config"; new_argv[argc+1] = path; new_argv[argc+2] = (char*) "-sharevts"; - new_argv[argc+3] = NULL; + new_argv[argc+3] = (char*) "-layout"; + new_argv[argc+4] = seat; + new_argv[argc+5] = NULL; execv(X_SERVER, new_argv); log_error("Failed to execute real X server: %m");