Skip to content

Major opcode of failed request: 18 (X_ChangeProperty) #4920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
michael-newsrx opened this issue Oct 10, 2018 · 12 comments
Closed

Major opcode of failed request: 18 (X_ChangeProperty) #4920

michael-newsrx opened this issue Oct 10, 2018 · 12 comments

Comments

@michael-newsrx
Copy link

Describe the bug
Unable to run latest under x2go, previous versions worked fine.

To Reproduce
be inside an x2go session.
attempt to connect to windows server.

getting:

[10:45:05:323] [15174:15175] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[10:45:05:323] [15174:15175] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Serial number of failed request:  56
  Current serial number in output stream:  60

freerdp package list

ii  freerdp2-x11                            2.0.0~git20170725.1.1648deb+dfsg1-7         amd64        RDP client for Windows Terminal Services (X11 client)
ii  libfreerdp-cache1.1:amd64               1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (cache library)
ii  libfreerdp-client1.1:amd64              1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-client2-2:amd64              2.0.0~git20170725.1.1648deb+dfsg1-7         amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-codec1.1:amd64               1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (codec library)
ii  libfreerdp-common1.1.0:amd64            1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (common library)
ii  libfreerdp-core1.1:amd64                1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (core library)
ii  libfreerdp-crypto1.1:amd64              1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (freerdp-crypto library)
ii  libfreerdp-gdi1.1:amd64                 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (GDI library)
ii  libfreerdp-locale1.1:amd64              1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (locale library)
ii  libfreerdp-plugins-standard:amd64       1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        RDP client for Windows Terminal Services (plugins)
ii  libfreerdp-primitives1.1:amd64          1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (primitives library)
ii  libfreerdp-rail1.1:amd64                1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (rail library)
ii  libfreerdp-utils1.1:amd64               1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (freerdp-utils library)
ii  libfreerdp2-2:amd64                     2.0.0~git20170725.1.1648deb+dfsg1-7         amd64        Free Remote Desktop Protocol library (core library)
ii  libxfreerdp-client1.1:amd64             1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64        Free Remote Desktop Protocol library (xfreerdp-client library)

x2go package list:

ii  x2goclient                              4.1.2.1-0~1788~ubuntu18.04.1                amd64        X2Go Client application (Qt4)
ii  x2gomatebindings                        0.0.1.5-0~203~ubuntu18.04.1                 amd64        X2Go MATE bindings and MIME types
ii  x2goserver                              4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go server
ii  x2goserver-common                       4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go Server (common files)
ii  x2goserver-extensions                   4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go Server (extension support)
ii  x2goserver-x2goagent                    4.1.0.2-0~1642~ubuntu18.04.1                amd64        X2Go Server's X2Go Agent
ii  x2goserver-xsession                     4.1.0.2-0~1642~ubuntu18.04.1                all          X2Go Server (Xsession runner)
@akallabeth
Copy link
Member

Could you tell /buildconfig of your freerdp?
'Latest' seems like the distro package?
Does it work with our nightlies?

@miminno
Copy link

miminno commented Oct 31, 2018

Same error here.

[14:58:28:299] [27291:27292] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32
[14:58:28:300] [27291:27292] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 18 (X_ChangeProperty)
Serial number of failed request: 59
Current serial number in output stream: 63

Version built from git: 2.0.0.rc3.r360.g7b0f4f5dc-1

@bmiklautz
Copy link
Member

@michael-newsrx could you try our latest nightly package if the same problem exists there?
https://ci.freerdp.com/job/freerdp-nightly-binaries/

@miminno
Copy link

miminno commented Nov 5, 2018

I can confirm that this problem still exists in the latest nightly:

./xfreerdp --version
This is FreeRDP version 2.0.0-dev4 (29d3fea)

@miminno
Copy link

miminno commented Nov 9, 2018

Doesn't look like a FreeRDP problem after all. This issue occurs only when Big Requests extension is disabled. That's something x2go does, claiming it isn't properly implemented in NX engine.

Disable BIG-REQUESTS, nx-libs does not implement this extension correctly. Leads to all sorts of weird crashes if left enabled.

Once it's re-enabled in NX agent config file, FreeRDP is happy.

@bmiklautz
Copy link
Member

@miminno good to know! Thanks you for sharing this finding.

@bmiklautz
Copy link
Member

@michael-newsrx can you verify if this is the same problem you have?

@michael-newsrx
Copy link
Author

michael-newsrx commented Nov 13, 2018 via email

@jre-wine
Copy link

@michael-newsrx:
Comment out/remove this line in /etc/x2go/x2goagent.options:
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension BIG-REQUESTS"

We were also affected by this, and the change fixed it (and so far no x2go crashes).
Thanks everyone

@michael-newsrx
Copy link
Author

michael-newsrx commented Nov 13, 2018 via email

@jre-wine
Copy link

No idea, @michael-newsrx.

Forwarded this issue to x2go devs: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1341

@michael-newsrx
Copy link
Author

michael-newsrx commented Nov 14, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants