[X2Go-Dev] Bug#1555: [Bug] X2Go: The remote NX proxy closed the connection

2021-08-01 Thread SALBAN, LOUIS ANDREA
Hello,

Any help ?
The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1555: [Bug] X2Go: The remote NX proxy closed the connection

2021-08-01 Thread SALBAN, LOUIS ANDREA
Package: x2goserver
Version: 4.1.0.3


When I run x2goclient 4.1.2.2, on my Windows 10 64-bit machine, the
following error appears:
*Error: The remote NX proxy closed the connection.*

*Error: Failure negotiating the session in stage '7'.Error: Wrong
version or invalid session authentication cookie*
The x2goserver 4.1.0.3 and nxagent 3.5.99.26 is installed on a RHEL 8.2
64-bits workstation.

On the RHEL 8.2 workstation, I tried to delete the x2go database and
recreate it without effect:
I also tried to run the x2goagent (see x2goagent.txt) thinking I got a
clearer error, but the x2go windows opened correctly.
I'm completely stuck and don't know what else to do. You will find attached
a maximum of log, hoping that this helps you to see more clearly.

Finally, I would like to point out that I can correctly connect to a second
workstation under RHEL 7.2 64-bits with x2goserver 4.0.1.20 and x2goagent
3.5.0.32.

Thank you.
Regards

*Louis-Andréa SALBAN*

IM Focal point for IYYS
Real-Time Framework - IYYSW
*Airbus Operations SAS Toulouse*

* louis-andrea.l.sal...@airbus.com
The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.
C:\Program Files (x86)\x2goclient>x2goclient.debug.exe  --debug
x2go-INFO-1> "Starting X2Go Client 4.1.2.2..."
x2go-INFO-4> "Translator: :/i18n/x2goclient_fr_fr found."
x2go-INFO-4> "Traducteur : :/i18n/qt_fr_fr trouvÚ."
x2go-DEBUG-../src/onmainwindow.cpp:1246> Removing apps from tray
x2go-DEBUG-../src/onmainwindow.cpp:1214> Plugging apps in tray.
x2go-DEBUG-../src/onmainwindow.cpp:10779> Getting X.Org Server settings.
x2go-INFO-3> "X2Go Client dÚmarrÚ."
x2go-DEBUG-../src/onmainwindow.cpp:575> "$HOME=C:/Users/to104437"
x2go-DEBUG-../src/onmainwindow.cpp:2266> Reading 2 sessions from config file.
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: 
":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/sessionbutton.cpp:361> Creating QPixmap with session icon: 
":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/onmainwindow.cpp:13290> libssh not initialized yet. 
Initializing.
x2go-DEBUG-../src/pulsemanager.cpp:369> pulseaudio --version 
returned:"pulseaudio 13.0
"

x2go-DEBUG-../src/onmainwindow.cpp:10682> Starting helper servers for Windows 
...
x2go-DEBUG-../src/onmainwindow.cpp:10849> 
"/cygdrive/C/Users/to104437/.x2go/var" cygwin var path
x2go-DEBUG-../src/onmainwindow.cpp:10937> 
"C:/Users/to104437/.x2go/etc/sshd_config created."
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10366> Port is free: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11288> Logging cygwin sshd to: 
"C:/Users/to104437/.x2go/sshx2Lgoo-gDsEB/p11828.log"
UG-../src/pulsemanager.cpp:227> x2go-DEBUG-../src/onmainwindow.cpp:1130pu2> 
Creating desktop: x2go_TO104437
lse started with arguments ("--exit-idle-time=-1", "-n", "-F", 
"C:\Users\to104437\.x2go\pulse\config.pa", "-p", "C:\Program Files 
(x86)\x2goclient\pulse\lib\pulse-13.0\modules", "--log-level=debug", 
"--verbose", "--log-target=file:C:\Users\to104437\.x2go\pulse\pulse.log") - 
waiting for it to finish...
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10372> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:10344> Resolved localhost.
x2go-DEBUG-../src/onmainwindow.cpp:10372> Port already in use: 7022
x2go-DEBUG-../src/onmainwindow.cpp:11399> User mode OpenSSH server started 
successfully.
x2go-DEBUG-../src/onmainwindow.cpp:2752> Creating QPixmap with session icon: 
'":/img/icons/128x128/x2gosession.png"'.
x2go-DEBUG-../src/onmainwindow.cpp:2814> Starting session with key.
x2go-DEBUG-../src/onmainwindow.cpp:1246> Removing apps from tray
x2go-INFO-8> "DÚmarrage de la connexion au serveur : rvdev15:22"
x2go-DEBUG-../src/onmainwindow.cpp:2853> Starting new ssh connection to 
server:"rvdev15":"22" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host 
"rvdev15"; port 22; user "to104437"; useproxy false; proxyserver ""; proxyport 
22
x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without 
Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:250> SshMasterConnection, instance 
SshMasterConnection(0x3bda360)  created.

[X2Go-Dev] Bug#1554: matlab colors inverted in X2go client

2021-08-01 Thread Anna Spiers
Package: x2goclient

