diff options
-rw-r--r-- | src/smartauthmon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smartauthmon.cpp b/src/smartauthmon.cpp index f2b93df..a5aaebf 100644 --- a/src/smartauthmon.cpp +++ b/src/smartauthmon.cpp @@ -683,9 +683,9 @@ int main (int argc, char *argv[]) } else { - // Could not find any existing kdm sessions; start a new one - systemexec(TRINITY_BIN_PREFIX "kdmctl -g reserve"); - usleep(3000000); + // KDM is probably not running yet, as its control directory does not exist + // Wait for 10 seconds and try again + usleep(10000000); } } |