RDP Automation in Ubuntu
Open gnome-terminal from Applications, Accessories, Terminal Create a text file in your home directory, example "auto_rdp.sh" cd ~ nano auto_rdp.sh Copy and paste the following: #!/bin/bash echo 'Starting...' `date` rdesktop -u administrator -p your_password -s "cmd /k echo Hello World" & exit" 192.168.1.1 echo 'Finished...' `date` Modify 192.168.1.1 to the name or IP of the machine to connect to Change username and password to match an account that resides on the Windows computer (Warning, it's stored in clear text, using administrator is not recommended) CTRL + X, Y, ENTER, ENTER to save Make file executable with this command: chmod +x auto_rdp.sh Install gnome-schedule from Ubuntu Software Center: Applications, Ubuntu Software Center When prompted to enable universe repos, click Yes. Open gnome-schedule. Add ~ubuntu/auto_rdp.sh to command to run and set frequency to your liking (where ~ubuntu is your signon name. ...