Sometimes when I try to use rdesktop from my ubuntu 10.04 system to log into windows XP (sp2) it fails and leaves the windows system impossible to be logged into.

Even when I go back to the windows computer, when I try to log in as the user that has programs running, or trying to start a new user session, the screen says "loading your personal settings", but then after a second it returns to the login page showing all the users.  I have been able to ssh into the windows computer, but cant get back to the desktop until I restart the computer.

Is there anyway to troubleshoot why this happens?  Perhaps something I can check or execute while I am using ssh?