[X2Go-User] clipboard stopped working (again)

Ulrich Sibiller uli42 at gmx.de
Wed Oct 28 22:36:53 CET 2020


On Wed, Oct 28, 2020 at 10:27 PM Ulrich Sibiller <uli42 at gmx.de> wrote:
>
> Hi Norm,
>
> please try the current clipboard development tree:
> https://github.com/uli42/nx-libs/tree/pr/many_clipboard_fixes
>
> Or this one, which has less fixes than the one above but has been
> tested more: https://github.com/uli42/nx-libs/tree/pr/clipboard_gathering2020

Clicked "Send" too quickly: You can also disable primary being mapped
to windows clipboard in  vcxsrv settings. There are two options doing
the same, I suggest to add them both (@Stefan: which one did you test
and suggest to your customers?):

-[no]clipboardprimary
[Do not] map the PRIMARY selection to the windows clipboard.
The CLIPBOARD selection is always mapped if -clipboard is enabled.
Default is mapped.

-[no]primary
When clipboard integration is enabled, map the X11 PRIMARY selection
to the Windows clipboard. Default is enabled.

(from https://gist.github.com/ctaggart/68ead4d0d942b240061086f4ba587f5f)

Uli



>
> Uli
>
> On Wed, Oct 28, 2020 at 10:09 PM Norm Green
> <norm.green at gemtalksystems.com> wrote:
> >
> > Copying from Windows (Thunderbird), attempting to paste into Linux x2go
> > session (xemacs).
> >
> > Here's the clipboard status dump:
> >
> > /----- Clipboard internal status -----
> >    current time                    (Time) [1896297037]
> >    agentClipboardInitialized       (Bool) [True]
> >    clientAccum                      (int) [0]
> >    nxagentMaxSelections             (int) [2]
> >    NumCurrentSelections             (int) [9]
> >    serverWindow                  (Window) [0x20064b]
> >    nxagentLastClipboardClient       (int) [-1]
> >    Clipboard mode                         [Both]
> > lastServer
> >    lastServerRequestor           (Window) [0x0]
> >    lastServerProperty              (Atom) [ 334][NX_CUT_BUFFER_SERVER]
> >    lastServerTarget                (Atom) [ 241][UTF8_STRING]
> >    lastServerTime                  (Time) [1896157976]
> > lastClient
> >    lastClientWindowPtr        (WindowPtr) -
> >    lastClientClientPtr        (ClientPtr) (null)
> >    lastClientRequestor           (Window) [0x0]
> >    lastClientProperty              (Atom) [   0][(null)]
> >    lastClientSelection             (Atom) [   0][(null)]
> >    lastClientTarget                (Atom) [   0][(null)]
> >    lastClientTime                  (Time) [0]
> >    lastClientReqTime               (Time) [0]
> >    lastClientPropertySize (unsigned long) [0]
> >    lastClientStage (ClientSelectionStage) [0][None]
> > PRIMARY
> >    owner is inside nxagent?               yes
> >    lastSelectionOwner[].client            [17] (addr [0x55ca7a3b7460]
> > PID [22152] Cmd [xfce4-terminal])
> >    lastSelectionOwner[].window            [0x2200495]
> >    lastSelectionOwner[].windowPtr         [0x55ca7b717720] ([0x2200495]
> >    lastSelectionOwner[].lastTimeChanged   [1896275867]
> >    lastSelectionOwner[].selection         [   1][PRIMARY] (inside nxagent)
> >    CurrentSelections[].client             [0x55ca7a3b7460] index [17]
> > PID [22152] Cmd [xfce4-terminal]
> >    CurrentSelections[].window             [0x2200495]
> > CLIPBOARD
> >    owner is inside nxagent?               yes
> >    lastSelectionOwner[].client            [17] (addr [0x55ca7a3b7460]
> > PID [22152] Cmd [xfce4-terminal])
> >    lastSelectionOwner[].window            [0x2200495]
> >    lastSelectionOwner[].windowPtr         [0x55ca7b717720] ([0x2200495]
> >    lastSelectionOwner[].lastTimeChanged   [1896275869]
> >    lastSelectionOwner[].selection         [ 326][CLIPBOARD] (inside nxagent)
> >    CurrentSelections[].client             [0x55ca7a3b7460] index [17]
> > PID [22152] Cmd [xfce4-terminal]
> >    CurrentSelections[].window             [0x2200495]
> > 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           [   1][PRIMARY]
> > 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]
> > \------------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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