huan / docker-wechat

DoChat is a Dockerized WeChat (盒装微信) PC Windows Client for Linux
https://hub.docker.com/r/zixia/wechat
Apache License 2.0
2.24k stars 203 forks source link

BUG? #171

Open triple-Mu opened 2 years ago

triple-Mu commented 2 years ago

(base) ubuntu@y9000p:~$ curl -sL https://gitee.com/mirrors/dochat/raw/main/dochat.sh | bash

   ____         ____ _           _
  |  _ \  ___  / ___| |__   __ _| |_
  | | | |/ _ \| |   | '_ \ / _` | __|
  | |_| | (_) | |___| | | | (_| | |_
  |____/ \___/ \____|_| |_|\__,_|\__|

  https://github.com/huan/docker-wechat

            +--------------+
           /|             /|
          / |            / |
         *--+-----------*  |
         |  |           |  |
         |  |   盒装    |  |
         |  |   微信    |  |
         |  +-----------+--+
         | /            | /
         |/             |/
         *--------------*

  DoChat /dɑɑˈtʃæt/ (Docker-weChat) is:

  📦 a Docker image
  🤐 for running PC Windows WeChat
  💻 on your Linux desktop
  💖 by one-line of command

🚀 Pulling the docker image...

3.3.0.115: Pulling from zixia/wechat Digest: sha256:6a02c18922553aa9c1c465d0db90fd73b44010d83c3ff367588c31695eff5d56 Status: Image is up to date for zixia/wechat:3.3.0.115 docker.io/zixia/wechat:3.3.0.115

🚀 Pulling the docker image done. 🚀 Starting DoChat /dɑɑˈtʃæt/ ...

[DoChat] 盒装微信 v0.15.0 Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ... Disabling patch for /home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat ... [DoChat] WeChat 3.3.0.115 [DoChat] Starting... libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 782 Current serial number in output stream: 781 [DoChat] WeChat.exe exit with code 0 [DoChat] Found new version? [DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues

rhuang10 commented 2 years ago

The same to me.

sefeng211 commented 2 years ago

I don't know the details but first of you could try running the command with debug mode curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true bash and see if you can get more useful info.

Also try to provide a scaling option and see if it helps.

rhuang10 commented 2 years ago

Get this error message now. Any idea? Thanks.

Rcklos commented 2 years ago

You can try my solution: Before running dochat, you can run xhost +SI:localuser: your _ username, and then open and run dochat. it works for me.