X2Go Bug report logs - #1552
Bug: server clipboard settings overridden by client when session is closed and reconnected

version graph

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

Reported by: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>

Date: Mon, 28 Jun 2021 11:50:02 UTC

Severity: normal

Found in version 4.1.0.3

Full log


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

Received: (at submit) by bugs.x2go.org; 28 Jun 2021 11:45:26 +0000
From ar.daniel.pavanan@gmail.com  Mon Jun 28 13:45:18 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 77D4D5DAF2
	for <submit@bugs.x2go.org>; Mon, 28 Jun 2021 13:45:18 +0200 (CEST)
Received: by mail-ej1-x630.google.com with SMTP id gn32so29509250ejc.2
        for <submit@bugs.x2go.org>; Mon, 28 Jun 2021 04:45:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
        bh=fPorcQ/URl3P4CJIuFdHT0DBkIxmSpqtUakDYRWqvIo=;
        b=edSX5AFzEP14OCUVffJaJX4SnR9JkGI9d6X2G/iLYgMKCJE+HW2dqUKOqaHuIde51n
         +ztF1tlN6VDF8x7Hwqco2yuQ2WqV895kRZ76bFD669kSbWxKVp5V+etB8dJgxjK5Wzsi
         LenRNNUtVUbWVacUcapmhk8dADFz3HN2WAq/ivhhxRm+fXQZT8KYFdfeqCBautV4GtY0
         n8rsMWH6o0ihNAh5bgKGluFTXhJCFy0hN+QZoHXa9vTnobXqJ88Ism1/+ws569U0ni84
         bTav8Ldqp5jLTCFyoitfojleAPTX0/BtOWFvctuIZLsnIvT0HU1u3FgDLTWOvne9sza7
         6uOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to;
        bh=fPorcQ/URl3P4CJIuFdHT0DBkIxmSpqtUakDYRWqvIo=;
        b=kyYTREc1i4m0MQuPtOzfKAwwz04hz3MmPMr18dTWhKPsXI42YScT37E+QTfZrGo1D0
         U1puuNtDJ28vwDHEGZdzTARmTn3rhcbQCps6VuNoWqikFi/oXlI4zOcmN8OQGNfY6PUl
         gqg3a0efERoOf4QWUZ100C6GEAy0VoO+2UA1PuAlSW2hefT0uJ3XnodKC1M0KSdzQ5qv
         5XqS7/JDS/aYVMMcqIDoyuDsifZcR9uMWnI5hqdpR7zZdBmOd6IHFPZg9xYapuK6afn6
         XMZgb2cXXwo4L6WohhIqj/0dij396DSwZe6iamDPoY2lpHgAhfeCpAaZerTkT/fCQVSt
         qu3g==
X-Gm-Message-State: AOAM530gBL1wqyUqcakwbweiGUNx85HaBiPEmpL6ED/qNYBH1qsPk8Mj
	lEHcFQ3GHUeQMCB957frAH9NnqiWruHRIXbhQZDxRkCLVq6YXJrL
X-Google-Smtp-Source: ABdhPJwB7mzW7ysXhmLObPomv6KuqMheWllvVYTaapJ1gAIjFQMbCTazGPZMi8eC4REEeGIkC6bq67VPCUQC91ybpX8=
X-Received: by 2002:a17:906:8688:: with SMTP id g8mr24232272ejx.24.1624880717458;
 Mon, 28 Jun 2021 04:45:17 -0700 (PDT)
MIME-Version: 1.0
References: <CACbeUuqboFi5c9N+j7fcRqndz-_H4aLpW5HRhakWy6DFWm+XmQ@mail.gmail.com>
 <handler.x.B.162487591011486.nonumnosub@bugs.x2go.org>
In-Reply-To: <handler.x.B.162487591011486.nonumnosub@bugs.x2go.org>
From: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>
Date: Mon, 28 Jun 2021 17:15:06 +0530
Message-ID: <CACbeUurn-qRB_utn80SqUS8x-2Vgvft4m_YUZXG_ge6Q7VPAUw@mail.gmail.com>
Subject: Bug: server clipboard settings overridden by client when session is
 closed and reconnected
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary="000000000000f7701f05c5d205fc"
[Message part 1 (text/plain, inline)]
Package: x2goserver
Version: 4.1.0.3

I ve encountered a bug in the server's clipboard setting. Please review the
below detail and advise necessary solutions or kindly fix issues.

*Problem -*
server clipboard settings overridden by client when session is closed and
reconnected  with any change in session setting.

*Steps to reproduce-*
1 edit /etc/x2go/x2goagent.options, added
 ...
   X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"

2 reloaded server, setup up client session setting and connected
first time around it works as intended (from the client we could copy to
server, but not from server to client)

