X2Go Bug report logs - #1369
Keys do not release when using Emacs in X2GO Client

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Yan Zhang <kriszhyan@gmail.com>

Date: Mon, 28 Jan 2019 06:00:04 UTC

Severity: normal

Found in version 4.1.2.0

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Mon, 28 Jan 2019 06:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Yan Zhang <kriszhyan@gmail.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 28 Jan 2019 06:00:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Yan Zhang <kriszhyan@gmail.com>
To: submit@bugs.x2go.org
Subject: Keys do not release when using Emacs in X2GO Client
Date: Mon, 28 Jan 2019 13:56:23 +0800
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.1.2.0

I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows 10. My
server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.

The problem happens if I hit "ctrl+space" to start mark region in Emacs and
then press down "ctrl+n" to scroll down the region for a few seconds.
Usually after I release "ctrl+n", Emacs will leave the currently marked
region for further commands. But in the reported version of client, Emacs
keeps scrolling down until it reaches the end of the file. There is no way
to stop it within Emacs (e.g., "ctrl+g").

I have tried to move the cursor by keeping "ctrl+n" pressed down. This
issue does not happen after I release the key.

This issue happens when the session type is either "XFCE" or "published
application". I have not tested other session types as I do not have an
environment for that. And client version 4.1.1.1 does not seem to have this
issue.

Thanks and regards,
Yan
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Tue, 12 Mar 2019 12:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to uli42@gmx.de:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 12 Mar 2019 12:30:04 GMT) (full text, mbox, link).


Message #10 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
To: Yan Zhang <kriszhyan@gmail.com>, 1369@bugs.x2go.org
Cc: submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Tue, 12 Mar 2019 13:28:45 +0100
On Tue, Mar 12, 2019 at 12:38 PM Yan Zhang <kriszhyan@gmail.com> wrote:
>
> Package: x2goclient
> Version: 4.1.2.0
>
> I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
>
> The problem happens if I hit "ctrl+space" to start mark region in Emacs and then press down "ctrl+n" to scroll down the region for a few seconds. Usually after I release "ctrl+n", Emacs will leave the currently marked region for further commands. But in the reported version of client, Emacs keeps scrolling down until it reaches the end of the file. There is no way to stop it within Emacs (e.g., "ctrl+g").
>
> I have tried to move the cursor by keeping "ctrl+n" pressed down. This issue does not happen after I release the key.

I do not get the difference between this and the description above.
Please explain!

> This issue happens when the session type is either "XFCE" or "published application". I have not tested other session types as I do not have an environment for that. And client version 4.1.1.1 does not seem to have this issue.

Please run "xev -event keyboard" inside the session and check if you
see all the KeyPress and KeyRelease events for you keys. If anyone is
missing this could explain your issue.

Uli


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Wed, 13 Mar 2019 08:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Yan Zhang <kriszhyan@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 13 Mar 2019 08:15:02 GMT) (full text, mbox, link).


Message #15 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Yan Zhang <kriszhyan@gmail.com>
To: uli42@gmx.de
Cc: 1369@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Wed, 13 Mar 2019 16:09:51 +0800
[Message part 1 (text/plain, inline)]
Hi Ulrich,

On Tue, Mar 12, 2019 at 8:29 PM Ulrich Sibiller <ulrich.sibiller@gmail.com>
wrote:

> On Tue, Mar 12, 2019 at 12:38 PM Yan Zhang <kriszhyan@gmail.com> wrote:
> >
> > Package: x2goclient
> > Version: 4.1.2.0
> >
> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows 10.
> My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
> >
> > The problem happens if I hit "ctrl+space" to start mark region in Emacs
> and then press down "ctrl+n" to scroll down the region for a few seconds.
> Usually after I release "ctrl+n", Emacs will leave the currently marked
> region for further commands. But in the reported version of client, Emacs
> keeps scrolling down until it reaches the end of the file. There is no way
> to stop it within Emacs (e.g., "ctrl+g").
> >
> > I have tried to move the cursor by keeping "ctrl+n" pressed down. This
> issue does not happen after I release the key.
>
> I do not get the difference between this and the description above.
> Please explain!
>
>
The difference is whether I start mark region (by hitting "ctrl+space")
before moving cursor. The client will only stuck if I first start mark
region and then hold cursor-moving keys like "ctrl+n" or "ctrl+p" for a few
seconds.


