Ubuntu

Cannot cut and paste from Ubuntu Gutsy and Edgy to Windows (of any version)

Reported by Mike McKee on 2007-12-12
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rdesktop
Unknown
Unknown
rdesktop (Debian)
New
Unknown
rdesktop (Ubuntu)
Low
Unassigned

Bug Description

If I boot up a fresh Windows workstation and connect to it from Ubuntu with Rdesktop (Ubuntu Edgy or Gutsy versions), it works for the first cut and paste from Ubuntu to Windows, and vice-versa. But after that, it stops working. If I reboot the Ubuntu workstation, it works again, but then fails after the first time. This is happening at home on my Edgy workstation, and at the office on Gutsy. Once it occurs, it prevents cut and paste to/from multiple versions of Windows -- Windows XP, Windows 2000 Server, Windows 2000 Advanced Server, and Windows 2003 Enterprise Server.

There is a registered bug (1198945) at sourceforge about a clipboard
problem. It doesn't mention anything about full-screen mode, so I
decided to register a new bug. The request is:

Project: rdesktop
Request ID: 1336997
Summary: Copy/paste doesn't work in fullscreen
Open Date: 2005-10-25 06:40
Priority: 5
Assigned To: nobody
Submitted By: tomfa

Clipboard functionality (copy/paste between the RDP
session and X) works ok in default - windowed mode.

In full-screen mode (e.g. rdesktop -f <server>) it doesn't.

This bug was reported in Debian by Robert Trebula. The
report can be found at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=335544

--
Tomas Fasth <email address hidden>
GnuPG Fingerprint: DC7B 9453 7F26 1BF9 6B21 9F90 C187 7355 9FE8 D504

Mike McKee (reach-supermike) wrote :

If I boot up a fresh Windows workstation and connect to it from Ubuntu with Rdesktop (Ubuntu Edgy or Gutsy versions), it works for the first cut and paste from Ubuntu to Windows, and vice-versa. But after that, it stops working. If I reboot the Ubuntu workstation, it works again, but then fails after the first time. This is happening at home on my Edgy workstation, and at the office on Gutsy. Once it occurs, it prevents cut and paste to/from multiple versions of Windows -- Windows XP, Windows 2000 Server, Windows 2000 Advanced Server, and Windows 2003 Enterprise Server.

MountainX (dave-mountain) wrote :

I can confirm this in Gutsy

toobuntu (toobuntu) wrote :

are you using -5 in your rdesktop command line in order to force RDPv5? that seems to fix this issue for most people.

John Taylor (jtresponse) wrote :

I also have a similar problem in Gutsy.

I cannot get copy/paste to work at all.

It used to work fine until the recent rdesktop update. ( 1.5.0-2ubuntu0.1)

I have tried -5, but this does not make any difference.
(I think version 5 is the default now anyway)

On 20:59, Tomas Fasth wrote:
> There is a registered bug (1198945) at sourceforge about a clipboard
> problem. It doesn't mention anything about full-screen mode, so I
> decided to register a new bug. The request is:

[snip]

Maybe it's just a ("the") RDP-Server-clipboard-problem:

[1] http://brennan.offwhite.net/blog/2007/01/18/fixing-copypaste-for-remote-desktop-sessions/

Quote:
 - Use Task Manager to kill the rdpclip.exe process
 - Run rdpclip.exe to restart it

HTH && HAND,
 - Darsha

Darshaka Pathirana (dpat) wrote :

Crossreference to Debian-Bug# 335544:

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=335544

Maybe this copy/paste problem is the same.

Quote:

 - Use Task Manager to kill the rdpclip.exe process
 - Run rdpclip.exe to restart it

Szymon Życiński (zycinski) wrote :

Confirmed, i'm using rdp 5 and have to send files through maped local drives. C&P does not work completly.

Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in rdesktop:
status: New → Incomplete
kLAcK (rlayton) wrote :

I have been able to reproduce this in 8.10

Killing rdpclip.exe and restartign it solves the problem.

I don't think this an issue with just rdpclip.exe. I have been using remote desktop for years on xp and then vista. I have only encountered this problem recently switching to ubuntu (yay for me!).

Changed in rdesktop:
importance: Undecided → Low
status: Incomplete → Triaged
Aaron C. de Bruyn (darkpixel) wrote :

I am unable to copy and paste in rdesktop when I use full-screen mode (-f) .
When I am in windowed mode, copy and paste seems to work most of the time. When it fails, killing rdpclip.exe and restarting it fixes the issue. This is on 8.04, 8.10, and 9.04 (alpha)

Changed in rdesktop:
status: Unknown → New
Hannes Koller (hannes-koller) wrote :

Kubuntu 9.10 , Windows Server 2003.

After rdesktop login to Windows Machine copy and paste is completely broken: I am unable to use copy and paste to paste between linux and windows, and I am ALSO unable to use copy and paste inside the remote machine at all (eg. copy a file in windows explorer).

Killing rdpclip.exe fixes the copy and paste issues on the Windows machine (can use copy and paste inside Windows, for example to copy a file in the windows explorer). However when I restart rdpclip.exe everything is broken again.

--> There is currently no way to copy and paste anything between Linux and the Windows remote host (apart from mapped local drives)

psypher (psypher246) wrote :

Please can the importance of this bug be raised, it's a pretty default function of a desktop be able to copy and paste. Being stuck on a windows network, like many I would assume, and having no choice in using Outlook and Internet Explorer for corporate apps I need to be able to cut and paste around 50 items a day between by terminal and the remote desktop. I also have no admin access to the TS box to kill rdpclip.exe. This is an extremely annoying bug and needs some attention. This bug was logged TWO YEARS ago?

Hi Psypher,

The importance of the bug is set according to the guidelines found here: https://wiki.ubuntu.com/Bugs/Importance

As such, it is set to Low because it is "A bug that has a moderate impact on a non-core application"

Also, rdesktop is not a package that is written by Ubuntu developers, instead it is written and maintained by the good people at http://sourceforge.net/projects/rdesktop/

As you can see from the top of the Launchpad bug page, this bug is linked to an upstream bug where the developers of rdesktop will actually see comments. That URL is: http://sourceforge.net/tracker/index.php?func=detail&aid=1336997&group_id=24366&atid=381347

Again, that last URL is where the actual developers of the project will see your comments.

All the best,

Greg

FWIW I was able to install rdesktop 1.6 onto my 9.10 installation and all C+P issues have been resolved

http://sourceforge.net/projects/rdesktop/files/rdesktop/1.6.0/rdesktop-1.6.0.tar.gz/download

skrisman (ssandboxx) wrote :

On a fresh install 10.04 this problem still exists. I have tried with the options -5 and -r clipboard. To test this, open a file in nautilus, press ctrl-c, then go to a new rdesktop windows explorer window, right click and the paste option is disallowed.

Alberto Jovito (thedemon007) wrote :

check this: rdesktop -r clipboard:PRIMARYCLIPBOARD remote.com

or maybe services off in windows: http://cutecomputer.wordpress.com/2007/01/03/howto-copy-paste-between-local-and-remote-desktop/

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.