You can sign up to get a daily email of our articles, see the Mailing List page.
Is there a way to add (and use) new desktop/kde user ?
Brunhylde 27 Jul
Hello Linux lovers !

I would like to know if there is a way to log in desktop/kde with another user than the default user named "deck".

I can already create a new user with useradd command or kde panel configuration, either way.

But I don't know how to log in this new user in graphical mode (kde). I can connect it in the terminal (su new_user). How can I log out "deck" user from kde then log in with another user ?

P.S. : I'm a regular linux user so i can do basic linux stuff (cli command, vi editor, systemctl usage ...)

Thanks !
MiZoG 28 Jul
At login screen you can scroll (horizontally) through registered users using the left and right arrows next to your user avatar. That's the way on vanilla KDE 5.20.5 on Debian Bullseye. Other distros may have their custom login screens.
Brunhylde 29 Jul
Hi,

Thanks for answering, but, my concern is specific to SteamOS 3 on Steam Deck device. I should have explicit this on my first post. Sorry about that.
mr-victory 30 Jul
1.
Quoting: BrunhyldeI can already create a new user
Don't. There is some stuff oriented around the "deck" user. I can't even understand how you created a new user since the filesystem is read only.
2. Probably autologin is enabled.
https://wiki.archlinux.org/title/SDDM#Autologin
3. Prepare to redo entire setup process.

Last edited by mr-victory on 30 July 2022 at 3:02 pm UTC
Brunhylde 4 days ago
Hi,

The /home section is not read-only (it must be a place to save your personal data). I just define a password for "deck" user to access sudo command and type in "sudo useradd new_user". So, there is no need to disable the read-only protection to add a new user.

From the Steam Deck Faq :

QuoteHow do I run sudo commands?

The default deck user is shipped with no password. This is a secure setting that prevents access via ssh, and can't be used to run commands via sudo.

If you’d like to set a password in order to run sudo commands, open a terminal window and set a secure password using the passwd command. At that point you will be able to use sudo anywhere elevation is required.

Anyway, I think your right, "There is some stuff oriented around the "deck" user", so I prefer don't change anything by myself for now. I hoped someone more skilled than I am found a secure way to disable autologin or just change the user auto-logged (I guess in /etc/sddm.conf.d/autologin.conf).

Last edited by Brunhylde on 3 August 2022 at 12:48 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.