> > This issue happens when the session type is either "XFCE" or "published
> application". I have not tested other session types as I do not have an
> environment for that. And client version 4.1.1.1 does not seem to have this
> issue.
>
> Please run "xev -event keyboard" inside the session and check if you
> see all the KeyPress and KeyRelease events for you keys. If anyone is
> missing this could explain your issue.
>
> Uli
>

 I tried "xev -event keyboard" in a XFCE session and did not observe any
missing keystrokes.

Thanks and regards,
Yan
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Wed, 13 Mar 2019 09:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ulrich Sibiller <uli42@gmx.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 13 Mar 2019 09:10:02 GMT) (full text, mbox, link).


Message #20 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Ulrich Sibiller <uli42@gmx.de>
To: Yan Zhang <kriszhyan@gmail.com>
Cc: 1369@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Wed, 13 Mar 2019 10:04:36 +0100
On Wed, Mar 13, 2019 at 9:10 AM Yan Zhang <kriszhyan@gmail.com> wrote:

>> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.

You could try updating your nx-libs to nightly and retry:
https://sunweavers.net/blog/node/20

> The difference is whether I start mark region (by hitting "ctrl+space") before moving cursor. The client will only stuck if I first start mark region and then hold cursor-moving keys like "ctrl+n" or "ctrl+p" for a few seconds.

Ok, understood. But still not replicable for me.

>  I tried "xev -event keyboard" in a XFCE session and did not observe any missing keystrokes.

Nor did I. So maybe this is bug in emacs. I tested with 24.3.1, can
you downgrade?

Uli


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Thu, 14 Mar 2019 01:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bob Harold <bobh@halfgoat.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 14 Mar 2019 01:55:02 GMT) (full text, mbox, link).


Message #25 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Bob Harold <bobh@halfgoat.com>
To: Ulrich Sibiller <uli42@gmx.de>, 1369@bugs.x2go.org
Cc: Yan Zhang <kriszhyan@gmail.com>, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Wed, 13 Mar 2019 21:50:46 -0400
[Message part 1 (text/plain, inline)]
On Wed, Mar 13, 2019 at 5:17 AM Ulrich Sibiller <uli42@gmx.de> wrote:

> On Wed, Mar 13, 2019 at 9:10 AM Yan Zhang <kriszhyan@gmail.com> wrote:
>
> >> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows
> 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
>
> You could try updating your nx-libs to nightly and retry:
> https://sunweavers.net/blog/node/20
>
> > The difference is whether I start mark region (by hitting "ctrl+space")
> before moving cursor. The client will only stuck if I first start mark
> region and then hold cursor-moving keys like "ctrl+n" or "ctrl+p" for a few
> seconds.
>
> Ok, understood. But still not replicable for me.
>
> >  I tried "xev -event keyboard" in a XFCE session and did not observe any
> missing keystrokes.
>
> Nor did I. So maybe this is bug in emacs. I tested with 24.3.1, can
> you downgrade?
>
> Uli
>

Just a thought - there is some lag in the screen updates from the remote
host when using a protocol like x2.  It is possible that holding the keys
for a few seconds, with auto-repeat, has buffered enough copies of the
keystroke to scroll the file all the way to the end, even after you let
go.  Is that possible?

-- 
Bob Harold
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Thu, 14 Mar 2019 06:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to Ulrich Sibiller <uli42@gmx.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 14 Mar 2019 06:55:02 GMT) (full text, mbox, link).


