How do I connect to a Windows XP/2003 machine from Linux?
Purpose
To remotely control a Windows XP or Windows Server from a Linux workstation.
Prerequisities
There are a few things you'll need to have configured or installed to make this work:
- Windows XP: You'll need to add your account to the Remote Desktop users group. Right-click "My Computer", choose Properties from the contextual menu. Click the Remote Desktop tab and add yourself to the Remote Desktop users area. Also make sure that Remote Desktop Access is checked to be on. You'll likely need Administrator rights to do both these things.
- From outside the LAWR network, you'll need to talk to LAWR IT and ask about opening an RDP port to that machine through the firewall. We cannot do it without permission from your PI so please have an email from them first.
- Linux needs to have rdesktop and/or grdesktop installed. Using apt-get from Ubuntu:
apt-get install rdesktop
apt-get install grdesktop
Step by step
The command to run rdesktop contains the IP address or Fully Qualified Domain Name (FQDN) of the Windows computer.
rdesktop -g 1152x864 -r clipboard:CLIPBOARD 169.237.34.1 &
grdesktop is a graphical client for doing this.