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

Related Communities

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

founded 5 years ago
MODERATORS
 

I haven't been able to find one. Using Zorin OS which is GNOME.

you are viewing a single comment's thread
view the rest of the comments
[–] ceiphas@feddit.de 10 points 8 months ago (8 children)

There used to exist a hotkey CTRL-ALT-BKSP for restarting your current X-Session, don't know if this still exists

[–] baru@lemmy.world 9 points 8 months ago (1 children)

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.

[–] delirious_owl@discuss.online 1 points 8 months ago (1 children)

How is it a security risk to break out of a lock screen only to end up at a login screen?

[–] Eufalconimorph@discuss.tchncs.de 1 points 8 months ago

You wouldn't end up at a login screen, you'd end up in the last logged in user's session.

[–] drwho@beehaw.org 5 points 8 months ago

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:

Section "ServerFlags"
        Option "DontZap" "false"
EndSection

Section "InputClass"
        Identifier                       "Keyboard Defaults"
        MatchIsKeyboard        "yes"
        Option                           "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

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.

[–] Deckweiss@lemmy.world 4 points 8 months ago (1 children)

Additionally, it terminated all gui processes. Which the windows shortcut mentioned in the question doesn't.

[–] rotopenguin@infosec.pub 6 points 8 months ago

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.

[–] AnUnusualRelic@lemmy.world 2 points 8 months ago

That doesn't restart anything. That kills the X11 server.

It may or may not restart depending on system settings.

[–] ReversalHatchery@beehaw.org 2 points 8 months ago

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.

[–] possiblylinux127@lemmy.zip 2 points 8 months ago* (last edited 8 months ago) (1 children)

That doesn't work for Wayland and I'm unsure which one Zorin uses

[–] flork@lemy.lol 2 points 8 months ago

It uses Wayland

[–] taladar@sh.itjust.works 1 points 8 months ago

That is just the key to kill the X server. It does not restart anything.

[–] HubertManne@kbin.social 1 points 8 months ago

I was thinking of that when I read this and was like. windows has something like this???