top-bettercode / docker-wechat

微信 docker 镜像
https://hub.docker.com/r/bestwu/wechat/
486 stars 69 forks source link

ubuntu 20.4 无法启动图形界面 #58

Open alex-oos opened 1 year ago

alex-oos commented 1 year ago

启动 WeChat ==> Deploying /home/wechat/.deepinwine/Deepin-WeChat ... ==> Launching c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe ... Don't use public dir Run Deepin-WeChat 3.4.0.38deepin6 c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe run Deepin-WeChat progress pid mv: '/home/wechat/.deepinwine/Deepin-WeChat/drive_c/users/@current_user@' and '/home/wechat/.deepinwine/Deepin-WeChat/drive_c/users/@current_user@' are the same file CallApp Deepin-WeChat arg count 1: c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe Don't use public dir 2023年 09月 07日 星期四 08:44:51 UTC:kill Deepin-WeChat block 2023年 09月 07日 星期四 08:44:51 UTC:tag bottle: /home/wechat/.deepinwine/Deepin-WeChat /usr/bin/env: ‘python2’: No such file or directory xprop: unable to open display 'unix:0' 2023年 09月 07日 星期四 08:44:51 UTC:active bottles: 2023年 09月 07日 星期四 08:44:51 UTC:try to kill /home/wechat/.deepinwine/Deepin-WeChat /opt/deepinwine/tools/kill.sh: line 65: /proc/82/environ: No such file or directory cat: /proc/82/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/82/cmdline: No such file or directory xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/82/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/107/maps: No such file or directory grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/107/cmdline: No such file or directory xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / grep: warning: stray \ before / cat: /proc/107/maps: No such file or directory grep: warning: stray \ before / wechat 186 58 0 08:44 ? 00:00:00 grep -E .exe. Starting process c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe ... ==> Creating /home/wechat/.deepinwine/Deepin-WeChat/PACKAGE_VERSION ... /usr/sbin/deepin-wine6-stable: line 46: arch: command not found /usr/sbin/deepin-wine6-stable: line 50: [: too many arguments wine version: 6.0 wine: configuration in L"Y:\.deepinwine\Deepin-WeChat" has been updated.

top-bettercode commented 1 year ago

xprop: unable to open display 'unix:0' 查看本机DISPLAY: echo $DISPLAY, 尝试docker环境变量去掉unix,使用 DISPLAY=$DISPLAY

ybzou0706 commented 1 year ago

感谢你提供的方式,按照提供的方法去掉unix后可以进入登录界面 ,但同时会不断弹窗报错,错误信息如下: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance info: Game: WeChatPlayer.exe info: DXVK: v1.7-5-g80ac6724+ info: Built-in extension providers: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance [0907/121100.621:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored [0907/121114.455:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored [0907/121127.988:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored [0907/121140.255:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored [0907/121152.965:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored wine: Unhandled page fault on read access to A5411000 at address 7BC6EA53 (thread 0408), starting debugger... wine: Unhandled page fault on read access to A5411000 at address 7BC6EA53 (thread 0454), starting debugger... 请问有什么方式可以解决么?期待回复

alex-oos commented 1 year ago

xprop: unable to open display 'unix:0' 查看本机DISPLAY: echo $DISPLAY, 尝试docker环境变量去掉unix,使用 DISPLAY=$DISPLAY 已经解决了,谢谢啦

top-bettercode commented 1 year ago

感谢你提供的方式,按照提供的方法去掉unix后可以进入登录界面 ,但同时会不断弹窗报错,错误信息如下: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance info: Game: WeChatPlayer.exe info: DXVK: v1.7-5-g80ac6724+ info: Built-in extension providers: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Required Vulkan extension VK_KHR_surface not supported err: DxvkInstance: Failed to create instance [0907/121100.621:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:00: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored [0907/121114.455:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:14: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored [0907/121127.988:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:28: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored [0907/121140.255:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:40: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored [0907/121152.965:ERROR:process_info.cc(375)] NtQuerySystemInformation SystemExtendedHandleInformation: <failed to retrieve error message (0x13d)> (0xc0000003) 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module tzres.dll could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module api-ms-win-downlevel-shell32-l1 could not be stored 2023-09-07 12:11:53: basic_code_modules.cc:73: ERROR: Module rsaenh.dll could not be stored wine: Unhandled page fault on read access to A5411000 at address 7BC6EA53 (thread 0408), starting debugger... wine: Unhandled page fault on read access to A5411000 at address 7BC6EA53 (thread 0454), starting debugger... 请问有什么方式可以解决么?期待回复

tzres.dll被破坏,建议尝试删除映射的目录及容器,重新运行

alex-oos commented 1 year ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

238Ver commented 11 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

238Ver commented 11 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

我用的是2.6.8deepin0的那个版本,最新版的托盘在ubunu上有bug,似乎输入法这样也不可以了

alex-oos commented 11 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

我用的是2.6.8deepin0的那个版本,最新版的托盘在ubunu上有bug,似乎输入法这样也不可以了

嗯,我最终找了另外一个项目,可以使用了

finn-wang commented 10 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

我用的是2.6.8deepin0的那个版本,最新版的托盘在ubunu上有bug,似乎输入法这样也不可以了

嗯,我最终找了另外一个项目,可以使用了

请问您使用的是哪一个项目,我改为fcitx5之后还是不能使用中文输入法

alex-oos commented 10 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

我用的是2.6.8deepin0的那个版本,最新版的托盘在ubunu上有bug,似乎输入法这样也不可以了

嗯,我最终找了另外一个项目,可以使用了

请问您使用的是哪一个项目,我改为fcitx5之后还是不能使用中文输入法 https://alex-oos.github.io/posts/6da36a09/ 查看一下这篇文章,这篇文章里面有说具体使用的那一个软件,以及具体的教程

238Ver commented 10 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

我用的是2.6.8deepin0的那个版本,最新版的托盘在ubunu上有bug,似乎输入法这样也不可以了

嗯,我最终找了另外一个项目,可以使用了

请问您使用的是哪一个项目,我改为fcitx5之后还是不能使用中文输入法

就是本项目的:2.6.8.65deepin0版本

e-miao commented 9 months ago

容器中的微信里使用输入法 fcitx 不能使用,这个是什么原因呢?启动命令如下:

        docker run -d --name wechat --device /dev/snd --ipc="host"\
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        -v $HOME/WeChatFiles:/WeChatFiles \
        -e DISPLAY=$DISPLAY \
        -e XMODIFIERS=@im=fcitx \
        -e QT_IM_MODULE=fcitx \
        -e GTK_IM_MODULE=fcitx \
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        bestwu/wechat

系统信息如下: image

您使用的是fcitx5输入法吗?您尝试将配置中的fcitx全都改成fcitx5试一试,我成功了

您好,我使用的ibus输入法,使用最新版镜像,输入法在微信中不生效了,配置如下: version: '2' services: wechat: image: bestwu/wechat container_name: wechat restart: always devices: