tdm/tde has a lower update-alternatives priority than xdm/icewm? Check with update-alternatives tool ...