OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: regular user can't login in with xdm

From: Jim Razmus (jimbonetruck.org)
Date: Wed Aug 01 2007 - 12:09:03 CDT


* ambrosehuang ambrose <ambrosehuagmail.com> [070801 09:53]:
> Hello, guys, When I finished installing the OpenBSD 4.1 on my thinkpad
> T43, I changed the "xdm_config="NO" to "xdm_config="" " in the
> /etc/rc.conf.local, but as a regular user I can't login in with xdm ,
> it said "incorrect login" on the login window of xdm ; as root I can
> login , but I can get my shell profile /root/.bash_profile used (
> the PS1 variable I set in the .bash_profile didn't take effect). I
> search the maillist archive , and find similar problem in OpenBSD 2.8,
> but no answer. Does anyone know how to solve this problem ?
>

Turn off xdm. Boot the machine and try logging in as the user in
question. If that works, try running startx next.

These steps may yeild some more illuminating information to help you
diagnose the problem.

Jim