Message #30 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Ulrich Sibiller <uli42@gmx.de>
To: Bob Harold <bobh@halfgoat.com>
Cc: 1369@bugs.x2go.org, Yan Zhang <kriszhyan@gmail.com>, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Thu, 14 Mar 2019 07:50:49 +0100
[Message part 1 (text/plain, inline)]
You mean NX, I guess, not X2 (there's no such protocol). However: I am
using NX over two chained WANs without such problems. For some time I even
used it for working on machines on the other side of the Atlantic ocean -
and it worked flawlessly.

@Yan: you could try setting the connection type to ADSL or even ISDN and
retry.

Uli

Bob Harold <bobh@halfgoat.com> schrieb am Do., 14. März 2019, 02:50:

>
> On Wed, Mar 13, 2019 at 5:17 AM Ulrich Sibiller <uli42@gmx.de> wrote:
>
>> On Wed, Mar 13, 2019 at 9:10 AM Yan Zhang <kriszhyan@gmail.com> wrote:
>>
>> >> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows
>> 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
>>
>> You could try updating your nx-libs to nightly and retry:
>> https://sunweavers.net/blog/node/20
>>
>> > The difference is whether I start mark region (by hitting "ctrl+space")
>> before moving cursor. The client will only stuck if I first start mark
>> region and then hold cursor-moving keys like "ctrl+n" or "ctrl+p" for a few
>> seconds.
>>
>> Ok, understood. But still not replicable for me.
>>
>> >  I tried "xev -event keyboard" in a XFCE session and did not observe
>> any missing keystrokes.
>>
>> Nor did I. So maybe this is bug in emacs. I tested with 24.3.1, can
>> you downgrade?
>>
>> Uli
>>
>
> Just a thought - there is some lag in the screen updates from the remote
> host when using a protocol like x2.  It is possible that holding the keys
> for a few seconds, with auto-repeat, has buffered enough copies of the
> keystroke to scroll the file all the way to the end, even after you let
> go.  Is that possible?
>
> --
> Bob Harold
>
>
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Thu, 14 Mar 2019 09:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Михайло Падалка <misha.cn.ua@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 14 Mar 2019 09:45:02 GMT) (full text, mbox, link).


Message #35 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Михайло Падалка <misha.cn.ua@gmail.com>
To: uli42@gmx.de, 1369@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Thu, 14 Mar 2019 11:42:26 +0200
[Message part 1 (text/plain, inline)]
Well, just for note, from time to time I observe similar behavior even
without NX - when switching between apps with Alt-TAB - TAB key is
occasionally not released.
Looks like some bug either in kernel, or in Xorg, not sure where exactly.


Чт, 14 бер. 2019, 08:56 користувач Ulrich Sibiller <uli42@gmx.de> пише:

> You mean NX, I guess, not X2 (there's no such protocol). However: I am
> using NX over two chained WANs without such problems. For some time I even
> used it for working on machines on the other side of the Atlantic ocean -
> and it worked flawlessly.
>
> @Yan: you could try setting the connection type to ADSL or even ISDN and
> retry.
>
> Uli
>
> Bob Harold <bobh@halfgoat.com> schrieb am Do., 14. März 2019, 02:50:
>
>>
>> On Wed, Mar 13, 2019 at 5:17 AM Ulrich Sibiller <uli42@gmx.de> wrote:
>>
>>> On Wed, Mar 13, 2019 at 9:10 AM Yan Zhang <kriszhyan@gmail.com> wrote:
>>>
>>> >> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows
>>> 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
>>>
>>> You could try updating your nx-libs to nightly and retry:
>>> https://sunweavers.net/blog/node/20
>>>
>>> > The difference is whether I start mark region (by hitting
>>> "ctrl+space") before moving cursor. The client will only stuck if I first
>>> start mark region and then hold cursor-moving keys like "ctrl+n" or
>>> "ctrl+p" for a few seconds.
>>>
>>> Ok, understood. But still not replicable for me.
>>>
>>> >  I tried "xev -event keyboard" in a XFCE session and did not observe
>>> any missing keystrokes.
>>>
>>> Nor did I. So maybe this is bug in emacs. I tested with 24.3.1, can
>>> you downgrade?
>>>
>>> Uli
>>>
>>
>> Just a thought - there is some lag in the screen updates from the remote
>> host when using a protocol like x2.  It is possible that holding the keys
>> for a few seconds, with auto-repeat, has buffered enough copies of the
>> keystroke to scroll the file all the way to the end, even after you let
>> go.  Is that possible?
>>
>> --
>> Bob Harold
>>
>>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Thu, 14 Mar 2019 12:05:02 GMT) (full text, mbox, link).


Acknowledgement sent to Yan Zhang <kriszhyan@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 14 Mar 2019 12:05:02 GMT) (full text, mbox, link).


Message #40 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Yan Zhang <kriszhyan@gmail.com>
To: Ulrich Sibiller <uli42@gmx.de>
Cc: Bob Harold <bobh@halfgoat.com>, 1369@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Thu, 14 Mar 2019 19:59:59 +0800
[Message part 1 (text/plain, inline)]
Hi Uli,

I found a temporary solution. If I disable the transient mark mode, under
which the selected region is highlighted, this issue goes away. So I guess
the issue is related to events generated by rendering the highlighted
region. And one thing I forgot to mention is that if I start emacs without
GUI (i.e., emacs -nw), I do not have this issue.

On the other hand, I have tried to use ADSL/ISDN, change my emacs version
to both 26.1 and 24.3.1, and upgrade NX to the nightly build. None of these
has any effect.

Thanks and regards,
Yan

On Thu, Mar 14, 2019 at 2:51 PM Ulrich Sibiller <uli42@gmx.de> wrote:

> You mean NX, I guess, not X2 (there's no such protocol). However: I am
> using NX over two chained WANs without such problems. For some time I even
> used it for working on machines on the other side of the Atlantic ocean -
> and it worked flawlessly.
>
> @Yan: you could try setting the connection type to ADSL or even ISDN and
> retry.
>
> Uli
>
> Bob Harold <bobh@halfgoat.com> schrieb am Do., 14. März 2019, 02:50:
>
>>
>> On Wed, Mar 13, 2019 at 5:17 AM Ulrich Sibiller <uli42@gmx.de> wrote:
>>
>>> On Wed, Mar 13, 2019 at 9:10 AM Yan Zhang <kriszhyan@gmail.com> wrote:
>>>
>>> >> > I am using Emacs 24.5.1 with x2go client version 4.1.2.0 in Windows
>>> 10. My server OS is Ubuntu 16.04 and the x2goserver comes from the PPA repo.
>>>
>>> You could try updating your nx-libs to nightly and retry:
>>> https://sunweavers.net/blog/node/20
>>>
>>> > The difference is whether I start mark region (by hitting
>>> "ctrl+space") before moving cursor. The client will only stuck if I first
>>> start mark region and then hold cursor-moving keys like "ctrl+n" or
>>> "ctrl+p" for a few seconds.
>>>
>>> Ok, understood. But still not replicable for me.
>>>
>>> >  I tried "xev -event keyboard" in a XFCE session and did not observe
>>> any missing keystrokes.
>>>
>>> Nor did I. So maybe this is bug in emacs. I tested with 24.3.1, can
>>> you downgrade?
>>>
>>> Uli
>>>
>>
>> Just a thought - there is some lag in the screen updates from the remote
>> host when using a protocol like x2.  It is possible that holding the keys
>> for a few seconds, with auto-repeat, has buffered enough copies of the
>> keystroke to scroll the file all the way to the end, even after you let
>> go.  Is that possible?
>>
>> --
>> Bob Harold
>>
>>
>

-- 
Yan
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Fri, 15 Mar 2019 22:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to Ulrich Sibiller <uli42@gmx.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 15 Mar 2019 22:55:02 GMT) (full text, mbox, link).


Message #45 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Ulrich Sibiller <uli42@gmx.de>
To: Yan Zhang <kriszhyan@gmail.com>
Cc: Bob Harold <bobh@halfgoat.com>, 1369@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Fri, 15 Mar 2019 23:53:45 +0100
On Thu, Mar 14, 2019 at 1:00 PM Yan Zhang <kriszhyan@gmail.com> wrote:

> I found a temporary solution. If I disable the transient mark mode, under which the selected region is highlighted, this issue goes away. So I guess the issue is related to events generated by rendering the highlighted region. And one thing I forgot to mention is that if I start emacs without GUI (i.e., emacs -nw), I do not have this issue.

So this indicates that it probalby is connected to drawing. If this
happens via images for some reason it might explain the problem.

Please perform this test for me: Edit /etc/x2go/agent.options on the
server and ensure that the following line is active (no leading '#'):

X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"

Then start a new session (with transient mark mode enabled) and retry.
Is that working better?

Uli


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Mon, 18 Mar 2019 02:20:02 GMT) (full text, mbox, link).


Acknowledgement sent to Yan Zhang <kriszhyan@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 18 Mar 2019 02:20:02 GMT) (full text, mbox, link).


Message #50 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Yan Zhang <kriszhyan@gmail.com>
To: Ulrich Sibiller <uli42@gmx.de>
Cc: Bob Harold <bobh@halfgoat.com>, 1369@bugs.x2go.org, submit@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Mon, 18 Mar 2019 10:16:42 +0800
[Message part 1 (text/plain, inline)]
Hi Uli,

Sorry for the slow reply. For my XFCE sessions, turning on "-extension GLX"
seems to solve the problem. But under "published applications" mode, the
issue is still there.

Thanks and regards,
Yan

On Sat, Mar 16, 2019 at 6:54 AM Ulrich Sibiller <uli42@gmx.de> wrote:

> On Thu, Mar 14, 2019 at 1:00 PM Yan Zhang <kriszhyan@gmail.com> wrote:
>
> > I found a temporary solution. If I disable the transient mark mode,
> under which the selected region is highlighted, this issue goes away. So I
> guess the issue is related to events generated by rendering the highlighted
> region. And one thing I forgot to mention is that if I start emacs without
> GUI (i.e., emacs -nw), I do not have this issue.
>
> So this indicates that it probalby is connected to drawing. If this
> happens via images for some reason it might explain the problem.
>
> Please perform this test for me: Edit /etc/x2go/agent.options on the
> server and ensure that the following line is active (no leading '#'):
>
> X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"
>
> Then start a new session (with transient mark mode enabled) and retry.
> Is that working better?
>
> Uli
>


-- 
Yan
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Fri, 01 May 2020 10:40:02 GMT) (full text, mbox, link).


Acknowledgement sent to ayishagddafio@mail.ru:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 01 May 2020 10:40:02 GMT) (full text, mbox, link).


Message #55 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: AISHA GADDAFI <fredkim.0022@gmail.com>
To: undisclosed-recipients:;
Subject: Lieber Freund (Assalamu Alaikum),?
Date: Fri, 1 May 2020 03:29:07 -0700
-- 
Lieber Freund (Assalamu Alaikum),

Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen
Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende
Mutter und eine Witwe
mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen
Präsident (verstorbener Oberst Muammar Gaddafi).

Ich habe Investmentfonds im Wert von siebenundzwanzig Millionen
fünfhunderttausend
United State Dollar ($ 27.500.000.00) und ich brauche eine
vertrauenswürdige Investition
Manager / Partner aufgrund meines aktuellen Flüchtlingsstatus bin ich jedoch
Möglicherweise interessieren Sie sich für die Unterstützung von
Investitionsprojekten in Ihrem Land
Von dort aus können wir in naher Zukunft Geschäftsbeziehungen aufbauen.

