this post was submitted on 12 Mar 2024
62 points (95.6% liked)
Linux
48310 readers
645 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There used to exist a hotkey CTRL-ALT-BKSP for restarting your current X-Session, don't know if this still exists
That's specific to X11. It also wasn't always enabled for security reasons (breaking out of a locked screen). Now with Wayland there's no standard.
How is it a security risk to break out of a lock screen only to end up at a login screen?
You wouldn't end up at a login screen, you'd end up in the last logged in user's session.
It's turned off by default in a lot of distros these days but it can be turned back on. It used to be that editing /etc/X11/xorg.conf was recommended but because file inclusions are a thing these days, it makes more sense to create a new file /etc/X11/xorg.conf.d/enable-killing-xserver.conf:
Then restart the X server (which, these days, is pretty much a reboot). Or, going through the x.org documentation archives, it looks like you could dispense with the config files and run
setxkbmap -option "terminate:ctrl_alt_bksp"
in a terminal session and that'll do the same thing.Additionally, it terminated all gui processes. Which the windows shortcut mentioned in the question doesn't.
There is a proposal to consider making a Wayland extension where programs can sit around and re-attach to a fresh, non-deaded display server. KDE is much closer to having a working version.
That doesn't restart anything. That kills the X11 server.
It may or may not restart depending on system settings.
That is not an equivalent.
On Linux, if a graphical app does not crash from this, that is a rare exception.
On windows, if a graphical app crashes from that, that is an exception.
That doesn't work for Wayland and I'm unsure which one Zorin uses
It uses Wayland
That is just the key to kill the X server. It does not restart anything.
I was thinking of that when I read this and was like. windows has something like this???