x11/xdm should have x11/xsm (X Session Manager) in its dependency list as without a session manager x11/xdm fails to start a new session and keeps showing the login dialog.
Installing x11/xsm solves the problem.
I am unsure if this fix is right or not. I will have to look into it.
As far as I can tell, this dependency isn't documented anywhere, and does not exist in any of the linux distros I checked. In some cases, it isn't even packaged. I believe xdm in itself can take care of session handling.
I don't think this is a bug.
Yeah, I guess it could be something that the reporter has in their .xsession or .xinitrc. I am able to login via xdm into my kde session without having xsm installed.
(In reply to Andriy Gapon from comment #4)
> Yeah, I guess it could be something that the reporter has in their .xsession
> or .xinitrc. I am able to login via xdm into my kde session without having
> xsm installed.
Hijacking this thread a bit, since you are an xdm user, any chance you can take https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorglibs/x11/xdm for a spin? It's an update of x11/xdm to 1.1.12. I can create a more convenient patch if you like.
I am starting "old fashioned" with startx (fvwm-crystal).