How can I copy/paste files via RDP in Kubuntu?
I recently installed the latest Kubuntu (x64) on my work machine as I am trying to migrate away from Windows. Unfortunately I use RDP very frequently to connect to customer's servers and need to be able to copy files across.
I have tried the following packages with no luck:
remmina rdesktop xfreerdp
My latest attempt to solve this involved connecting one of my folders to the remote server, here is the command I used to launch rdesktop:
rdesktop -5 -K -r disk:home=/home/dai -r clipboard:CLIPBOARD -r sound:off -x l -P 192.168.0.2 -u "administrator" -p pass
The servers are not all running the same version of Windows, the one I've been trying so far is running Server 2003 R2. Customer servers range from Server 2000 to Server 2008.
I've been Googling this like mad but all the solutions I find seem to fail, maybe because almost all the help out there assumes that I'm running Gnome.
Sorry if this is a stupid question.
Thanks in advance for your help.
Edit: Copying and pasting text seems to work just fine, but that's not what I need.
https://gitlab.com/Remmina/Remmina/issues/243 says that shares show up using Remmina when you also enable sound redirection. To recap, here is what you have to do:
- Create a Remmina RDP connection to the windows machine
- Edit that connection.
- Under the Basic tab Choose a share folder
- In Advanced tab, change sound to local. Save it and connect
Then the shared folder appears in My computer in windows.
(If it does not appear, trying clicking Refresh).
Works also with `rdesktop -r sound:local -r disk:nameOnHost=/home/user/windows` (does not work with `~`)
just to add you have to goto folder properties and click Local Network Share and click checkbox and allow sharing that only it will appear in windows RDP
What an answer.. Choose a share folder? Where? In Ubuntu? In Remmina? Where in Remmina? I'm surprised this answer has so many upvotes.
@KarlMorrison 1. Create a Remmina RDP Connection (should be obvious what it means). 2. While you're at it, *choose* a shared folder. If you look around your chances of finding this option will increase by a factor of 10. 3. In advanced tab, change sound to local.. Pretty self explanatory. Which part is confusing?
-r comport:<comport>=<device>,...Redirects serial devices on your client to the server. Note that if you need to change any settings on the serial device(s), do so with an appropriate tool before starting rdesktop. In most OSes you would use stty. Bidirectional/Read support requires Windows XP or newer. In Windows 2000 it will create a port, but it's not seamless, most shell programs will not work with it.
-r disk:<sharename>=<path>,...Redirects a path to the share \tsclient\ on the server (requires Windows XP or newer). The share name is limited to 8 characters.
Thus, something like this should work:
rdesktop -r disk:sharename=/home/dai -P 192.168.0.2
Ah, it appears that Windows doesn't show it in My Computer but I can navigate to it, thanks.
I don't suppose you know how to access the share using remmina? \\tsclient is empty even though a share is set. Remmina works better fullscreen than rdesktop so I'd rather use that.