Edit: Fixed by this comment: https://lemm.ee/comment/8626267 Thanks!


Hi all, please help me figure out this weird issue I’ve been having. Any time I leave my laptop idle for a long time, when I come back to it, it’s back to the log in screen as in the laptop rebooted.

I am not sure which logs I should be looking for to figure out the source of the problem.

Here’s my system info:

             .',;::::;,'.                verde@verde-xps 
         .';:cccccccccccc:;,.            --------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora release 39 (Thirty Nine) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: XPS 15 9520 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.6.11-200.fc39.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 22 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 2754 (rpm), 56 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.21 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 2560x1440 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: GNOME 45.3 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Yaru-purple-dark 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Yaru-purple-dark [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Yaru-purple-dark [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: 12th Gen Intel i9-12900HK (20) @ 4.900GHz 
:cccccccccccccccccccccccccccc:'.         GPU: NVIDIA GeForce RTX 3050 Ti Mobile 
.:cccccccccccccccccccccc:;,..            GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics] 
  '::cccccccccccccc::;,.                 Memory: 7683MiB / 63971MiB 
  • allywilson
    arrow-up
    7
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    Without sounding rude, are you sure it’s at the login screen and not the unlock screen?

    • Bruno FingerOP
      arrow-up
      1
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      not rude. yeah it’s a login screen as when I input my password all apps that I was using are closed, blank new session.

      • allywilson
        arrow-up
        2
        arrow-down
        0
        ·
        9 months ago
        link
        fedilink

        OK, thanks.

        I guess it’s worth confirming if it’s been a logout or a reboot as well. If you open a terminal and type “uptime” does the time match when you booted up or after you left it alone for a while?

        Check the output of: dmesg -T and have a look through: /var/log/messages

        I would be focussing on errors, warnings and/or terms like “reboot, shutdown, logout, timeout, idle, etc. to try to narrow it down what is happening and when.

  • reyemxelaEnglish
    arrow-up
    6
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    Ooh, I might actually be able to help here. Try disabling screen sleep in your power options and see if that fixes it. It took me a long time to narrow my issues down to that. I still don’t know why it happens.

    And definitely let me know if that fixes the issue for you. I’d love to know it’s not just me and my laptop.

    • Bruno FingerOP
      arrow-up
      4
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Seems to have fixed the issue, it didn’t reboot overnight. Thanks!

      • ikiddEnglish
        arrow-up
        1
        arrow-down
        0
        ·
        9 months ago
        link
        fedilink

        I’d look if there’s an updated BIOS version for your system, ACPI issues like that are usually a non-compliant subsytem in the firmware.

    • Bruno FingerOP
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Thanks, I had screen sleep set to 10 minutes. Hibernation has been off since a long time. I will let you know by tomorrow if this fixed it.

  • superbirra
    arrow-up
    5
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    lol I love that you unironically copypasted neofetch output

    • Bruno FingerOP
      arrow-up
      3
      arrow-down
      1
      ·
      9 months ago
      link
      fedilink

      I just thought it was the easiest way to show relevant system information :p

      • superbirra
        arrow-up
        2
        arrow-down
        5
        ·
        9 months ago
        link
        fedilink

        totally irrelevant and irrespectfully hard to read for ppl volunteering to helpdesk you

        • LaggyKar
          arrow-up
          2
          arrow-down
          0
          ·
          9 months ago
          link
          fedilink

          What’s so hard to read about that?

              • Mac
                arrow-up
                3
                arrow-down
                0
                ·
                9 months ago
                link
                fedilink

                Code blocks got updated in 0.19, lemmy.world is still on a 0.18 version

                • LaggyKar
                  arrow-up
                  2
                  arrow-down
                  0
                  ·
                  9 months ago
                  edit-2
                  9 months ago
                  link
                  fedilink

                  I get horizontal scroll even if I view the post on lemmy.world though

              • superbirra
                arrow-up
                1
                arrow-down
                5
                ·
                9 months ago
                link
                fedilink

                I’m glad you can scroll horizontally, but the point I was making is that the action of posting that bolus of rubbish remains stupid 🤷🏼

            • Bruno FingerOP
              arrow-up
              1
              arrow-down
              0
              ·
              9 months ago
              link
              fedilink

              oh, sorry about that, I didn’t realize this could be bad for mobile users. All I needed was a command that could display all system info like distro name and version, kernel version, DE version, etc, I didn’t necessarily need the distro logo and some other useless info in there.

              • superbirra
                arrow-up
                2
                arrow-down
                0
                ·
                9 months ago
                link
                fedilink

                no need to be sorry

                the little effort involves taking the piss, just taking ourselves less seriously, we’re only messing around online. And btw no info in neofetch is relevant :P

  • 🧟‍♂️ Cadaver
    arrow-up
    4
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    I have had the same issue in the past.

    It might come from going into hibernation. Since you have an nvidia card it’s where the error is most likely.

    • carcusEnglish
      arrow-up
      2
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Without more info this is a good best guess. However, Instead of the graphics card I would suspect an undersized swap space to support hibernation.

  • 1984
    arrow-up
    4
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    If it really has rebooted, it could be some graphics driver issue causing it to freeze up. I had stuff like that on Nvidia graphics back in the day. Linux will reboot itself after a while if it freezes.

  • lemmyreader
    arrow-up
    3
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    Yes, agreed with the other comment. Did you check uptime command ? In your system info it shows Uptime : 22 mins. In a terminal you can also type uptime or w

  • FooBarrington
    arrow-up
    1
    arrow-down
    0
    ·
    9 months ago
    link
    fedilink

    Is it possible that you’re on a different TTY? The login screen used in Fedora has some problems with using the correct TTY if you don’t use auto-login. If this happens again, try cycling through them, maybe your old session is still there.