Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-24-2008, 07:53 PM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 12
Rep:
|
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?
|
|
|
03-24-2008, 08:20 PM
|
#2
|
Member
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209
Rep:
|
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.
|
|
|
03-24-2008, 08:48 PM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 12
Original Poster
Rep:
|
Thanks for that.
So how do people solve the problem of users wanting to transfer stuff from their USB sticks to their desktops?
|
|
|
03-24-2008, 10:02 PM
|
#4
|
Member
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209
Rep:
|
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.
|
|
|
09-24-2014, 03:01 AM
|
#5
|
LQ Newbie
Registered: Sep 2014
Posts: 1
Rep:
|
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
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,
|
|
|
All times are GMT -5. The time now is 05:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|