# The classroom logs itself in, and logs itself back in. # # The old session started from ~/.bash_profile on an autologin getty, which # has one bad property: when the session ends for any reason, the teacher is # looking at a shell prompt on a machine that is supposed to have no # terminal. A display manager ends that. Relogin means the room comes # straight back to the classroom instead of to anything else. # # SDDM is never seen. There is one user, no password, and no chooser. [Autologin] User=classroom Session=plasma Relogin=true [General] DisplayServer=wayland # No user switching, no second session. InputMethod= [Users] # Wide enough to include a classroom account that was created after # another user. The first migrated room had uid 1001 and would not have # appeared in the greeter at all; autologin looks the name up directly and # still worked, but a room that ever falls back to the greeter must show # the account it is meant to log in as. MinimumUid=1000 MaximumUid=1999 HideShells=/usr/sbin/nologin,/bin/false