Hello,
Please find the solution to the bug contained into XDM.
You recently wrote:
Looks like xdm is working just fine, but your session is exiting after
1s. Check out ~/.xsession-errors maybe? Closing as not our bug.
Cheers,
Julien
-------------------
The proposed solution is unfortunately not leading to any hints/clues of what is going on. ~/.xsession-errors contains normal lines.
However, a solution is as follows to solve the bug issue of xdm.
It is simply due to the fact that xdm stores into its configuration wrong inputs.
I have been tried all kind of ways, and in order to make xdm work again to overcome the bug, one must follow the following steps.
(1) You login as root, and you enter the following to rebuild the xdm:
On machine that have no kdm (problem between xdm and kdm), you must type (killall kdm) is not necessary.
(2) /etc/init.d/xdm stop; killall kdm; /etc/init.d/xdm start
Stopping X display manager: xdm.
kdm: no process found
Starting X display manager: xdm.
If you have had previously kdm, on the linux machine, you'd better kill kdm.
(3) it should now work
Alternatively: If for all the users that cannot login and that complain about your installation, you simply have to tell them that the xdm is reloaded/restarted and that they have to be patient. This bug issue will be fixed soon or later, and if it does not work again, they can type as user (not root):
cd ; rm .Xauthority
and this will solve the problem related to the xdm process.
This solution worked on 3 machines where this issue has been reported since some time. Maybe an upgrade (i.e. : apt-get update ; apt-get upgrade) ?
I hope that this solution will help some users using xdm to make it work and in order to solve this bug of xdm.
Best regards / Happy New Year.
Y.