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

manjaro 启动失败 #68

Open
phantooom opened this issue Jun 2, 2020 · 7 comments
Open

manjaro 启动失败 #68

phantooom opened this issue Jun 2, 2020 · 7 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@phantooom
Copy link

phantooom commented Jun 2, 2020

debug log

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע�������ֵ
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
Register for Wechat not found ?
[0602/070310:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0602/070310:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8

system version


██████████████████  ████████   phantooom@phantooom-yoga-14s 
██████████████████  ████████   ---------------------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: 82A8 Yoga 14sARE 2020 
████████            ████████   Kernel: 5.6.15-1-MANJARO 
████████  ████████  ████████   Uptime: 37 mins 
████████  ████████  ████████   Packages: 1303 (pacman) 
████████  ████████  ████████   Shell: zsh 5.8 
████████  ████████  ████████   Resolution: 1920x1080, 1920x1080 
████████  ████████  ████████   DE: GNOME 
████████  ████████  ████████   WM: Mutter 
████████  ████████  ████████   WM Theme: Matcha-sea 
████████  ████████  ████████   Theme: Matcha-sea [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3] 
                               Terminal: terminator 
                               CPU: AMD Ryzen 7 4800U with Radeon Graphics (16) @ 1.800GHz 
                               GPU: AMD ATI 04:00.0 Renoir 
                               Memory: 2717MiB / 15425MiB 

                                                       
                                                       
@huan huan added the question Further information is requested label Jun 2, 2020
@JohnNiang
Copy link

Same error:

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
No protocol specified
reg��ϵͳ�޷��ҵ�ָ����ע�������ֵ
Register for Wechat not found ?
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
[0710/050714:FATAL:temp_window.cc(43)] Check failed: hwnd_. 
Backtrace:
	cef_time_to_timet [0x02B41391+635121]
	GetTXBrowsingService [0x02A54F2F+162895]
	GetTXBrowsingService [0x02A3BC31+59729]
	Func_initCef [0x06571A80+336]
	_TlsGetData@12 [0x1078A31A+2989418]
	IMVQQEngine::`default constructor closure' [0x101FC0BF+1341599]
	IMVQQEngine::`default constructor closure' [0x101F9DCB+1332651]
	WCSGetInstance [0x107BDD9C+148460]
	WCSGetInstance [0x107BDCCB+148251]
	WCSGetInstance [0x107B9DE9+132153]
	WCSGetInstance [0x107BA39A+133610]
	IMVQQEngine::`default constructor closure' [0x10236988+1581416]
	IMVQQEngine::`default constructor closure' [0x101FC632+1342994]
	WCSGetInstance [0x107BF922+155506]
	(No symbol) [0x7F8BBB2C]
	(No symbol) [0x7F8BC239]
	(No symbol) [0x7F8BE553]
	(No symbol) [0x7F87C54E]
	(No symbol) [0x7F8832C9]
	(No symbol) [0x7F883537]
	(No symbol) [0x7F8B19F0]
	(No symbol) [0x7F8AAF39]
	WCSGetInstance [0x107BF510+154464]
	WCSGetInstance [0x107BA130+132992]
	_TlsGetData@12 [0x10795D2C+3037052]
	StartWachat [0x10796939+329]
	EntryPoint [0x00401918+18446744073709551615]
	EntryPoint [0x004030B9+18446744073709551615]
	(No symbol) [0x7B464A82]
	(No symbol) [0x7B466D5D]
	(No symbol) [0x7B464A8E]
	(No symbol) [0x00000000]

@colatea
Copy link

colatea commented Jul 15, 2020

我也一样 manjaro

  • pullUpdate

  • '[' -n '' ']'

  • echo '🚀 Pulling the docker image...'
    🚀 Pulling the docker image...

  • echo

  • docker pull zixia/wechat:2.7.1.85
    2.7.1.85: Pulling from zixia/wechat
    Digest: sha256:e6e9d21c7cd1dfae0484e697f12f5f3c401de2f02e771d061868740e0d26549d
    Status: Image is up to date for zixia/wechat:2.7.1.85
    docker.io/zixia/wechat:2.7.1.85

  • echo

  • echo '🚀 Pulling the docker image done.'
    🚀 Pulling the docker image done.

  • DEVICE_ARG=()

  • for DEVICE in /dev/video* /dev/snd

  • DEVICE_ARG+=('--device' "$DEVICE")

  • for DEVICE in /dev/video* /dev/snd

  • DEVICE_ARG+=('--device' "$DEVICE")

  • echo '🚀 Starting DoChat /dɑɑˈtʃæt/ ...'
    🚀 Starting DoChat /dɑɑˈtʃæt/ ...

  • echo

++ getent group audio
++ cut -d: -f3
++ getent group video
++ cut -d: -f3
++ id -g
++ id -u

  • docker run --device '/dev/video*' --device /dev/snd --name DoChat --rm -i -v '/home/colatea/DoChat/WeChat Files/:/home/user/WeChat Files/' -v '/home/colatea/DoChat/Applcation Data:/home/user/.wine/drive_c/users/user/Application Data/' -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -e DOCHAT_DEBUG -e DOCHAT_DPI -e XMODIFIERS=@im=fcitx -e GTK_IM_MODULE=fcitx -e QT_IM_MODULE=fcitx -e AUDIO_GID=995 -e VIDEO_GID=986 -e GID=1000 -e UID=1000 --ipc=host --privileged zixia/wechat:2.7.1.85

  • echo

  • echo '📦 DoChat Exited with code [0]'
    📦 DoChat Exited with code [0]

  • echo

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

  • echo

@sep2
Copy link

sep2 commented Aug 20, 2020

same error

> DOCHAT_DEBUG=true ./dochat.sh

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

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

2.7.1.85: Pulling from zixia/wechat
Digest: sha256:e6e9d21c7cd1dfae0484e697f12f5f3c401de2f02e771d061868740e0d26549d
Status: Image is up to date for zixia/wechat:2.7.1.85
docker.io/zixia/wechat:2.7.1.85

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

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע��������ֵ
Register for Wechat not found ?
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
[0820/154134:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0820/154134:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8

@huan huan added the help wanted Extra attention is needed label Aug 21, 2020
@SilenWang
Copy link

debug log

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע�������ֵ
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
Register for Wechat not found ?
[0602/070310:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0602/070310:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8

system version


██████████████████  ████████   phantooom@phantooom-yoga-14s 
██████████████████  ████████   ---------------------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: 82A8 Yoga 14sARE 2020 
████████            ████████   Kernel: 5.6.15-1-MANJARO 
████████  ████████  ████████   Uptime: 37 mins 
████████  ████████  ████████   Packages: 1303 (pacman) 
████████  ████████  ████████   Shell: zsh 5.8 
████████  ████████  ████████   Resolution: 1920x1080, 1920x1080 
████████  ████████  ████████   DE: GNOME 
████████  ████████  ████████   WM: Mutter 
████████  ████████  ████████   WM Theme: Matcha-sea 
████████  ████████  ████████   Theme: Matcha-sea [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3] 
                               Terminal: terminator 
                               CPU: AMD Ryzen 7 4800U with Radeon Graphics (16) @ 1.800GHz 
                               GPU: AMD ATI 04:00.0 Renoir 
                               Memory: 2717MiB / 15425MiB 

                                                       
                                                       

不知道我的情况能不能给你做参考, 我全新安装的manjaro也是不能正常打开程序的, 然后我参照了其他docker gui的设置方案Docker容器运行GUI程序的配置方法, 然后注意到里面有一条:xhost +, 作用是允许包括docker在内的所有用户访问x11, 所以我安装xhost程序并执行这个命令了.

sudo pacman -S xorg-xhost
xhost +

之后能够顺利运行doChat.

@Wiilz
Copy link

Wiilz commented Sep 28, 2020

debug log

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע�������ֵ
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
Register for Wechat not found ?
[0602/070310:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0602/070310:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8

system version


██████████████████  ████████   phantooom@phantooom-yoga-14s 
██████████████████  ████████   ---------------------------- 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Host: 82A8 Yoga 14sARE 2020 
████████            ████████   Kernel: 5.6.15-1-MANJARO 
████████  ████████  ████████   Uptime: 37 mins 
████████  ████████  ████████   Packages: 1303 (pacman) 
████████  ████████  ████████   Shell: zsh 5.8 
████████  ████████  ████████   Resolution: 1920x1080, 1920x1080 
████████  ████████  ████████   DE: GNOME 
████████  ████████  ████████   WM: Mutter 
████████  ████████  ████████   WM Theme: Matcha-sea 
████████  ████████  ████████   Theme: Matcha-sea [GTK2/3] 
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3] 
                               Terminal: terminator 
                               CPU: AMD Ryzen 7 4800U with Radeon Graphics (16) @ 1.800GHz 
                               GPU: AMD ATI 04:00.0 Renoir 
                               Memory: 2717MiB / 15425MiB 

                                                       
                                                       

不知道我的情况能不能给你做参考, 我全新安装的manjaro也是不能正常打开程序的, 然后我参照了其他docker gui的设置方案Docker容器运行GUI程序的配置方法, 然后注意到里面有一条:xhost +, 作用是允许包括docker在内的所有用户访问x11, 所以我安装xhost程序并执行这个命令了.

sudo pacman -S xorg-xhost
xhost +

之后能够顺利运行doChat.

酷,试了下你的方法,已经可以运行了。

@huan
Copy link
Owner

huan commented Oct 3, 2020

Could you please add this solution to our README to help our users who might run into this issue in the future?

@alex-oos
Copy link

image
启动报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

8 participants