Configure postmarketOS for multiple UIs or users

When installing postmarketOS, you get exactly one User Interface, and a single-user system. This article explains how to modify such an installation to start a display manager with a greeter on boot, where it is possible to choose between multiple UIs (and possibly multiple users if supported by the greeter).

Install a second UI
Install a  package (find them in the main dir of pmaports.git). You probably also want everything listed in  of the , these are the packages pmbootstrap installs in addition to the UI package (but they are not depends of the UI package, so the user can uninstall them). As of writing, for Plasma Mobile:

Change tinydm session
For Wayland sessions

For X11 sessions

Add a user for SXMO postmarketOS
Add user, set a password, add to groups, copy configs over. Replace myuser with your username, mypassword with your password. Check your user ID and edit a file. Upon reboot it should login with your new user. In my case I had to change 10000 to 10001 in the last line of /etc/conf.d/tinydm. If you forget to add yourself to groups, sxmo won't start.

You can delete the default account with its homedir using

Related

 * : ui paсkage conflicts
 * : main/postmarketos-ui-phosh: re-enable autologin (with reasoning why we don't want a greeter by default)
 * : feedbackd: Configure haptic feedback per device