Add a StartupWaitTime parameter
This allows sesman to detect failed sessions before it tells xrdp that all is OK with the session. This is a fairly common failure mode which can now be reported on the login screen.
This commit is contained in:
@@ -68,6 +68,7 @@ scp_screate_status_to_str(enum scp_screate_status n,
|
||||
(n == E_SCP_SCREATE_MAX_REACHED) ? "Max session limit reached" :
|
||||
(n == E_SCP_SCREATE_NO_DISPLAY) ? "No X displays are available" :
|
||||
(n == E_SCP_SCREATE_X_SERVER_FAIL) ? "X server could not be started" :
|
||||
(n == E_SCP_SCREATE_SESSION_FAIL) ? "Session failed immediately" :
|
||||
(n == E_SCP_SCREATE_GENERAL_ERROR) ? "General session creation error" :
|
||||
/* Default */ NULL;
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@ enum scp_screate_status
|
||||
E_SCP_SCREATE_MAX_REACHED, ///< Max number of sessions already reached
|
||||
E_SCP_SCREATE_NO_DISPLAY, ///< No X server display number is available
|
||||
E_SCP_SCREATE_X_SERVER_FAIL, ///< X server could not be started
|
||||
E_SCP_SCREATE_SESSION_FAIL,///< The session failed quickly
|
||||
E_SCP_SCREATE_GENERAL_ERROR ///< An unspecific error has occurred
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user