You say this machine is headless. Is it at a remote location? If not, is it feasible to connect it to a monitor an keyboard for a few minutes? If so then you could logout, switch DE, and then log back in. That would hopefully set the DE you prefer as user default.
If that’s not possible, then some of the solutions discussed here might be applicable.
But isn’t that every linux forum?