Home > Linux Command Line, Windows > Linux rdesktop client disk device redirection

Linux rdesktop client disk device redirection


While using rdesktop to access a windows machine from linux we can specify device redirection(with -r command line option) for a local folder in linux machine. This makes a folder in linux client to be mounted as a share in windows machine, which can be viewed from windows “My Computer”.


The following example demonstrates the procedure to map a directory named “/home/u1” in linux machine to a share named “test” in windows.


[u1@TOO4]$ pwd
[u1@TOO4]$ rdesktop -r disk:test=/home/u1 -u user -p’pass’
Autoselected keyboard map en-us
WARNING: Remote desktop does not support colour depth 24; falling back to 16


The mounted share as viewed from inside the windows machine is shown in the image below,




This option could be used for easily transferring files between linux and windows machine.



  1. RaceC
    August 15, 2013 at 12:51 am

    You save my day!

  2. Paulo Henrique Alves
    October 22, 2013 at 12:39 pm


  3. Shanker
    December 27, 2016 at 7:16 am


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: