3
votes
2answers
262 views

Most minimalistic way to switch users in X session

If I want a minimalistic login I can use something like this in my .zprofile: if [ $(tty) = "/dev/tty1" ]; then startx fi However doing this way I cannot switch users on the fly anymore. I.e. lock ...