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

xhost +x 了,但是没有界面 #8

Closed
Sherlock-Holo opened this issue Aug 11, 2018 · 3 comments
Closed

xhost +x 了,但是没有界面 #8

Sherlock-Holo opened this issue Aug 11, 2018 · 3 comments

Comments

@Sherlock-Holo
Copy link

wechat    | 2018-08-11T03:10:32.449638692Z 启动 WeChat
wechat    | 2018-08-11T03:10:32.623979948Z wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wechat    | 2018-08-11T03:10:32.677665374Z wine version: 2.18
wechat    | 2018-08-11T03:10:33.477653181Z [0811/111033:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
wechat    | 2018-08-11T03:10:33.535379478Z X Error of failed request:  BadValue (integer parameter out of range for operation)
wechat    | 2018-08-11T03:10:33.535402703Z   Major opcode of failed request:  130 (MIT-SHM)
wechat    | 2018-08-11T03:10:33.535407995Z   Minor opcode of failed request:  3 (X_ShmPutImage)
wechat    | 2018-08-11T03:10:33.535411842Z   Value in failed request:  0x13e
wechat    | 2018-08-11T03:10:33.535415509Z   Serial number of failed request:  345
wechat    | 2018-08-11T03:10:33.535419027Z   Current serial number in output stream:  346

这是log,请问如何处理

@Sherlock-Holo
Copy link
Author

使用的是docker-compose start

@top-bettercode
Copy link
Owner

试试禁用“MIT-SHM”共享X进程内存的功能

具体操作:

vi /etc/X11/xorg.conf

增加:

Section "Extensions"
Option "MIT-SHM" "Disable"
EndSection

@Sherlock-Holo
Copy link
Author

把container删掉重新 run -d 就没有问题

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

2 participants