I just booted my Raspberry Pi, and created a new user, nacht
.
Currently upon boot, I get a prompt logged in as pi
but I want to be logged in as nacht
. How do I change this setting?
Or should I simply rename the pi
user?
My OS is Raspian.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityopen up the file:
sudo vim /etc/lightdm/lightdm.conf
Change the following line to your username:
autologin-user=pi
sudo grep '/bin/login' /etc/inittab
(if it outputs anything)raspi-config
but would still like to know how to do it on a regular linux machine.sudo grep '/bin/login' /etc/inittab
gives nothing, but as i've said, i've fixed this now. it appears my machine uses getty instead?