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

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

Open
Crany-web opened this issue Jun 21, 2023 · 4 comments
Open

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

Crany-web opened this issue Jun 21, 2023 · 4 comments

Comments

@Crany-web
Copy link

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

@MrPeterJin
Copy link

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

@MrPeterJin
Copy link

这里到今天(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

@biuniun
Copy link

biuniun commented Aug 18, 2023

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

@jianghukuangke
Copy link

我使用的系统是基于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

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

4 participants