0

When my RP boots, I get several errors about some services failing. Most notably 'permit user sessions'.

enter image description here

Which means I can not log in to the device, and I can not make changes to it.

I can of course remove the SD card and change the contents that way.

I would prefer solutions that do not involve 'try writing the image to the SD card again.' I have tried that several times (see other questions by me). So far I have not yet found a way to keep my raspberry pi running more than 1 day.

Questions:

  1. What is happening?
  2. Why is this happening?
  3. How do I fix it?
  4. Is there a release of Raspbian that is at least more stable. This thing feels buggy. Like I mentioned, I have not yet gotten this to work more than 1 day in a row.
6
  • Buy a new quality SD Card and make sure to power it down properly. I have several Pi that run for months without issues, but once a SD Card becomes flaky nothing will help. – Milliways Dec 29 '19 at 23:16
  • Why do you assume it's the SD card? How did you pinpoint that as the root cause? Not making any accusations. Just trying to learn. – Joris Schellekens Dec 29 '19 at 23:18
  • I make no assumptions - you have provided no information to draw any conclusions but the error messages indicate OS problems. My (few) similar experiences were flaky SD Cards. – Milliways Dec 29 '19 at 23:21
  • There might be useful information in the system log as to what the errors are. If you haven't looked at it, that would be a great place to start. If you can't login, you'll have to sort out how to look at the /var/log files from another system. Difficult from Windows, easier from Linux, and I assume Mac (altho I am Mac illiterate by choice, so can't say for sure) – bls Dec 29 '19 at 23:25
  • 1
    Which files from /var/log would you like to see? – Joris Schellekens Dec 30 '19 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.