LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2008, 07:53 PM   #1
varange
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Rep: Reputation: 0
rdesktop USB redirect


Is there any way to redirect a USB port on a local machine to and RDP connection with rdesktop to a Windows terminal server?
 
Old 03-24-2008, 08:20 PM   #2
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
It depends on what you mean by 'redirect'. If you mean using the new features of RDP 6 (in Vista for example) for transparent use of devices like usb cameras, scanners, printers etc, then no, rdesktop (and afaik no other linux rdp client) cannot do what you want. I'd have thought that sometime in the future it'll become available, but since it's only recently been added to the RDP protocol, the rdesktop developers will take a while to catch up.

However, if you're just wanting to mount a usb stick, then you can forward that to a server, and it'll appear as a network drive. But I'd have thought 'hotplugging' the device will be problematic to say the least.

Last edited by beadyallen; 03-24-2008 at 08:21 PM.
 
Old 03-24-2008, 08:48 PM   #3
varange
LQ Newbie
 
Registered: Oct 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for that.

So how do people solve the problem of users wanting to transfer stuff from their USB sticks to their desktops?
 
Old 03-24-2008, 10:02 PM   #4
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
Quote:
So how do people solve the problem of users wanting to transfer stuff from their USB sticks to their desktops?
Well the only way I know of is to do something like:
Code:
rdesktop -u username -disk:usb=/mnt/usb <servername:port>
The command line above exports the directory /mnt/usb on the client which shows up on the remote desktop as a mapped network drive named 'usb'. If you have the usb automount on the client, and then export that directory, you should get close to what you want.

Good luck.
 
Old 09-24-2014, 03:01 AM   #5
Zrogh
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
I know, this post is old. But it's the first I found when I searched "rdesktop usb" and it contains an error.

Quote:
Originally Posted by beadyallen View Post
Well the only way I know of is to do something like:
Code:
rdesktop -u username -disk:usb=/mnt/usb <servername:port>
Code:
$ man rdesktop
       (...)
       -r disk:<sharename>=<path>,...
              Redirects a path to the share \\tsclient\<sharename> on the server (requires Windows XP or newer). 
              The share name is  limited to 8 characters.
       (...)
So, the right command is :
Code:
$ rdesktop -r disk:usb=<usb_path> server
For example :
Code:
$ rdesktop -u Zrogh -p 123456 -r disk:usb=/media/myusbkey/ 192.168.1.45 &
Cheers,
 
  


Reply

Tags
connect, rdesktop, rdp, server, terminal, usb, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rdesktop printer redirect okeyla Linux - Newbie 3 07-06-2009 06:54 PM
Help with rdesktop pccdrussell Linux - Software 2 12-10-2006 12:17 AM
Where's rdesktop? GuestFox Slackware 2 03-07-2005 09:32 PM
rdesktop cheyrou Linux - Software 4 07-28-2004 09:00 PM
rdesktop help please! biggyfries Linux - Networking 4 06-11-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration