Linux.com

Home Linux Community Community Blogs Desktops Remote desktop single command execution

Remote desktop single command execution

On RDP protocol v5 and above you can open a remote windows session and open a single program only instead having the whole desktop up, it sounds like Metaframe but cheaper, I mostly use it from my Linux workstation for opening win programs on the server (business accounting apps or legacy win apps).
You need to have rdesktop installed in your system, each distro has its own names for this package

quick command from your linux desktop:

~$ rdesktop -u -p -d -g 1280x1024 -T "" -k it -s "notepad.exe" &

We're now opening notepad on remote machine and using it on local Linux desktop, I've just setup my resolution to 1280x1024 but of course you can change it to whatever you want

You'll have notepad opened on your desk ,when you close it rdesktop closes it by itself, this applies to windows servers with RDP 5 (example: win 2003 server or above)

 

Comments welcomed

Ben

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details
  2. LFS520 OpenStack Cloud Architecture and Deployment
    08 Sep » 11 Sep - Virtual
    Details
  3. LFD320 Linux Kernel Internals and Debugging
    15 Sep » 19 Sep - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board