Discussion:
[X2Go-Dev] Bug#1321: X Error: BadLength (poly request too large or internal Xlib length error) 16
Kröger@das-netzwerkteam.de, Hannes
2018-08-17 07:55:25 UTC
Permalink
Package: x2goserver
Version: 4.1.0.2-0~1642~ubuntu16.04.1

When the 3D viewing software paraview is executed in a x2go session, it
does not start, but yields the error below:
$ paraview
X Error: BadLength (poly request too large or internal Xlib length error) 16
  Major opcode: 18 (X_ChangeProperty)
  Resource id:  0x30001da
This problem does not appear in older versions of x2go. I could not find
a workaround for the problem. Any hints are welcome.
OS: Ubuntu 16.04 Xenial
Paraview - Version 4.4.0
NXAGENT - Version 3.5.99.16
Ulrich Sibiller
2018-08-17 09:22:02 UTC
Permalink
Try to toggle BIGREQUESTS in /etc/x2go/

Uli
Post by Krö***@das-netzwerkteam.de, Hannes
Package: x2goserver
Version: 4.1.0.2-0~1642~ubuntu16.04.1
When the 3D viewing software paraview is executed in a x2go session, it
$ paraview
X Error: BadLength (poly request too large or internal Xlib length error) 16
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x30001da
This problem does not appear in older versions of x2go. I could not find
a workaround for the problem. Any hints are welcome.
OS: Ubuntu 16.04 Xenial
Paraview - Version 4.4.0
NXAGENT - Version 3.5.99.16
_______________________________________________
x2go-dev mailing list
https://lists.x2go.org/listinfo/x2go-dev
Ulrich Sibiller
2018-08-17 11:03:46 UTC
Permalink
On Fri, Aug 17, 2018 at 12:44 PM, Hannes Kröger
ok, when I put
X2GO_NXAGENT_DEFAULT_OPTIONS+=" +extension BIG-REQUESTS"
into /etc/x2go/x2goagent.options then paraview starts without errors.
"Disable BIG-REQUESTS, nx-libs does not implement this extension
correctly. Leads to all sorts of weird crashes if left enabled."
Is this still true? Do I have to fear all sorts of weird crashes?
Yes, unfortunately this is still true. I am unsure what exactly the
problems are. But we have apps that crash with the extension enabled.
And we have some apps that crash with the extension disabled ;-(

Uli
Hannes Kröger
2018-08-17 11:13:43 UTC
Permalink
Dear Uli,

thanks for the information.

I will continue with the BIG-REQUEST enabled and see how it works.

I would like to add that the problem appears since an update a few weeks
ago (the software was installed through the x2go-stable repo from
launchpad). Before that, everything worked fine. Is it possible to trace
the change which lead to this problem?

Regards, Hannes
Post by Ulrich Sibiller
On Fri, Aug 17, 2018 at 12:44 PM, Hannes Kröger
ok, when I put
X2GO_NXAGENT_DEFAULT_OPTIONS+=" +extension BIG-REQUESTS"
into /etc/x2go/x2goagent.options then paraview starts without errors.
"Disable BIG-REQUESTS, nx-libs does not implement this extension
correctly. Leads to all sorts of weird crashes if left enabled."
Is this still true? Do I have to fear all sorts of weird crashes?
Yes, unfortunately this is still true. I am unsure what exactly the
problems are. But we have apps that crash with the extension enabled.
And we have some apps that crash with the extension disabled ;-(
Uli
--
Grüße, Hannes Kröger

Tel.: +49 160 90354853
Ulrich Sibiller
2018-10-06 20:12:06 UTC
Permalink
FYI: I have made a patch for nx-libs that fixes some BIG-REQUESTS
problems (atom and vscode now work). It does not seem to help with
paraview 4.4 but I also cannot properly use it without x2go, I get
"Cannot mix incompatible Qt library (version 0x40807) with this
library (version 0x40806)". So YMMV.

Here's the patch: https://github.com/ArcticaProject/nx-libs/pull/729
(not sure when it will make into the released code. For now you have
to apply and compile yourself

Uli
Post by Ulrich Sibiller
On Fri, Aug 17, 2018 at 12:44 PM, Hannes Kröger
ok, when I put
X2GO_NXAGENT_DEFAULT_OPTIONS+=" +extension BIG-REQUESTS"
into /etc/x2go/x2goagent.options then paraview starts without errors.
"Disable BIG-REQUESTS, nx-libs does not implement this extension
correctly. Leads to all sorts of weird crashes if left enabled."
Is this still true? Do I have to fear all sorts of weird crashes?
Yes, unfortunately this is still true. I am unsure what exactly the
problems are. But we have apps that crash with the extension enabled.
And we have some apps that crash with the extension disabled ;-(
Uli
Walid MOGHRABI
2018-08-17 12:23:50 UTC
Permalink
You don't have to fear anything, if it works with BIG-REQUESTS then it just works (mostly).
This is just that, as Uli said, the BIG_REQUEST extension support is very buggy in NX and thus, some apps work with it (or even need it to work such as VLC or your 3D viewer) and some don't (such as ATOM.io, VSCode and many other elektron based applications).

By now, depending on your needs, you should enable it or not.


Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original -----

De: "Hannes Kröger" <***@kroegeronline.net>
À: ***@gmx.de, ***@bugs.x2go.org
Envoyé: Vendredi 17 Août 2018 12:44:06
Objet: [X2Go-Dev] Bug#1321: Bug#1321: X Error: BadLength (poly request too large or internal Xlib length error) 16

Hi Uli,

ok, when I put

X2GO_NXAGENT_DEFAULT_OPTIONS+=" +extension BIG-REQUESTS"

into /etc/x2go/x2goagent.options then paraview starts without errors.

But the comment says:
"Disable BIG-REQUESTS, nx-libs does not implement this extension
correctly. Leads to all sorts of weird crashes if left enabled."
Is this still true? Do I have to fear all sorts of weird crashes?
Post by Ulrich Sibiller
Try to toggle BIGREQUESTS in /etc/x2go/
Uli
Post by Krö***@das-netzwerkteam.de, Hannes
Package: x2goserver
Version: 4.1.0.2-0~1642~ubuntu16.04.1
When the 3D viewing software paraview is executed in a x2go session, it
$ paraview
X Error: BadLength (poly request too large or internal Xlib length error) 16
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x30001da
This problem does not appear in older versions of x2go. I could not find
a workaround for the problem. Any hints are welcome.
OS: Ubuntu 16.04 Xenial
Paraview - Version 4.4.0
NXAGENT - Version 3.5.99.16
_______________________________________________
x2go-dev mailing list
https://lists.x2go.org/listinfo/x2go-dev
_______________________________________________
x2go-dev mailing list
x2go-***@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
Loading...