Ich bin bereit, mit Ihnen über das Verhältnis zwischen Investition und
Unternehmensgewinn zu verhandeln
Basis für die zukünftige Investition Gewinne zu erzielen.

Wenn Sie bereit sind, dieses Projekt in meinem Namen zu bearbeiten,
antworten Sie bitte dringend
Damit ich Ihnen mehr Informationen über die Investmentfonds geben kann.

Ihre dringende Antwort wird geschätzt. schreibe mir an diese email adresse (
ayishagddafio@mail.ru ) zur weiteren Diskussion.

Freundliche Grüße
Frau Aisha Al-Qaddafi


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Mon, 13 Jul 2020 04:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to security office <arabaoffice361@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 13 Jul 2020 04:10:02 GMT) (full text, mbox, link).


Message #60 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: security office <arabaoffice361@gmail.com>
To: undisclosed-recipients:;
Subject: whether this is your correct email address or not
Date: Sun, 12 Jul 2020 21:00:02 -0700
Hello,


Certain amount of money has been here ( Global Security services
Company ) a trunk box addressed to a client for some years now and I
have made my findings, only to discover that the real owner is late.

Can you help us {me and my colleagues} here to receive it as we are
ready to change everything on it in your name as the original owner

and we share it in the ratio of 50/50. Meaning 50% to you and the
balance of 50% to me here.

Waiting desperately for your reply.

Yours Faithfully,

Mrs. Sandra Dewi

Email  mrsdewi@gmx.com


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Wed, 28 Oct 2020 14:40:02 GMT) (full text, mbox, link).


Acknowledgement sent to Emin Martinian <emin@vivebenefits.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 28 Oct 2020 14:40:02 GMT) (full text, mbox, link).


Message #65 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Emin Martinian <emin@vivebenefits.com>
To: 1369@bugs.x2go.org
Subject: Is this related to Ubuntu bug on repeating keys
Date: Wed, 28 Oct 2020 10:36:24 -0400
[Message part 1 (text/plain, inline)]
Any update on this? Is it related to the following bug on Ubuntu for
repeating keys:

https://askubuntu.com/questions/995819/touchpad-gestures-and-holding-keys-does-not-work

Thanks.
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Thu, 14 Jan 2021 16:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Andreas Ehliar - Emacs related" <emacs@ehliar.se>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 14 Jan 2021 16:45:02 GMT) (full text, mbox, link).


Message #70 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: "Andreas Ehliar - Emacs related" <emacs@ehliar.se>
To: 1369@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1369: Bug#1369: Keys do not release when using Emacs in X2GO Client
Date: Thu, 14 Jan 2021 16:41:10 +0000
[Message part 1 (text/plain, inline)]
I may have found a hint of the root cause of this bug (tested with emacs 27.1).
I believe that it is related to clipboard updating. If I disable clipboard updating from emacs the stuck key behavior goes away.
Note that for every line that we widen the selection in emacs the clipboard is automatically updated. (I proved this by repeatedly pressing ctrl-v in notepadwhile emacs exhibited the stuck key behavior and each time the pasted text grew.)
If it turns out that emacs and/or x2go prioritizes clipboard updates before key-up events we may end up in a race where the clipboard takes longer to update than it takes emacs to scroll the cursor one line and enlarge the clipboard even further.
To play around with this you can redefine the gui-set-selection function as a nop in emacs to disable the updating. (This is not a workaround though since it completely disables copying from an emacs window. A better work-around may be to add some sort of rate-limit to this function but I haven't played around with that yet.)
(defun gui-set-selection (type data))
/Andreas
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Mon, 08 Mar 2021 09:20:02 GMT) (full text, mbox, link).


Acknowledgement sent to karen <karenhuntt4@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Mar 2021 09:20:02 GMT) (full text, mbox, link).


Message #75 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: karen <karenhuntt4@gmail.com>
To: undisclosed-recipients:;
Date: Sun, 7 Mar 2021 21:05:52 -1200
[Message part 1 (text/plain, inline)]
ПРИВІТ ЛЮБА, ЯК ПОЖИВАЄШ?
Я КАРЕН, Я ХОЧУ БУТИ ТВОМ ДРУГОМ, БУДЬ ЛАСКА, ВІДПОВІДІТЬ МНЕ, ДЯКУЮ ..
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Mon, 03 May 2021 16:55:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Kruis, Anselm" <anselm.kruis@atos.net>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 03 May 2021 16:55:02 GMT) (full text, mbox, link).


Message #80 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: "Kruis, Anselm" <anselm.kruis@atos.net>
To: "1369@bugs.x2go.org" <1369@bugs.x2go.org>
Subject: Keys do not release when using Emacs in X2GO Client
Date: Mon, 3 May 2021 16:49:44 +0000
Hi,

I observed the bug described in this thread and did some experiments with Uli Sibiller.

Client: 
- Windows 10 Enterprise, Version 1909
- X2GoClient V. 4.1.2.2
Additional X-Servers on Client
- VcXsrv 1.20.6.0
- VcXsrv 1.20.9.0
- MobaXterm 21.1.0.4628

Server:
- Centos 7
- nxagent-3.5.99.26-1.el7.x86_64  (and also an experimental version nx-3.5.99-sc36clipboard3)
- x2goserver-4.1.0.3-9.el7.x86_64
- x2goagent-4.1.0.3-9.el7.x86_64
- x2goserver-common-4.1.0.3-9.el7.noarch
- x2goserver-xsession-4.1.0.3-9.el7.noarch

X2go Session: application, terminal emulator (konsole), X-server with option -multiwindow

We tried various combinations of parameters and program versions. Findings:

- The problem only occurs with VcXserv (all versions, the one integrated in X2GoClient as well as two stand alone versions). With the X-server provided by MobaXterm (%USERPROFILE%\Documents\MobaXterm\slash\bin\XWin_MobaX.exe) everything in fine.

- The problem depends on the following VcXserv  command line options:
   + option "-r": it turns of keyboard auto-repeat. If auto-repeat is off, the problem does not occur
   + option "-clipboard": without this option, the problem does not occur
   + option "-noprimary": with this option, the problem does not occur

So adding "-noprimary" to the VcXserv options or using XWin_MobaX.exe seems to be the way to go for now.

Regards
  Anselm

--
Anselm Kruis
Senior Solution Architect
MSE OPS HPCS S PS
T +49-89-35 63 86-874
M +49-16 05 82 82 00
anselm.kruis@atos.net
science + computing ag
Ingolstädter Str. 22
80807 München, Germany
atos.net/de/deutschland/sc

science + computing AG; Vorstand: Dr. Martin Matzke (Vorsitzender), Sabine Hohenstein, matthias Schempp; Vorsitzender des Aufsichtsrats: Philippe Robert Jonas Miltin; Sitz der Gesellschaft: Tübingen; Registergericht: Amtsgericht Stuttgart, HRB 382196.


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1369; Package x2goclient. (Wed, 22 Nov 2023 16:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Norm Green <norm.green@gemtalksystems.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 22 Nov 2023 16:00:02 GMT) (full text, mbox, link).


Message #85 received at 1369@bugs.x2go.org (full text, mbox, reply):

From: Norm Green <norm.green@gemtalksystems.com>
To: 1369@bugs.x2go.org
Subject: Keys do not release when using Emacs in X2GO Client
Date: Wed, 22 Nov 2023 07:56:00 -0800
I also hit this problem in x2go 4.1.2.2.  emacs version on Linux is 26.3 
but I doubt that matters.

What I did to get past it is run x2goclient.debug.exe instead of 
x2goclient.exe on the windows side.

Norm Green




Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 11:35:23 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.