Disable Auto-login on bazzite-deck
I really like the bazzite-deck gamemode, because the Steam Overlay is more reliable and it just seems to work better than using Steam on the Desktop.
I want to use my computer as my daily driver with a lock screen and only access game mode when I want to play games.
From what I understand, to do this, I need to somehow disable auto-login, but I cannot seem to figure out how to do this. Is this a good idea? If so, how would I accomplish this?
13 Replies
you can run
ujust _toggle-autologin
for to log into desktop mode first. But note that this is NOT recommended. This is because, every reboot, it will log you straight into desktop mode. No password prompt or anything, so this is very bad for security
you can enable a lockscreen via the Screen Locking
settings in deskop mode, but this will only lock the screen when you suspend-resume. it will NOT lock the device on reboot^ very easy to break your system with this
I run a cursed/very-not-recommended setup where I enabled disk encryption + password with
_toggle-autologin
, so on reboot it will always prompt my disk encryption password. this is highly not recommended and non-standard, I'm only doing it for experimentation.the other way is with a custom image and disable the autologin service and remove the autologin config for sddm
but we cannot guarantee this will work in the future for the deck image so you will be doing this on your own risk
correct me if i'm wrong, but couldn't a user also run regular bazzite, enable kyle's relevant coprs, and rpm-ostree gamescope-session, etc?
then you can just choose the session on sddm
still not recommended, but it's the more proper way to run the setup?
true but its easier to just base an image from the deck image and remove 2 files
https://github.com/HikariKnight/Deckstation/blob/main/config/scripts/sddm/disable-sddm.sh
must been late for me to have named the script
disable-sddm.sh
should been disable-autologin.sh
🙃GitHub
Deckstation/config/scripts/sddm/disable-sddm.sh at main · HikariKni...
A personal development and test build of Bazzite-deck with Qemu and SDDM enabled - HikariKnight/Deckstation
but this is my own testing grounds image, it is not for others to use
this would require a custom image, right? since it's in /usr/etc
or could a workaround similar to this work to make it rw? https://github.com/ublue-os/bazzite/blob/main/system_files/deck/shared/usr/lib/systemd/system/pipewire-workaround.service
custom image
if you remove the file from
/etc
it is placed back on next boot because it is missingI think I’ll try creating my own custom image. i’ve never done it so i have some learning to do, but it seems interesting. i also always layer nextcloud.
thank you so much
for custom images, this might prove to be useful
https://blue-build.org/
BlueBuild
The easiest way to build your own desktop Linux images.
The BlueBuild project creates accessible tools for you to create, configure & build custom images of atomic Fedora distributions.
i forgot to scroll