[X2Go-User] copy/paste issues

Norm Green norm.green at gemtalksystems.com
Wed Aug 19 19:43:52 CEST 2020


Hi Uli,

Copy from Windows and paste into x2go just stopped working (the opposite 
direction still works).  Here's the dump from the session log:


Xlib: unexpected async reply (sequence 0x8165dd07)!
/----- Clipboard internal status -----
   current time                    (Time) [130983810]
   agentClipboardInitialized       (Bool) [True]
   clientAccum                      (int) [0]
   nxagentMaxSelections             (int) [2]
   NumCurrentSelections             (int) [9]
   serverWindow                  (Window) [0x2004dd]
   nxagentLastClipboardClient       (int) [3]
   Clipboard mode                         [Both]
lastServer
   lastServerRequestor           (Window) [0x0]
   lastServerProperty              (Atom) [ 327][CYGX_CUT_BUFFER]
   lastServerTarget                (Atom) [ 241][UTF8_STRING]
   lastServerTime                  (Time) [0]
lastClient
   lastClientWindowPtr        (WindowPtr) [0x55773a7784a0] ([0x1c000ae])
   lastClientClientPtr        (ClientPtr) [14] (addr [0x55773a70d790] 
PID [29724] Cmd [/usr/bin/emacs25])
   lastClientRequestor           (Window) [0x1c000ae]
   lastClientProperty              (Atom) [ 434][_EMACS_TMP_]
   lastClientSelection             (Atom) [  79][CLIPBOARD]
   lastClientTarget                (Atom) [ 81][UTF8_STRING]
   lastClientTime                  (Time) [130972951] ([10859]ms ago)
   lastClientReqTime               (Time) [130972958] ([10852]ms ago)
   lastClientPropertySize (unsigned long) [262144]
   lastClientStage (ClientSelectionStage) [4][WaitData]
PRIMARY
   owner is inside nxagent?               no
   lastSelectionOwner[].client            (null)
   lastSelectionOwner[].window            [0x0]
   lastSelectionOwner[].windowPtr         -
   lastSelectionOwner[].lastTimeChanged   [130970930]
   lastSelectionOwner[].selection         [   1][PRIMARY] (remote X server)
   CurrentSelections[].client             [(nil)] index [-1] PID [-1] 
Cmd [(null)]
   CurrentSelections[].window             [0xf5]
CLIPBOARD
   owner is inside nxagent?               no
   lastSelectionOwner[].client            (null)
   lastSelectionOwner[].window            [0x0]
   lastSelectionOwner[].windowPtr         -
   lastSelectionOwner[].lastTimeChanged   [130970930]
   lastSelectionOwner[].selection         [ 326][CLIPBOARD] (remote X 
server)
   CurrentSelections[].client             [(nil)] index [-1] PID [-1] 
Cmd [(null)]
   CurrentSelections[].window             [0xf5]
Atoms (remote X server)
   serverTARGETS                          [ 329][TARGETS]
   serverTIMESTAMP                        [ 338][TIMESTAMP]
  serverTEXT                             [ 335][TEXT]
   serverCOMPOUND_TEXT                    [ 328][COMPOUND_TEXT]
   serverUTF8_STRING                      [ 241][UTF8_STRING]
   serverTransToAgentProperty             [ 339][NX_CUT_BUFFER_SERVER]
   serverTransFromAgentProperty           [ 334][NX_SELTRANS_FROM_AGENT]
   serverLastRequestedSelection           [ 326][CLIPBOARD]
Atoms (inside nxagent)
   clientTARGETS                          [  75][TARGETS]
   clientTIMESTAMP                        [  80][TIMESTAMP]
   clientTEXT                             [  76][TEXT]
   clientCOMPOUND_TEXT                    [ 85][COMPOUND_TEXT]
   clientUTF8_STRING                      [ 81][UTF8_STRING]
   clientCLIPBOARD                        [  79][CLIPBOARD]
   clientCutProperty                      [ 261][NX_CUT_BUFFER_CLIENT]
\------------------------------------------------------------------------------


On 8/11/2020 10:29 AM, Ulrich Sibiller wrote:
> On Tue, Aug 11, 2020 at 5:19 PM Neal Becker <ndbecker2 at gmail.com> wrote:
>> I (still) have a strange problem with copy/paste on my setup.  When x2go client is active, copy/paste stops working locally (nevermind if it works between local and remote).
>>
>> Client is using kde, server is mate.
> sigh... Neverending story. This might be related to the internal
> clipboard manager in kde. As I don't know every kde version around
> please research how to disable that for your version.
>
> Do you have a strict procedure to trigger this behaviour?
>
> Does it start workin again when you suspend the session?
>
> Since nx-libs 3.5.99.24 we have a keystroke for dumping the clipboard
> state. Please check if it is active in /etc/x2go/keystrokes, look for
> line similar to this:
> <keystroke action="dump_clipboard" Control="1" Shift="1" AltMeta="1" key="c" />
>
> If not, add it. The either suspend/resume the session or press the
> "reread keystrokes" keystroke.
>
> When the situation happens again please press the configured keystroke
> and send me the server side log ~/.x2go/.../session.log. There's no
> clipboard content in the log but you can double check if in doubt ;-)
>
> Uli
> _______________________________________________
> x2go-user mailing list
> x2go-user at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user



More information about the x2go-user mailing list