2013/8/10 Darrell Anderson <darrella@hushmail.com>
>I am unable to login through TDM when the account uses IceWM. I
>can
>login with KDM (4.10.2) using IceWM. This seems to affect all
>accounts.
>
>No problems with IceWM when logging in from the command line and
>startx.
>
>No problems using TDM with other window managers or desktops, such
>
>as Xfce or Fluxbox.
>
>Anybody else experience this or confirm?

I see the following in the xsession-error log:

/usr/bin/icewm-session: /usr/bin/icewm-session: cannot execute
binary file

The file is chmod 755 and works fine from startx.

I get a similar error message when trying to use twm:

/usr/bin/twm: /usr/bin/twm: cannot execute binary file

The problem affects root as well as non-root accounts.

Darrell

[just a suggestion] Take a look at ${TDEDIR}/share/config/tdm/Xsession and /etc/X11/Xsession (it's called by the first one by default) scripts.
I had to patch the first one because gentoo doesn't provides the second one.

Both sessions work fine for me...