Skip to content

Detect X server exit status instead of doing timeouts #18

Description

@midenok

There are 3 reasons why server exited:

  1. Crash;
  2. Configuration error;
  3. User initiative (including Ctrl + Alt + Backspace).

Usually they are differentiated by exit code (it also includes signal which caused termination). That's what nodm must do correspondingly:

  1. Restart and if crashed again in short timeout exit without further restarts;
  2. Exit immediately;
  3. Restart (without timeouts) or exit depending on configuration.

So timeout should be accounted only for crash and only one time (who needs X server crashing more frequently than working).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions