nashaofu / dingtalk

钉钉桌面版,基于electron和钉钉网页版开发,支持Windows、Linux和macOS
MIT License
2.84k stars 452 forks source link

2.1.0 不能运行 #212

Open vfr456 opened 5 years ago

vfr456 commented 5 years ago

manjaro kde

$ ./dingtalk-2.1.0-x86_64.AppImage 

(process:1059): GLib-CRITICAL **: 10:55:26.791: g_file_test: assertion 'filename != NULL' failed
gtk-update-icon-cache: The generated cache was invalid.
which: no gtk-update-icon-cache-3.0 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/xxx/go/bin:/usr/local/go/bin:/home/xxx/.local/bin:/home/xxx/apps)
[1059:0611/105529.147255:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_dingtaiV3CTL/chrome-sandbox is owned by root and has mode 4755.
[1]    1059 trace trap (core dumped)  ./dingtalk-2.1.0-x86_64.AppImage
vfr456 commented 5 years ago

还有托盘的图标显示是这个样子的,缩放过度了 2019-06-11_14-42.png

hjklyuio commented 5 years ago

2.1.0这个deb版本,安装上之后点击图标打不开

nashaofu commented 5 years ago

@hjklyuio 你尝试使用命令行启动试一下,直接在终端输入dingtalk试试

hjklyuio commented 5 years ago

也没有反应

nashaofu notifications@github.com 于 2019年6月11日周二 下午8:44写道:

@hjklyuio https://github.com/hjklyuio 你尝试使用命令行启动试一下,直接在终端输入dingtalk试试

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nashaofu/dingtalk/issues/212?email_source=notifications&email_token=ALWO74EXXHV36NXS3JHRIPTPZ6MZXA5CNFSM4HW2DW3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXM7SSA#issuecomment-500824392, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWO74F2LDRL5BOLH5BS6B3PZ6MZXANCNFSM4HW2DW3A .

nashaofu commented 5 years ago

没有报错信息吗

hjklyuio commented 5 years ago

什么反应都没有

nashaofu notifications@github.com 于 2019年6月11日周二 下午8:59写道:

没有报错信息吗

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nashaofu/dingtalk/issues/212?email_source=notifications&email_token=ALWO74BHZNIAE5VC3LLJFO3PZ6OTFA5CNFSM4HW2DW3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNA43A#issuecomment-500829804, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWO74AM2GLHDDC46R4M62TPZ6OTFANCNFSM4HW2DW3A .

qdeduos commented 5 years ago

无法运行 user@debian:~$ dingtalk dingtalk: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by dingtalk) [17860:0613/194350.512741:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/钉钉/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap

user@debian:~$ sh /opt/钉钉/dingtalk /opt/钉钉/dingtalk: 1: /opt/钉钉/dingtalk: Syntax error: ")" unexpected

hjklyuio commented 5 years ago

我用root账户运行的

qdeduos notifications@github.com 于 2019年6月13日周四 下午7:42写道:

无法运行 user@debian:~$ sh /opt/钉钉/dingtalk /opt/钉钉/dingtalk: 1: /opt/钉钉/dingtalk: Syntax error: ")" unexpected

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nashaofu/dingtalk/issues/212?email_source=notifications&email_token=ALWO74B6HORYQES5TGG2HSLP2IXBXA5CNFSM4HW2DW3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXTNMVY#issuecomment-501667415, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWO74G2CT2DHXXUAOG5CE3P2IXBXANCNFSM4HW2DW3A .

nashaofu commented 5 years ago

@hjklyuio

捕获 ubuntn 是没有问题的

manjaro kde没使用过,也没有测试,debian能安装,但是运行了没有反应,不知道什么原因,我也不是很了解linux,只对ubuntn熟悉一点 ,从报错来看感觉像是权限问题

talenhao commented 5 years ago

arch $ ./dingtalk-2.1.0-x86_64.AppImage zenity, kdialog, Xdialog missing. Skipping /tmp/.mount_dingtakunn9x/AppRun. [8920:0621/101435.184100:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than runwithout sandboxing I'm aborting now. You need to make sure that /tmp/.mount_dingtakunn9x/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)

talenhao commented 5 years ago

arch $ ./dingtalk-2.1.0-x86_64.AppImage zenity, kdialog, Xdialog missing. Skipping /tmp/.mount_dingtakunn9x/AppRun. [8920:0621/101435.184100:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than runwithout sandboxing I'm aborting now. You need to make sure that /tmp/.mount_dingtakunn9x/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped)

2.0.15没有这个问题

nashaofu commented 5 years ago

@mengyaoss77 @hjklyuio @hjklyuio @qdeduos @talenhao 你们运行一下sudo sysctl kernel.unprivileged_userns_clone=1这个命令试一下,我这边在Debian上运行本命令后成功运行,详情参考:https://github.com/electron/electron/issues/17972

talenhao commented 5 years ago

@mengyaoss77 @hjklyuio @hjklyuio @qdeduos @talenhao 你们运行一下sudo sysctl kernel.unprivileged_userns_clone=1这个命令试一下,我这边在Debian上运行本命令后成功运行,详情参考:electron/electron#17972

arch今天试了下可以运行了,不知道是什么原因.目前已经正常使用.

BackFire commented 5 years ago

@hjklyuio

捕获 ubuntn 是没有问题的

manjaro kde没使用过,也没有测试,debian能安装,但是运行了没有反应,不知道什么原因,我也不是很了解linux,只对ubuntn熟悉一点 ,从报错来看感觉像是权限问题

/opt/钉钉/chrome-sandbox 的权限问题,必须所有者为root,并设置SUID chmod 4755 /opt/钉钉/chrome-sandbox -rwsr-xr-x 1 root root 5185424 6月 7 21:55 chrome-sandbox

hjklyuio commented 5 years ago

不用root就可以使用

郝天飞 notifications@github.com 于 2019年6月25日周二 下午4:31写道:

@mengyaoss77 https://github.com/mengyaoss77 @hjklyuio https://github.com/hjklyuio @hjklyuio https://github.com/hjklyuio @qdeduos https://github.com/qdeduos @talenhao https://github.com/talenhao 你们运行一下sudo sysctl kernel.unprivileged_userns_clone=1这个命令试一下,我这边在Debian上运行本命令后成功运行,详情参考: electron/electron#17972 https://github.com/electron/electron/issues/17972

arch今天试了下可以运行了,不知道是什么原因.目前已经正常使用.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nashaofu/dingtalk/issues/212?email_source=notifications&email_token=ALWO74FQEBSTLMZEMOAXMILP4HJU7A5CNFSM4HW2DW3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPPAUQ#issuecomment-505344082, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWO74CTJHMHH5AB5YJD2M3P4HJU7ANCNFSM4HW2DW3A .