3 now close the x2go client session window and change some setting in
session preferences -> Input/ Output -> clipboard more (it could be server
to client copy or bidirectional copy ) and connect the session again
Now the server's clipboard setting is overridden by the clients clipboard
setting and we can copy from server to client.
Change in the session preferences can also be something different like
change in compression method in connection tab

*Expected behaviour*
whatever the action from client side, when server setting for clipboard
options is set, client's option should NOT override


*Info *
Client OS - linux mint mate 20 ulyana
x2goclient version - 4.1.2.2-1

x2goclient session settings -
[20210612224421681]
applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL
autologin=false
clipboard=both
command=MATE
defsndport=true
directrdp=false
directrdpsettings=
directxdmcp=false
directxdmcpsettings=
display=1
dpi=142
export=
fstunnel=true
fullscreen=false
height=1080
host=<host name here>
icon=:/img/icons/128x128/x2gosession.png
iconvfrom=ISO8859-1
iconvto=UTF-8
kdrive=false
key=/path/to/user/sshkey
krbdelegation=false
krblogin=false
maxdim=false
multidisp=false
name=<session name here>
pack=2m-jpeg
print=false
published=false
quality=9
rdpclient=rdesktop
rdpoptions=
rdpport=3389
rdpserver=
rootless=false
setdpi=true
sndport=4713
sound=true
soundsystem=pulse
soundtunnel=true
speed=2
sshport=<ssh custom port no>
sshproxyautologin=false
sshproxyhost=
sshproxykeyfile=
sshproxykrblogin=false
sshproxyport=22
sshproxysamepass=false
sshproxysameuser=false
sshproxytype=SSH
sshproxyuser=
startsoundsystem=true
type=auto
useiconv=false
usekbd=true
user=<remote user name here>
usesshproxy=false
width=1920
xdmcpclient=Xnest
xdmcpserver=localhost
xinerama=false

server OS - ubuntu server 20.04 LTS
x2goserver: 4.1.0.3
x2goserver-common: 4.1.0.3
x2goserver-extensions: 4.1.0.3
x2goserver-fmbindings: 4.1.0.3
x2goserver-printing: 4.1.0.3
x2goserver-x2goagent: 3.5.99.23  (not sure why this x2goagent version is
out of sink with the others, how can I update this)
x2goserver-xsession: 4.1.0.3

x2goagent options -
(removed the comments )

X2GO_NXAGENT_DEFAULT_OPTIONS=""
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -nolisten tcp"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"
X2GO_NXOPTIONS=""

desktop environment installed
mate installed with
apt-get install ubuntu-mate-desktop

other settings not changed


Moreover the server version installed is from 2018 and its not in the same
timeline as the client version which is from 2020. Is there a server
version after 2020 or so?
I couldn't find it here.
https://code.x2go.org/releases/source/x2goserver/



Aside from the above issue.
Finding relevant issue for checking if already someone has raised / if
solution already exist cannot be searched with the url stated below
https://bugs.x2go.org/cgi-bin/pkgindex.cgi?indexon=src
It would be better if existing issues and/ or solutions are searchable
somewhere in x2go website.

regards
Daniel



---------- Forwarded message ---------
From: X2Go Bug Tracking System <owner@bugs.x2go.org>
Date: Mon, Jun 28, 2021 at 4:00 PM
Subject: Message with no Package: tag cannot be processed! (Fwd: Message
with no Package: tag cannot be processed! (Bug: server clipboard settings
overridden by client when session is closed and reconnected))
To: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>


Your message didn't have a Package: line at the very first line of the
mail body (part of the pseudo-header), or didn't have a Package: line
at all. Unfortunatly, this means that your message has been ignored
completely.

Without this information we are unable to categorise or otherwise deal
with your problem report. Please _resubmit_ your report to
submit@bugs.x2go.org and tell us which package the
report is for. For help, check out
https://bugs.x2go.org/Reporting.html.

Your message was dated Mon, 28 Jun 2021 15:54:51 +0530 and had
message-id <
CACbeUuqboFi5c9N+j7fcRqndz-_H4aLpW5HRhakWy6DFWm+XmQ@mail.gmail.com>
and subject Fwd: Message with no Package: tag cannot be processed! (Bug:
server clipboard settings overridden by client when session is closed and
reconnected).
The complete text of it is attached to this message.

If you need any assistance or explanation please contact
owner@bugs.x2go.org and include the the attached
message.

If you didn't send the attached message (spam was sent forging your
from address), we apologize; please disregard this message.

-- 
-1: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=-1
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems



