My connection is very fast: 150Mb up/down fiber optic, hardwired to my PC (no wifi). I do not see clipboard delays. Clipboard either works perfectly or stops working one or both directions.

On 8/20/2020 1:08 AM, Ulrich Sibiller wrote:
On Wed, Aug 19, 2020 at 7:43 PM Norm Green
<[email protected]> wrote:
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]
Hmm, we had the same value here in your previous dump. So it looks
like you somehow managed to trigger a code path where this does not
get reset. Or some message is not reaching the nxagent so it never
gets over this stage. Somehow we need to detect this situation and do
the stage reset without the expected message after some timeout.
Hmm...

There are already some timeout in the code, most of them are 5s. So if
your connection is really slow these might trigger. Do you have a slow
connection? Do you see delays in clipboard operations?

As a further measure I suggest you compile an own version of nxagent.
If want to do that please let me know. I'll give you some instructions
how to change the code to get more information in the log.

Uli

_______________________________________________
x2go-user mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-user

Reply via email to