I would like to settup my Raspberry Pi to auto login in a specific user. I googled this and the solutions that i found were about editing the /etc/inittab file. My problem is now i dont have that file, it appears to be missing in my version of Raspbian. Is there another way to do this?
I assume you're using the latest Raspian-Image (jessie). This one is based on Debian 8 (jessie) where the init-system changed from sysvinit to systemd. I think that it could have something to do with your problem. If you google: raspbian jessie auto login
you should find a solution for your problem.
p.e. this link provides a possible solution:
$ sudo -i
# mkdir -pv /etc/systemd/system/getty@tty1.service.d
# nano /etc/systemd/system/getty@tty1.service.d/autologin.conf
insert the following text:
[Service]
ExecStart=-/sbin/agetty --autologin $username --noclear I 38400 linux
make sure that $username
is your username
Then reboot.
optional:
If you want to start the X-Server automatically, just add the following line at the end of your ~/.profile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx