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

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

Open
alex-oos opened this issue Sep 6, 2023 · 12 comments
Open

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

alex-oos opened this issue Sep 6, 2023 · 12 comments

Comments

@alex-oos
Copy link

alex-oos commented Sep 6, 2023

启动 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.

@alex-oos alex-oos changed the title docker 启动了项目,为啥没有任何UI或客户端呢? ubuntu 22.0 启动,没有显示图形界面 Sep 7, 2023
@alex-oos alex-oos changed the title ubuntu 22.0 启动,没有显示图形界面 ubuntu 20.4 无法启动图形界面 Sep 7, 2023
@top-bettercode
Copy link
Owner

top-bettercode commented Sep 7, 2023

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

@ybzou0706
Copy link

感谢你提供的方式,按照提供的方法去掉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
Copy link
Author

alex-oos commented Sep 7, 2023

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

@top-bettercode
Copy link
Owner

感谢你提供的方式,按照提供的方法去掉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
Copy link
Author

alex-oos commented Sep 7, 2023

容器中的微信里使用输入法 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
Copy link

238Ver commented Sep 25, 2023

容器中的微信里使用输入法 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
Copy link

238Ver commented Sep 25, 2023

容器中的微信里使用输入法 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
Copy link
Author

alex-oos commented Oct 7, 2023

容器中的微信里使用输入法 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
Copy link

容器中的微信里使用输入法 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
Copy link
Author

alex-oos commented Oct 20, 2023

容器中的微信里使用输入法 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
Copy link

238Ver commented Oct 28, 2023

容器中的微信里使用输入法 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
Copy link

e-miao commented Nov 13, 2023

容器中的微信里使用输入法 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:
- /dev/snd
ipc: host
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- $HOME/wechat/wechat_files:/WeChatFiles #使用自己用户目录
environment:
- DISPLAY=$DISPLAY
# - DISPLAY=unix$DISPLAY
- QT_IM_MODULE=ibus # 中文输入,这里根据系统输入法类型自行输入,默认是IBus
- XMODIFIERS=@im=ibus
- GTK_IM_MODULE=ibus
- GID=1000
- UID=1000
- AUDIO_GID=29
- VIDEO_GID=44
- DOCHAT_DPI=96

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

6 participants