Version: 4.1.2.2 (Qt-4.8.7)


When using Matlab on an Ubuntu linux server accessed through x2goclient,
the Matlab window has inverted colors (e.g., background is black, text is
various colors with different highlighted colors).

I'm using x2go from a 2017 Macbook Pro with MacOS Catalina. I've recently
found the matlab window inverts its colors when the x2goclient window is
off-screen to the left, but when it's completely contained by my monitor
window or slightly off-screen to the right, then the colors are normal.

A similar problem happens on my colleague's 2020 Macbook Pro with MacOS Big
Sur, but no matter how he configures the x2goclient window, his matlab
screen still has inverted colors.
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1553: x2goserver error: unknown operating system

2021-08-01 Thread Henrik Schmidt

Package: x2goserver
Version: 4.1.0.4

When starting a x2go session with the server running Opensuse Tumbleweed OS I 
expect to get a session.

What I get is the error message:|"Unknown operating system, XSession startup not implemented!" I looked 
at the x2goserver source code and it checked for ||[ -f /etc/SUSE-brand ] || [ -f /etc/SuSE-release ] which both are 
absent. I did a 'touch ||/etc/SuSE-release|' on the server and x2go started working again.


So there should be a better detection for Opensuse Tumbleweed.

Client:
Windows 10
X2GoClient 4.1.2.2
Session: xfce or kde, it doesn't matter
Server: OpenSuse Tumbleweed x2goserver-4.1.0.4~git107+gc2182644-3.37.x86_64
x2goserver-xsession-4.1.0.4~git107+gc2182644-3.37.x86_64
nxagent-3.5.99.4~git2184+gd20cb44e8-1.6.x86_64


1.



 

___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1552: Bug: server clipboard settings overridden by client when session is closed and reconnected

2021-08-01 Thread DANIEL PAVANAN
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=
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=
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=
sshproxyautologin=false
sshproxyhost=
sshproxykeyfile=
sshproxykrblogin=false
sshproxyport=22
sshproxysamepass=false
sshproxysameuser=false
sshproxytype=SSH
sshproxyuser=
startsoundsystem=true
type=auto
useiconv=false
usekbd=true
user=
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 
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 


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
sub...@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+...@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
ow...@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 

[X2Go-Dev] Bug#581: Possibly related Virtualbox issue using shared clipboard

2021-08-01 Thread John Roberts
Hello,

After the Virtualbox update from the version 5 to version 6 series:

  *   Invoking copy/paste operations when shared clipboard is turned on causes 
the guest machine to immediately abort
  *   Even with shared clipboard turned off in Virtualbox settings, guest 
machines generate an Abort status in Virtualbox during a normal shutdown
  *   /var/log/messages indicates a segmentation fault in Virtualbox 
shclipboard application
  *   These aborts do not occur when running Virtualbox over a ssh-X tunnel

I'm wondering if this is related to the older nx-libs problem with shared 
clipboard submitted by mikedep333.

x2go client: v 4.1.2.2 (Qt 5.15.2) running on Fedora 33

x2go server: : 4.1.0.3, nxproxy 3.5.99.26

John.
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1549: Up arrow key does not work

2021-08-01 Thread J Jacob Wikner

Package: ? Version: X2Go Client v. 4.1.1.1 (Qt - 4.8.7)

When I connect to an x2go server with centos 7 as client, the up arrow 
key does not work.


//

___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] x2go client help

2021-08-01 Thread Silvia Luescher Folk
Hi, I am having an issue on a Mac Os 11.3 with the x2go client: The issue is 
that right after restarting my Computer I have no problem connecting to my 
remote server. But after I stop that session and restarting it later I get the 
eternal “connecting" status. The only way to fix this is by restarting my 
computer. My guess is I have to kill some process, but it is not obvious to me 
which one. Could you help me troubleshoot this? Thank you,
Silvia
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1545: x2goserver: separate

2021-08-01 Thread Jonathan Kirszling
Package: x2goserver
Version: 4.1.0.3

I'm packaging x2goclient and x2goserver for voidlinux distro.
Voidlinux doesn't use systemd as init, but runit.
We need to be able to write a runit service script for x2gocleansessions.

x2gocleansessions forks when it is run. Using --debug doesn't fork but print a 
lot of informations, catched by the service.
Could you separate --no-fork from --debug please ?

More details here : https://github.com/void-linux/void-packages/issues/30781

Thanks by advance,
Have a nice day.
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Pull request: add --nofork option to x2gocleansessions

2021-08-01 Thread Andrew J. Hesford
Greetings,

Following is a pull request against the 4.1.0.x branch that separates
the no-fork behavior of x2gocleansessions from the debug output
behavior. A new flag, `--nofork` (`-n-` for short) determined whether
the program forks; `--debug` only controls the logging verbosity and
also forces `$nofork=1` to preserve old behavior.

Please let me know if anything should be changed.

Thanks,
Andrew Hesford

The following changes since commit cabad60865be64de219b3b477ddaefa6aef1cf43:

  Continue development (2018-11-29 08:09:45 +0100)

are available in the Git repository at:

  https://github.com/ahesford/x2goserver.git nofork

for you to fetch changes up to 4587d918c138205c252316c007fab31b75b87061:

  Separate non-forking behavior from --debug into --nofork (2021-05-11 19:27:02 
-0400)


Andrew J. Hesford (1):
  Separate non-forking behavior from --debug into --nofork

 x2goserver/sbin/x2gocleansessions | 20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/x2goserver/sbin/x2gocleansessions 
b/x2goserver/sbin/x2gocleansessions
index e78f677a..8e2ba433 100755
--- a/x2goserver/sbin/x2gocleansessions
+++ b/x2goserver/sbin/x2gocleansessions
@@ -40,15 +40,17 @@ use Pod::Usage;
 Getopt::Long::Configure("gnu_getopt", "no_auto_abbrev");
 
 my $debug = 0;
+my $nofork = 0;
 my $help = 0;
 my $man = 0;
-GetOptions('debug|d' => \$debug, 'help|?|h' => \$help, 'man' => \$man) or 
pod2usage(2);
+GetOptions('debug|d' => \$debug, 'nofork|n' => \$nofork, 'help|?|h' => \$help, 
'man' => \$man) or pod2usage(2);
 pod2usage(1) if $help;
 pod2usage(-verbose => 2, -exitval => 0) if $man;
 
 openlog($0,'cons,pid','user');
 if ($debug)
 {
+   $nofork = 1;
setlogmask( LOG_UPTO (LOG_DEBUG) );
 }
 else
@@ -99,12 +101,12 @@ my $uname;
 my $serv = hostname;
 my $pid;
 
-if (! $debug)
+if (! $nofork)
 {
$pid = fork();
 }
 
-if ((!$debug) && (not defined $pid))
+if ((!$nofork) && (not defined $pid))
 {
print "resources not avilable.\n";
 }
@@ -128,7 +130,7 @@ elsif ($pid == 0 )
my $superenice_idle=$Config->param("superenicer.idle-nice-level");
my $superenice_ignoredusers=$Config->param("superenicer.ignored-users");
 
-   if ( ! $debug )
+   if ( ! $nofork )
{
# close any open file descriptor left open by our parent before 
the fork
my $fd;
@@ -377,7 +379,8 @@ x2gocleansessions [options]
   Options:
 --help|-h|-?brief help message
 --man   full documentation
---debug|-d  enable debugging and don't daemonize
+--debug|-d  enable debugging; implies --nofork
+--nofork|-n don't daemonize
 
 =head1 OPTIONS
 
@@ -393,8 +396,11 @@ Prints the manual page and exits.
 
 =item B<--debug>|B<-d>
 
-Override debugging setting in global config and keep application in foreground
-instead of daemonizing.
+Override debugging setting in global config; implies B<--nofork>.
+
+=item B<--nofork>|B<-n>
+
+Keep application in foreground instead of daemonizing.
 
 =back
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev


[X2Go-Dev] Bug#1484: Crashing sessions

2021-08-01 Thread Fabrice Jaunet

Hello,

After a small adjustment of the size of /dev/shm in the fstab, it was 
running quite well since 1 year...



But it started again since a few days:
"

nxagentFindItemBSPixmapList : WARNING ! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
nxagentFindItemBSPixmapList: WARNING! Item not found.
Error: Failed to read peer proxy.
Loop: PANIC! No termination of the proxy connection was performed by the 
remote proxy.

Error: The connection to the remote peer is broken.
Error: Please check your network status and try again.
Session: Display error detected at 'Tue Apr 27 18:31:47 2021'.
Session: Session suspended at 'Tue Apr 27 18:31:47 2021'.
Session: Session suspended at 'Tue Apr 27 18:31:47 2021'.
Session: Resume session at 'Wed Apr 28 07:50:48 2021'.
_X11TransSocketCreateConnInfo: No room for a new _NXProxyConnInfo for [256].
_X11TransSocketOpenCOTSClient: Unable to create NX connection info for 
local.
_X11TransOpen: transport open failed for 
local/nx,options=/tmp/.x2go-yellow/C-yellow-50-1619502914_stDMATE_dp24/options:50

Session: Display failure detected at 'Wed Apr 28 07:50:48 2021'.
Session: Session suspended at 'Wed Apr 28 07:50:48 2021
Session: Session suspended at 'Wed Apr 28 07:50:48 2021
Session: Session suspended at 'Wed Apr 28 07:50:48 2021'.
Session: session suspended at 'Wed Apr 28 07:50:48 2021
Session: Session suspended at 'Wed Apr 28 07:50:48 2021'.
Session: Session suspended at 'Wed Apr 28 07:50:48 2021'.
Session: Session suspended at 'Wed Apr 28 07:50:49 2021'.
Session: Session suspended at 'Wed Apr 28 07:50:49 2021'.
Session : Session suspension at the address 'Wed Apr 28 07:50:49 2021'.
...
"

Does anyone know how to resume a session in this state?

Regards,
Fabrice
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev