Comments (9)
Hi Camilo,
On Do 02 Jul 2015 08:21:22 CEST, Camilo Alejandro Arboleda wrote:
Your bug report has just been moved [1] to the new upstream location of nx-libs on Github.
Looking at the highlighted values, it seems that gedit is sending a
malformed ChangeProperty request, and rootless is failing to process it.
Is it really a malformed request or a problem with broken BIG-REQUESTS support [2] in libXcomp3 (aka nxcomp)?
Specifically the segment between lines 735-780, tries to set a property
that is bigger than the maximum size required, but because it's a
malformed request it ends up writing in memory outside the boundaries of
the output buffer.Alternatives:
- Ensure that nxagentExportProperty never writes beyond the boundaries
of the output buffer.- Resize the output buffer to match the required size
(ProcChangeProperty seems to do something similar).- Ignore big requests (see attached patch).
Is option 3. really the optimal approach? It feels like option 2. would be the way to go here...
Please continue, if possible for you, this discussion on Github.
Mike
from nx-libs.
Also related: X2Go Bug 878:
http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=878
Package: nx-libs
Version: 3.5.0.31
Severity: normal
Server OS: Fedora 22 64-bit with latest updates (F22 is still in beta,
but will be released any day now)
x2goserver 4.0.1.19-3.fc22 (Fedora's package)
x2goserver-xsession 4.0.1.19-3.fc22 (Fedora's package)
nxagent 3.5.0.31-1.fc22 (Fedora's package)
x2goagent 3.5.0.31-1.fc22 (Fedora's package)
I've tried multiple different clients (on both Linux and Windows), so
the client details presumably do not matter.
The problem is that gnome-terminal is failing to launch. I have only
tried a single application session. The output from journalctl --user
(the equivalent of ~/.xsession-x2go-errors) is attached.
This line stands out:
org.a11y.atspi.Registry[24951]: Xlib: extension "XEVIE" missing on
display ":50".
However, XEvIE was removed from X.org in 2008:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=f4036f6ace5f770f0fe6a6e3dc3749051a81325a
http://freedesktop.org/wiki/Software/XEvIE/
from nx-libs.
Hi Mike,
I haven't look deeper into the problem, since I am not really expert (or even knowledgeable) in X. The first patch was a quick fix as it seemed to me that NXlib doesn't support big requests, and it has worked for me so far.
I am sorry to not being able to help to come up with a better solution, but I don't have the knowledge to do it. I can help with testing and debugging if you have any pointers I can follow.
from nx-libs.
Ubuntu 16.04.1 and stable ppa are affected by the same bug. Application: rootless Eclipse Kepler. On Ubuntu 14.04 everything works fine with the same versions of x2go from stable ppa.
bt Core was generated by `/usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _XData32 (dpy=dpy@entry=0x1461cf0, data=<optimized out>, data@entry=0x1b548b4, len=20596, len@entry=28756) at XlibInt.c:3792
ubuntu 16.04 (bug)
Package libnx-x11-6:
i A 2:3.5.0.32-0~668~ubuntu16.04.1 xenial 500
Package x2goserver:
i 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-compat:
i 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-extensions:
i A 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-fmbindings:
i 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-printing:
i 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-pyhoca:
i 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
Package x2goserver-xsession:
i A 4.0.1.19-0~1064~ubuntu16.04.1 xenial 500
ubuntu 14.04 (no bug)
Package libnx-x11:
i 2:3.5.0.32-0~668~ubuntu14.04.1 trusty 500
Package x2goserver:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-compat:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-extensions:
i A 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-fmbindings:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-printing:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-pyhoca:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package x2goserver-xsession:
i 4.0.1.19-0~1064~ubuntu14.04.1 trusty 500
Package libnx-x11-6:
i A 2:3.5.0.32-0~668~ubuntu14.04.1 trusty 500
from nx-libs.
I'm suffering from the same bug on Ubuntu 16.04 while it previously worked in 14.04.
Binary patching out "BIG-REQUESTS" with "_IG-REQUESTS" in libxcb.so.1 as described in atom/atom#4360 fixes the problem for me.
However, this is the worst possible solution for a production system..
from nx-libs.
On Sat, Sep 10, 2016 at 1:03 PM, Colin Finck [email protected] wrote:
I'm suffering from the same bug on Ubuntu 16.04 while it previously worked in 14.04.
Binary patching out "BIG-REQUESTS" with "_IG-REQUESTS" in libxcb.so.1 as described in atom/atom#4360 fixes the problem for me.
However, this is the worst possible solution for a production system..
Have you tried using the latest nightly builds of nx-libs?
(https://sunweavers.net/blog/node/20)
Uli
from nx-libs.
Hi Uli, hi Colin,
On So 11 Sep 2016 12:19:27 CEST, Ulrich Sibiller wrote:
On Sat, Sep 10, 2016 at 1:03 PM, Colin Finck
[email protected] wrote:I'm suffering from the same bug on Ubuntu 16.04 while it previously
worked in 14.04.
Binary patching out "BIG-REQUESTS" with "_IG-REQUESTS" in
libxcb.so.1 as described in atom/atom#4360 fixes the problem for me.
However, this is the worst possible solution for a production system..Have you tried using the latest nightly builds of nx-libs?
(https://sunweavers.net/blog/node/20)Uli
Unfortunately, BIG-REQUESTS are broken-by-design in nxcomp. See:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766299
Do thinks work better when disabling BIG-REQUESTS in x2goagent/nxagent?
From the command line (although, this does not use nxcomp):
nxagent -R -ac -extension BIG-REQUESTS :1
Or via /etc/x2go/x2goagent.options.
Mike
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: [email protected], http://das-netzwerkteam.de
from nx-libs.
Yep, adding "-extension BIG-REQUESTS" to the X2GO_NXAGENT_DEFAULT_OPTIONS variable in /etc/x2go/x2goagent.options fixes the problem as well!
from nx-libs.
This is a multi-topic bug. Basically, GNOME applications run (again) on nx-libs 3.5.99.3 and above. This has been tested with gedit and gnome-terminal from Debian jessie and Debian stretch. So that issues seems to be settled.
Evolution (not sure if it was mentioned above, but it also is a problematic application) fails to launch on jessie due to missing recent-enough GLX support. The stretch version of evolution comes up, but reports thrillions of issues about permission denied to some shared memory location. However, that may also be related to my test setup (schroot based chroots).
The BIGREQUESTS stuff is tracked by another issue on this tracker: #301.
Regarding Eclipse, the eclipse version from Debian stretch starts fine in rootless and desktop session mode.
So really closing this issue now.
from nx-libs.
Related Issues (20)
- Just another questions about shadow mode. HOT 4
- Error - X2Go Desktop Bindings installation HOT 1
- nxagent -v starts fullscreen session
- Unexpected fullscreen on reconnect with SDL applications
- Resizing breaks after multiple xrandr calls HOT 5
- Which repo to use for x2go? HOT 8
- Empty screen when starting an nx session from another nx session on branch 3.6.x (2023/05/10) HOT 1
- nxagent 3.5.99.26 does not work on Alpine. HOT 9
- Build error depending on $VERBOSE flag HOT 5
- nxagent: Filter ACPI events HOT 7
- run-nxproxy2nxagent* test scripts yield black window HOT 1
- Rootless mode: Qt applications do not exit HOT 15
- x2goclient wrong windows size by default HOT 1
- Vulnerability Report: Path traversal and Code Execution in dlopen via environment variable HOT 1
- Segfault in libXcompshad
- Stop using gethostbyname, deprecated in glibc
- '. replace.sh' fails for POSIX shells (e.g. Bash as 'sh')
- Random parallel build failures HOT 10
- nx-libs.spec file license says GPLv2+, should be GPLv2 (only)
- Composite not working? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx-libs.