Right now we have little to no logging from Xvnc and tl-xinit when a session ends. It would be nice if they were at least verbose enough to see if we are terminating because of a crash, an external signal, logout, etc.
For reference, Xorg finishes its log output with: > (EE) Server terminated successfully (0). Closing log file.
tl-run-profile might also need some more logging.
(In reply to comment #1) > For reference, Xorg finishes its log output with: > > > (EE) Server terminated successfully (0). Closing log file. This isn't really true anymore as modern distributions have also switched over to letting Xorg log to stderr. At that point there is no final output when it terminates. Might be better to handle this from tl-xinit.
All done. Tester should check: - Final log line from tl-xinit - Exit code from profile command - That tl-xinit logs whenever the client or X server exits. This can be a normal exit, or a signal. Note that Xvnc grabs many signals and cleanly terminates. - That tl-xinit logs when it is asked to terminate via a signal (i.e. kill session).
(In reply to comment #7) > All done. > > Tester should check: > > - Final log line from tl-xinit > - Exit code from profile command > - That tl-xinit logs whenever the client or X server exits. This can be a > normal exit, or a signal. Note that Xvnc grabs many signals and cleanly > terminates. > - That tl-xinit logs when it is asked to terminate via a signal (i.e. kill > session). Verified commits and the above test cases using build 4868. No problems found.