-
Notifications
You must be signed in to change notification settings - Fork 204
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
无法正常打开 DoChat Exited with code [0] #188
Comments
Try sudo pacman -S xorg-xhost
xhost + |
For ubuntu users, go xhost +SI:localuser:YOUR_USER_NAME |
I ran: > xhost +
access control disabled, clients can connect from any host Still seeing the same issue:
|
I tinkered the script a bit to get an interactive shell: diff --git a/dochat.sh b/dochat.sh
index 692aff0..55bdc93 100755
@@ -97,7 +97,7 @@ function main () {
"${DEVICE_ARG[@]}" \
--name DoChat \
--rm \
- -i \
+ -it \
\
-v "$HOME/DoChat/WeChat Files/":'/home/user/WeChat Files/' \
-v "$HOME/DoChat/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
--- a/dochat.sh
+++ b/dochat.sh
@@ -117,12 +117,13 @@ function main () {
-e UID="$(id -u)" \
\
--ipc=host \
\
+ --entrypoint /bin/bash \
"$DOCHAT_IMAGE_VERSION"
echo
And checked the X11 socket: user@c400af7960ec:/$ whoami
user
user@c400af7960ec:/$ ls -l /tmp/.X11-unix/X0
srwxr-xr-x 1 root root 0 6月 20 18:13 /tmp/.X11-unix/X0 The socket itself is only writable by root, so the user running wechat cannot connect to it. An ugly hack could be to change the socket to be world writable ( I'm not sure how to properly fix this. My user on the host ( |
在运行
DoChat
时,报错。随后启用DEBUG
模式,发现Make sure that your X server is running and that $DISPLAY is set correctly
,我认为X11
目录挂在是正常的。期待任何建议,谢谢。基本信息:
uname -a Linux archlinux 6.0.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:49 +0000 x86_64 GNU/Linux
错误日志:
The text was updated successfully, but these errors were encountered: