You are not logged in.
I found some guides for other distributions, but I am not able to make this thing work in Arch. Does anybody know what is the correct setting for automatic logon without display manager? :-)
I installed fgetty and tried to change the first line in /etc/innttab as follows:
x:5:respawn:/sbin/fgetty --autologin uzivatel tty1
But obviously it does not work :-)
Last edited by Behemot (2011-07-03 11:39:54)
Offline
have you searched the wiki?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I found some guides for other distributions, but I am not able to make this thing work in Arch. Does anybody know what is the correct setting for automatic logon without display manager? :-)
I installed fgetty and tried to change the first line in /etc/innttab as follows:
x:5:respawn:/sbin/fgetty --autologin uzivatel tty1
But obvisously it does not work :-)
--autologin only works with mingetty, not fgetty (this should be added to the wiki i guess).
ᶘ ᵒᴥᵒᶅ
Offline
Thats what I've been afraid of. Is there any sbustitution for --autologin working with fgetty?
Inxsible: I tried it, but it's not exactly what I want. If I understand it, this way it starts X directly, but I have taken care of this through .xinitrc with all the dbus and ck-launch-session stuff. I also removed password, so I just need to log in with username automatically which will cause to start XFCE4 and everything :-)
Offline
I'm not 100% sure what you mean, but if you put something like the following in your shell config file (bashrc, zshrc, etc.) you can have X start up as soon as you log in on tty1:
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
logout
fi
If you combine that with mingetty's autologin for tty1 in your inittab:
c1:2345:respawn:/sbin/mingetty --autologin yourusername tty1 linux
you'll boot right into XFCE4. No login required.
Edit: and of course you can use fgetty for your other ttys, if that's what you prefer.
Last edited by kinhodder (2011-06-28 21:10:17)
Offline
Awesome! I did not use mingetty first time because it was not in repository, but I forgot to have a look into AUR. Great. So now I have this up'n'running on my desktop machine here, will try at home later. Thanks!
Offline