deepin-wine-wechat-arch icon indicating copy to clipboard operation
deepin-wine-wechat-arch copied to clipboard

Xorg显示服务器无法运行微信

Open Crany-web opened this issue 1 year ago • 4 comments

这个包在使用Wayland显示服务器的情况下可以正常运行,在使用Xorg显示服务器的情况下无法正常运行

Crany-web avatar Jun 21 '23 02:06 Crany-web

这里到今天(8.13)还有同样的问题,请问有人解决了吗?

MrPeterJin avatar Aug 13 '23 03:08 MrPeterJin

这里到今天(8.13)还有同样的问题,请问有人解决了吗?

相关 log 如下:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  10
  Current serial number in output stream:  10

MrPeterJin avatar Aug 14 '23 02:08 MrPeterJin

参考https://wiki.archlinux.org/title/Deepin-wine 的3.1部分

biuniun avatar Aug 18 '23 02:08 biuniun

我使用的系统是基于arch的manjaro,之前用的微信挺好的,后来系统滚动更新,不知道什么原因之前可以正常使用微信,滚动后微信起不来,也是报这个错误。。具体解决办法如下

https://wiki.archlinux.org/title/Deepin-wine 文档尾部有说明,需要安装xsettingsd并设置 安装 yay -S xsettingsd 设置如下

cat .config/xsettingsd/xsettingsd.conf
Xft/Hinting 1
Xft/HintStyle "hintslight"
Xft/Antialias 1
Xft/RGBA "rgb"

启动

  • 先启动xsettingsd /usr/bin/xsettingsd &
  • 再启动微信
  • 也可以设置 xsettingsd 为开机自启动
  • 也可以修改 /opt/apps/com.qq.weixin.deepin/files/run.sh ,再RUN函数开头位置增加
     if [[ -z "$(ps -e | grep -o xsettingsd)" ]]
      then
          /usr/bin/xsettingsd &
      fi

jianghukuangke avatar Jan 28 '24 09:01 jianghukuangke