---------- Forwarded message ----------
From: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>
To: submit@bugs.x2go.org
Cc:
Bcc:
Date: Mon, 28 Jun 2021 15:54:51 +0530
Subject: Fwd: Message with no Package: tag cannot be processed! (Bug:
server clipboard settings overridden by client when session is closed and
reconnected)
Package : x2go server
x2goserver: 4.1.0.3

(I earlier sent this mail with a greeting line and my mail got
auto-rejected and got to know only now from spam folder.
Now resending with package line being the first line of the mail body )
I ve encountered a bug in the server's clipboard setting. Please review the
below detail and advise necessary solutions or kindly fix issues.

*Problem -*
server clipboard settings overridden by client when session is closed and
reconnected  with any change in session setting.

*Steps to reproduce-*
1 edit /etc/x2go/x2goagent.options, added
 ...
   X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"

2 reloaded server, setup up client session setting and connected
first time around it works as intended (from the client we could copy to
server, but not from server to client)

3 now close the x2go client session window and change some setting in
session preferences -> Input/ Output -> clipboard more (it could be server
to client copy or bidirectional copy ) and connect the session again
Now the server's clipboard setting is overridden by the clients clipboard
setting and we can copy from server to client.
Change in the session preferences can also be something different like
change in compression method in connection tab

*Expected behaviour*
whatever the action from client side, when server setting for clipboard
options is set, client's option should NOT override


*Info *
Client OS - linux mint mate 20 ulyana
x2goclient version - 4.1.2.2-1

x2goclient session settings -
[20210612224421681]
applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL
autologin=false
clipboard=both
command=MATE
defsndport=true
directrdp=false
directrdpsettings=
directxdmcp=false
directxdmcpsettings=
display=1
dpi=142
export=
fstunnel=true
fullscreen=false
height=1080
host=<host name here>
icon=:/img/icons/128x128/x2gosession.png
iconvfrom=ISO8859-1
iconvto=UTF-8
kdrive=false
key=/path/to/user/sshkey
krbdelegation=false
krblogin=false
maxdim=false
multidisp=false
name=<session name here>
pack=2m-jpeg
print=false
published=false
quality=9
rdpclient=rdesktop
rdpoptions=
rdpport=3389
rdpserver=
rootless=false
setdpi=true
sndport=4713
sound=true
soundsystem=pulse
soundtunnel=true
speed=2
sshport=<ssh custom port no>
sshproxyautologin=false
sshproxyhost=
sshproxykeyfile=
sshproxykrblogin=false
sshproxyport=22
sshproxysamepass=false
sshproxysameuser=false
sshproxytype=SSH
sshproxyuser=
startsoundsystem=true
type=auto
useiconv=false
usekbd=true
user=<remote user name here>
usesshproxy=false
width=1920
xdmcpclient=Xnest
xdmcpserver=localhost
xinerama=false

server OS - ubuntu server 20.04 LTS
x2goserver: 4.1.0.3
x2goserver-common: 4.1.0.3
x2goserver-extensions: 4.1.0.3
x2goserver-fmbindings: 4.1.0.3
x2goserver-printing: 4.1.0.3
x2goserver-x2goagent: 3.5.99.23  (not sure why this x2goagent version is
out of sink with the others, how can I update this)
x2goserver-xsession: 4.1.0.3

x2goagent options -
(removed the comments )

X2GO_NXAGENT_DEFAULT_OPTIONS=""
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -nolisten tcp"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"
X2GO_NXOPTIONS=""

desktop environment installed
mate installed with
apt-get install ubuntu-mate-desktop

other settings not changed


Moreover the server version installed is from 2018 and its not in the same
timeline as the client version which is from 2020. Is there a server
version after 2020 or so?
I couldn't find it here.
https://code.x2go.org/releases/source/x2goserver/



Aside from the above issue.
Finding relevant issue for checking if already someone has raised / if
solution already exist cannot be searched with the url stated below
https://bugs.x2go.org/cgi-bin/pkgindex.cgi?indexon=src
It would be better if existing issues and/ or solutions are searchable
somewhere in x2go website.

regards
Daniel


---------- Forwarded message ---------
From: X2Go Bug Tracking System <owner@bugs.x2go.org>
Date: Mon, Jun 14, 2021 at 1:20 AM
Subject: Message with no Package: tag cannot be processed! (Bug: server
clipboard settings overridden by client when session is closed and
reconnected)
To: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>


Your message didn't have a Package: line at the very first line of the
mail body (part of the pseudo-header), or didn't have a Package: line
at all. Unfortunatly, this means that your message has been ignored
completely.

Without this information we are unable to categorise or otherwise deal
with your problem report. Please _resubmit_ your report to
submit@bugs.x2go.org and tell us which package the
report is for. For help, check out
https://bugs.x2go.org/Reporting.html.

