performing a remote shutdown and login from linux to windows

view full story

http://serverfault.com – Here is a situation I am on a Linux machine and I have to access a windows xp machine to which I can connect with rdesktop.The problem is Windows XP machine is remotely located and to be able to do a rdesktop I first physically go to the windows machine and login, I come back to my chair open the terminal on my linux machine and do an rdesktop, then windows property dialog opens and asks to disconnect other user then I can login.If I do a remote restart of the windows machine as per instructions here http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs... (HowTos)