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

How to autologin a specified user with xdm?

I know it's possible with other display managers but I wasn't able to figure out how xdm has to be configured to autologin a certain user.

Is it possible? Or should I rather remove xdm and simply use an initscript with startx?

share|improve this question
up vote 2 down vote accepted

I haven't used xdm in a long while but as far as I know autologin is not supported by xdm (and, as per one of the devs, not needed).

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.