Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Arch and am having problems with the auto login options within slim.conf. I have installed the following X packages:

xorg-twm, xterm
and for the graphics: xf86-video-fbdev

I have also added a user and password, and altered the sudoers file to suit. I have changed the following lines:

# default_user simone
# auto_login no


default_user jon
auto_login yes

I have managed to get the slim login prompt to appear on boot by editing /etc/inittab, but the changes made for bypassing this have not been as successful.

Anybody know what I have missed? Maybe something to do with adding a user to some group?

share|improve this question
could you please add your .xinitrc? – Momo Aug 3 '12 at 10:14

default_user and auto_login looks fine, but how does your login_cmd look? Does this work for you?

login_cmd           exec /bin/bash -login ~/.xinitrc %session

(with an appropriate ~/.xinitrc in place, that is also "chmod +x"-ed)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.