I find my system usually has to wait 90 seconds to kill KDE plasma when I use it without a login manager and then try to shut down...
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
A stop job is running for User Manager for UID 1000 (12s / 2 mins)
( 1min 59s / 2 mins )
...
( 2 mins / 3 mins )
???
(5min 7s / no limit)
Shieeet
In those cases there's an easy solution.
Step 1: sigh
Step 2: press the power button 5 or 10 seconds while contemplating why you decided to do a quick restart instead of keeping the session and do something actually productive
That's because it first send sigterm, then sigkill. Then it gives up and let the kernel handle it...
Happens on my BTRFS disk's unmount. If the kernel is currently busy handling some heavy btrfs command (like a 4tb scrub), systemd cannot stop it with sigkill.
So when it eventually gives up, you also need to wait for the kernel to finally stop the operation and actually disconnect the disk.
Reverse meme when it's time to install the updates.
Windows in that case is "I MUST REBOOT IMMEDIATELY PREPARE TO LOSE ALL UNSAVED DATA IN 3. 2. 1..."
When I switched to win 10, I actually gave them more money to get the pro version for access to the group policy editor so I could control updates and never have to deal with my PC telling me it's time to restart on its own. Because I was stupid.
When it came time to switch to Win 11, I did the much more sensible thing and installed Fedora instead. I started with cinnamon and even though I ended up disliking it also, it was still way better than the windows experience.
also yes i know shutdown typically uses sigterm and waits nicely, but it doesn't take 45 seconds for no damn reason like windows
also sigkill is funnier
Xkill is my favorite. I prefer aiming the gun and pulling the trigger myself
Set a keyboard shortcut for it. Ctrl + Alt + Esc is mine.
Definitely not a systemd based distro in the meme
Maybe something I don't know, but I send kill commands through btop all the time on a systemd based machine.
The point here is that SystemD's natural behavior is to send SIGTERM then wait an eternity.
Those "service XY is shutting down (5sec/2min)" messages you sometimes get on shutdown are coming from SystemD not waiting for 3 seconds like the meme suggests, but waiting for minutes before giving up and switching over to SIGKILL instead.
Gonna make Lemmy pissed off, but installed on my machine Nobara, Cachy and Mint at some point. All of them had comparable if not worse boot and shutdown times to Windows 10. xD ( And worse performance in games but that's due to having old Nvidia GPU xD )
The first time I shutdown a Linux computer, I thought I broke something it happened so fast.
Been doing Linux for decades. sudo reboot is still very jarring.
Same. I still feel like I should be parking the heads on my 10mb hard drive. Honestly at this point, I'm too embarased to ask if there is a proper way to send my servers for a reboot, and I cross my fingers I can log back in.
"YOU CAN'T SHUT DOWN YET, STEAM STILL RUNNING" -Win10, literally every time.
The fuck?
I've had it yell at me because it couldn't close some dialog window that explorer opened because I was trying to shut it down
The number of times I've told my work laptop to shut down on Friday, and found it still running on Monday is too damn high. And it's usually because I had two instances of VSCode running, and when they got closed they both tried to run an update, and the setup processes interfered with each other. The resulting dialog window prevents shutdown.
Every workday using Windows is just further validation for running Linux on my own hardware.
Why not just leave your work laptop mining crypto for you while you're away?
This but deleting a folder:
- Are you sure you want to delete this
- Delete too large to fit in garbage bin, so are you really sure
- Couldn't delete stuff (for no clear reason)
- Even as admin file locks were hard blocking without any easy way to unblock
Meanwhile on Linux with sudo rm -rf, it's just gone as demanded.
Partially true. The difference is that in Linux, when you delete a file, you're just removing the directory entry (potentially just one of many entries that point to the same data). The filesystem doesn't actually remove the data and reclaim space until all open handles are closed and no remaining directory entries point to the data.
Any running processes that have the file open are able to continue to read and write that data via the handle despite the directory entry being removed, until the handle is closed.
I think a file delete just removing an adress and not the actual data is common to all OSes. That's why to safely erase data from a disk it is recommended to fully overwrite the disk with random data, potentially multiple times.
If you delete a still opened file on Linux then the file will disappear for all processes which didn't already open it, all programs that did already open it can still read and write to it and the file on disk will never be overwritten (as in, used for other files) as long as there's still a process with the file open.
Simplifying how it works: The file you see is a link to the actual file(inode), when a program opens a file using this link they get a copy of the link. As long as one link/copy of it still exist the file won't be deleted. When a program closes all its links get cleaned up so on shutdown all files which only have processes referring to them get marked as deleted.
that's a different thing. if you delete a file that is still opened by a process, the space will not get freed up until that process also closed the file. until that point the filesystem still keeps track of the file, it is just not present in any directories anymore.
I don't know what comment section or post are talking about. Default timer for systemd on arch is 3 minutes (and I think it's default for most distros). Whenever some service fails to quit on reboot, system will stuck for 3 minutes until systemd decide to kill it. I need to manually configure it lower to like, 10 seconds, cause there shit ton of services that always fails to quit.
And not like I'm using old pentium - my system build on AM5 with amd 7700x, 128gb of 5600MT\s ram and 7900xtx, with kingston nvme pcie4 ssd's on top of that. It's literally "best case scenario".
Don't be a pussy and sigkill process number 1.
Had the pleasure of installing some HPE proprietary crap on RHEL the other day.
After the cli installer ran it printed: rebooting now.
It then killed PID 1 to force the reboot ...
We were flabbergasted. Why would the first and only method of asking the system to reboot be to shoot the system in the head?
Why would the first and only method of asking the system to reboot be to shoot the system in the head?
Because the lazy-ass dev didn't want to program in contingencies for using alternate methods, so he just used the one method that's guaranteed to work.
Ironic. Because a bug on CachyOS KDE made the shut down button in the quick menu disappear. Nobody in their community could help me or explain why. Generally I would say support is rather spotty with CachyOS in general. Of course you can shut it down in many other ways but that was my preferred one. So I just lived with it and instead used ctrl+alt+delete for a while until the button magically returned one day.
also true for boot (not from suspended state), in my experience.
windows: wait, let me display the windows logo for 10 seconds, then show a spinny circle, then show the lock screen, then when you try to enter your password, it loads your user profile for another 5 minutes before it shows your desktop icons
linux: click the power button -> 1.5 seconds later i see the lock screen. enter password and it's just there.
Back when i still had windows as a second boot option, it was soooo annoyingly slow to boot (like 3 minutes or so). I thought it's because I installed it on a HDD, not SSD (and that was indeed part of the reason). One day when my internet broke though, I realized it was actually super fast to boot suddenly. It just spent half the time downloading stuff from the internet before, during boot. From then on I just pulled the ethernet cable before booting windows. Fucking joke of an operating system
I had to update a Windows 11 work laptop after not touching it for nearly a year. I click 'shut down' from the start menu and nothing happens. What? Try it again. Nothing again.
I have to hold down the power button before the screen shows a "slide to shut down" screen now. How did Microslop fuck up the 'shut down' so badly.
It's tragic the level of immediate relief I feel every time I shutdown on Linux after years on Windows.
Reboot
Windows: save all your woooork. What apps you had open? How would I know?
Linux: it's all saved in ram, don't worry. It'll be like you never rebooted