Your message was dated Mon, 14 Jun 2021 01:15:05 +0530 and had
message-id <CACbeUura=
bZE7_uUcfVcr9dMAkdexLsQ7GaUShsG7gaSfg9akA@mail.gmail.com>
and subject Bug: server clipboard settings overridden by client when
session is closed and reconnected.
The complete text of it is attached to this message.

If you need any assistance or explanation please contact
owner@bugs.x2go.org and include the the attached
message.

If you didn't send the attached message (spam was sent forging your
from address), we apologize; please disregard this message.

-- 
-1: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=-1
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems



---------- Forwarded message ----------
From: DANIEL PAVANAN <ar.daniel.pavanan@gmail.com>
To: submit@bugs.x2go.org
Cc:
Bcc:
Date: Mon, 14 Jun 2021 01:15:05 +0530
Subject: Bug: server clipboard settings overridden by client when session
is closed and reconnected

Hello X2go Team

Package : x2go server
x2goserver: 4.1.0.3

I ve encountered a bug in the server's clipboard setting. Please review the
below detail and advise necessary solutions or kindly fix issues.

*Problem -*
server clipboard settings overridden by client when session is closed and
reconnected  with any change in session setting.

*Steps to reproduce-*
1 edit /etc/x2go/x2goagent.options, added
 ...
   X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"

2 reloaded server, setup up client session setting and connected
first time around it works as intended (from the client we could copy to
server, but not from server to client)

3 now close the x2go client session window and change some setting in
session preferences -> Input/ Output -> clipboard more (it could be server
to client copy or bidirectional copy ) and connect the session again
Now the server's clipboard setting is overridden by the clients clipboard
setting and we can copy from server to client.
Change in the session preferences can also be something different like
change in compression method in connection tab

*Expected behaviour*
whatever the action from client side, when server setting for clipboard
options is set, client's option should NOT override


*Info *
Client OS - linux mint mate 20 ulyana
x2goclient version - 4.1.2.2-1

x2goclient session settings -
[20210612224421681]
applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL
autologin=false
clipboard=both
command=MATE
defsndport=true
directrdp=false
directrdpsettings=
directxdmcp=false
directxdmcpsettings=
display=1
dpi=142
export=
fstunnel=true
fullscreen=false
height=1080
host=<host name here>
icon=:/img/icons/128x128/x2gosession.png
iconvfrom=ISO8859-1
iconvto=UTF-8
kdrive=false
key=/path/to/user/sshkey
krbdelegation=false
krblogin=false
maxdim=false
multidisp=false
name=<session name here>
pack=2m-jpeg
print=false
published=false
quality=9
rdpclient=rdesktop
rdpoptions=
rdpport=3389
rdpserver=
rootless=false
setdpi=true
sndport=4713
sound=true
soundsystem=pulse
soundtunnel=true
speed=2
sshport=<ssh custom port no>
sshproxyautologin=false
sshproxyhost=
sshproxykeyfile=
sshproxykrblogin=false
sshproxyport=22
sshproxysamepass=false
sshproxysameuser=false
sshproxytype=SSH
sshproxyuser=
startsoundsystem=true
type=auto
useiconv=false
usekbd=true
user=<remote user name here>
usesshproxy=false
width=1920
xdmcpclient=Xnest
xdmcpserver=localhost
xinerama=false

server OS - ubuntu server 20.04 LTS
x2goserver: 4.1.0.3
x2goserver-common: 4.1.0.3
x2goserver-extensions: 4.1.0.3
x2goserver-fmbindings: 4.1.0.3
x2goserver-printing: 4.1.0.3
x2goserver-x2goagent: 3.5.99.23  (not sure why this x2goagent version is
out of sink with the others, how can I update this)
x2goserver-xsession: 4.1.0.3

x2goagent options -
(removed the comments )

X2GO_NXAGENT_DEFAULT_OPTIONS=""
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension GLX"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -nolisten tcp"
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard client"
X2GO_NXOPTIONS=""

desktop environment installed
mate installed with
apt-get install ubuntu-mate-desktop

other settings not changed


Moreover the server version installed is from 2018 and its not in the same
timeline as the client version which is from 2020. Is there a server
version after 2020 or so?
I couldn't find it here.
https://code.x2go.org/releases/source/x2goserver/



Aside from the above issue.
Finding relevant issue for checking if already someone has raised / if
solution already exist cannot be searched with the url stated below
https://bugs.x2go.org/cgi-bin/pkgindex.cgi?indexon=src
It would be better if existing issues and/ or solutions are searchable
somewhere in x2go website.

regards
Daniel
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 16:25:35 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.