top-bettercode / docker-qq

提供一种在linux下运行QQ的方式
https://hub.docker.com/r/bestwu/qq/
Apache License 2.0
403 stars 52 forks source link

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

Closed Sherlock-Holo closed 3 years ago

Sherlock-Holo commented 6 years ago
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 commented 6 years ago

使用的是docker-compose start

top-bettercode commented 6 years ago

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

具体操作:

vi /etc/X11/xorg.conf

增加:

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

Sherlock-Holo commented 6 years ago

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