Is it possible to enable the Magic SysRq Keys on Bazzite?

I recently experienced a full freeze of the OS (not even the mouse would move) and tried to use alt+printscreen+REISUB to get it to reboot. This did not work and it seems like the shortcuts don't work on Bazzite. Is there a way to get these shortcuts back in case a freeze occurs again?
12 Replies
皇家海星
皇家海星5w ago
ctrl+alt+F2/3/4 switch ttls only works if the compositor crashed though, but most of the time you get a freeze like that its probably the compositor ujust get-logs to get logs, see what caused the crash
FluoridZahnpasta
FluoridZahnpastaOP5w ago
Is it possible to see earlier logs? I went out and thus I can't view the logs of the session that crashed via that command anymore
皇家海星
皇家海星5w ago
yes
皇家海星
皇家海星5w ago
No description
皇家海星
皇家海星5w ago
sudo journalctl --no-hostname -b -x increase x until you find it 0 is current, -1 is last, -2 is the one before last, etc
antheas
antheas5w ago
Yes, you can enable it with sysctl before the crash I'd have to grab the command But reisub will disable file sync so you will lose the logs The last few seconds
FluoridZahnpasta
FluoridZahnpastaOP5w ago
This is fine as long as crashes are as rare as they currently are, I'm just looking for a safe way to reboot in case it freezes i didn't think of switching ttls, that would work too
皇家海星
皇家海星5w ago
if you can get into another tty you can see the logs immediately and probably systemctl reboot
FluoridZahnpasta
FluoridZahnpastaOP5w ago
yeah that's what i'll be doing if I can't figure out how to enable the magic keys
皇家海星
皇家海星5w ago
just remember to memorize the username
FluoridZahnpasta
FluoridZahnpastaOP5w ago
that I can manage
mrvictorywin (Ping on reply)
S in reisub is "sync"

Did you find this page helpful?