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