this post was submitted on 24 Jan 2024
34 points (92.5% liked)

Linux

45756 readers
935 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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 
top 25 comments
sorted by: hot top controversial new old
[–] zenharbinger@lemmy.world 7 points 5 months ago

Could also be going to sleep for power saving.

[–] reyemxela@lemmy.world 6 points 5 months ago (2 children)

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.

[–] brunofin@lemm.ee 4 points 5 months ago (1 children)

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

[–] ikidd@lemmy.world 1 points 5 months ago

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.

[–] brunofin@lemm.ee 3 points 5 months ago

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.

[–] allywilson@sopuli.xyz 6 points 5 months ago (1 children)

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

[–] brunofin@lemm.ee 1 points 5 months ago (1 children)

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@sopuli.xyz 2 points 5 months ago

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.

[–] superbirra@lemmy.world 5 points 5 months ago (1 children)

lol I love that you unironically copypasted neofetch output

[–] brunofin@lemm.ee 2 points 5 months ago (1 children)

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

[–] superbirra@lemmy.world -3 points 5 months ago (1 children)

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

[–] LaggyKar@programming.dev 2 points 5 months ago (1 children)

What's so hard to read about that?

[–] superbirra@lemmy.world 5 points 5 months ago (2 children)
[–] LaggyKar@programming.dev 3 points 5 months ago (2 children)

Huh, I guess must be something dependent on the client. On the web I can scroll horizontally in the code box instead:

[–] mac@programming.dev 3 points 5 months ago (1 children)

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

[–] LaggyKar@programming.dev 2 points 5 months ago* (last edited 5 months ago) (1 children)

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

[–] superbirra@lemmy.world 1 points 5 months ago

still not the point. Is it my own damn fault if I think it's stupid to pass this bolus of text? :D

[–] superbirra@lemmy.world -4 points 5 months ago

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 🤷🏼

[–] brunofin@lemm.ee 1 points 5 months ago (1 children)

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@lemmy.world 2 points 5 months ago

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

[–] 1984@lemmy.today 4 points 5 months ago

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.

[–] Ashiette@lemmy.world 4 points 5 months ago (1 children)

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.

[–] carcus@lemmy.ml 2 points 5 months ago

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.

[–] lemmyreader@lemmy.ml 3 points 5 months ago

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@lemmy.world 1 points 5 months ago

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.