Skip to content
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

X Error of failed request: BadValue (integer parameter out of range for operation) #8

Closed
garex opened this issue Dec 8, 2016 · 4 comments

Comments

@garex
Copy link

garex commented Dec 8, 2016

  1. Started xserver container
  2. Started wine container with links
  3. Running wine wineboot --init I got:
wine: created the configuration directory '/home/xclient/.wine'
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Value in failed request:  0x140
  Serial number of failed request:  221
  Current serial number in output stream:  221
xclient@71fd08743a8c:~$ 
@suchja
Copy link
Owner

suchja commented Dec 8, 2016

@garex Thanks for using this image! Have you checked whether wine is running or not? I experienced this error as well, but it did not seem to have any impact. See here.

@suchja
Copy link
Owner

suchja commented Feb 28, 2017

Please also see this hint from x11docker (commented on the image description on hub.docker.com):

To X error ... Bad Value: your apps in docker try to access shared memory from X (X extension MIT-SHM). You can either allow access with docker run option --ipc=host, but this breaks container isolation. Otherwise, you should run your X server with MIT-SHM disabled ( X option -extension MIT-SHM). I solved this problem with x11docker, running a second X server without MIT-SHM (and without the need of VNC, by the way)

Haven't tried it, but might work as well.

@suchja
Copy link
Owner

suchja commented Feb 28, 2017

If you have further questions please feel free to open a new issue.

@nevmerzhitsky
Copy link

A possible fix mentioned here osrf/docker_images#21 (comment)

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

No branches or pull requests

3 participants