启动某些 snap 应用时没有任何反应

启动某些 snap 应用时没有任何反应

我正在尝试使用 Office365WebDesktop snap。该 snap 显然已从 Snap Store 成功安装,并且图标出现在我的应用程序列表中,但当我尝试运行它时什么也没发生。我在使用其他基于 Web 的 snap 应用程序时也遇到了同样的问题。

如果我尝试通过单击图标来运行 Office365WebDesktop,它会在退出之前短暂地出现在任务管理器中。没有出现任何窗口。如果我尝试从终端启动,则不会启动任何内容,也不会收到任何错误消息:

:~$ office365webdesktop 
:~$ 

我也尝试运行snap run --debug-log office365webdesktop;我没有看到任何相关的错误消息。我已将输出包含在这个问题的末尾。

我尝试过的其他快照应用程序也具有相同的结果:GoldenDictionary、OneNote Desktop、p3x-onenote。Chromium 和 Audacity 等快照运行没有问题。任何帮助使 Office365WebDesktop 正常工作的帮助都将不胜感激!

输出snap run --debug-log office365webdesktop

2023/01/18 09:03:02.224266 cmd_run.go:488: DEBUG: enabled debug logging of early snap startup
2023/01/18 09:03:02.224462 cmd_run.go:1037: DEBUG: executing snap-confine from /snap/snapd/17950/usr/lib/snapd/snap-confine
2023/01/18 09:03:02.224769 cmd_run.go:440: DEBUG: SELinux not enabled
2023/01/18 09:03:02.224990 tracking.go:46: DEBUG: creating transient scope snap.office365webdesktop.office365webdesktop
2023/01/18 09:03:02.225389 tracking.go:186: DEBUG: using session bus
2023/01/18 09:03:02.226162 tracking.go:319: DEBUG: create transient scope job: /org/freedesktop/systemd1/job/1617
2023/01/18 09:03:02.226569 tracking.go:419: DEBUG: job result is "done"
2023/01/18 09:03:02.226575 tracking.go:426: DEBUG: transient scope snap.office365webdesktop.office365webdesktop.3c530350-237e-4219-a855-99de4082ec25.scope created
2023/01/18 09:03:02.226697 tracking.go:146: DEBUG: waited 1.271622ms for tracking
2023/01/18 09:03:02.226703 logger.go:184: DEBUG: -- snap startup {"stage":"snap to snap-confine", "time":"1674061382.226701"}
DEBUG: -- snap startup {"stage":"snap-confine enter", "time":"1674061382.227596"}
DEBUG: umask reset, old umask was   02
DEBUG: security tag: snap.office365webdesktop.office365webdesktop
DEBUG: executable:   /usr/lib/snapd/snap-exec
DEBUG: confinement:  non-classic
DEBUG: base snap:    core18
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 1000, sgid: 1000
DEBUG: apparmor label on snap-confine is: /snap/snapd/17950/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: -- snap startup {"stage":"snap-confine mount namespace start", "time":"1674061382.227803"}
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: releasing lock 5
DEBUG: opened snap-update-ns executable as file descriptor 5
DEBUG: opened snap-discard-ns executable as file descriptor 6
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/office365webdesktop.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope office365webdesktop, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: office365webdesktop
DEBUG: setting up device cgroup
DEBUG: libudev has current tags support
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0 has matching current tag
DEBUG: get bpf object at path /sys/fs/bpf/snap/snap_office365webdesktop_office365webdesktop
DEBUG: found existing device map
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: get next key for map 8
DEBUG: found 24 existing entries in devices map
DEBUG: delete key for c 195:254
DEBUG: delete elem in map 8
DEBUG: delete key for c 226:128
DEBUG: delete elem in map 8
DEBUG: delete key for c 136:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 10:239
DEBUG: delete elem in map 8
DEBUG: delete key for c 510:0
DEBUG: delete elem in map 8
DEBUG: delete key for c 226:0
DEBUG: delete elem in map 8
DEBUG: delete key for c 140:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 141:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 10:200
DEBUG: delete elem in map 8
DEBUG: delete key for c 5:1
DEBUG: delete elem in map 8
DEBUG: delete key for c 5:2
DEBUG: delete elem in map 8
DEBUG: delete key for c 137:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 1:3
DEBUG: delete elem in map 8
DEBUG: delete key for c 195:0
DEBUG: delete elem in map 8
DEBUG: delete key for c 5:0
DEBUG: delete elem in map 8
DEBUG: delete key for c 195:255
DEBUG: delete elem in map 8
DEBUG: delete key for c 1:8
DEBUG: delete elem in map 8
DEBUG: delete key for c 142:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 1:9
DEBUG: delete elem in map 8
DEBUG: delete key for c 139:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 1:7
DEBUG: delete elem in map 8
DEBUG: delete key for c 138:-1
DEBUG: delete elem in map 8
DEBUG: delete key for c 1:5
DEBUG: delete elem in map 8
DEBUG: delete key for c 143:-1
DEBUG: delete elem in map 8
DEBUG: load program of type 0xf, 33 instructions
DEBUG: v2 allow c 1:3
DEBUG: v2 allow c 1:5
DEBUG: v2 allow c 1:7
DEBUG: v2 allow c 1:8
DEBUG: v2 allow c 1:9
DEBUG: v2 allow c 5:0
DEBUG: v2 allow c 5:1
DEBUG: v2 allow c 5:2
DEBUG: v2 allow c 136:4294967295
DEBUG: v2 allow c 137:4294967295
DEBUG: v2 allow c 138:4294967295
DEBUG: v2 allow c 139:4294967295
DEBUG: v2 allow c 140:4294967295
DEBUG: v2 allow c 141:4294967295
DEBUG: v2 allow c 142:4294967295
DEBUG: v2 allow c 143:4294967295
DEBUG: v2 allow c 195:0
DEBUG: v2 allow c 195:255
DEBUG: v2 allow c 510:0
DEBUG: v2 allow c 195:254
DEBUG: v2 allow c 10:239
DEBUG: v2 allow c 10:200
DEBUG: inspecting type of device: /dev/dri/card0
DEBUG: v2 allow c 226:0
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-DP-1 has matching current tag
DEBUG: cannot get major/minor numbers for syspath /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-DP-1
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-DP-2 has matching current tag
DEBUG: cannot get major/minor numbers for syspath /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-DP-2
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-HDMI-A-1 has matching current tag
DEBUG: cannot get major/minor numbers for syspath /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-HDMI-A-1
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-HDMI-A-2 has matching current tag
DEBUG: cannot get major/minor numbers for syspath /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/card0/card0-HDMI-A-2
DEBUG: device /sys/devices/pci0000:00/0000:00:03.1/0000:0b:00.0/drm/renderD128 has matching current tag
DEBUG: inspecting type of device: /dev/dri/renderD128
DEBUG: v2 allow c 226:128
DEBUG: process in cgroup /user.slice/user-1000.slice/[email protected]/app.slice/snap.office365webdesktop.office365webdesktop.3c530350-237e-4219-a855-99de4082ec25.scope
DEBUG: cgroup /sys/fs/cgroup//user.slice/user-1000.slice/[email protected]/app.slice/snap.office365webdesktop.office365webdesktop.3c530350-237e-4219-a855-99de4082ec25.scope opened at 10
DEBUG: attach type 0x6 program 9 to cgroup 10
DEBUG: associated snap application process 18689 with device cgroup snap.office365webdesktop.office365webdesktop
DEBUG: forked support process 18714
DEBUG: changing apparmor hat to mount-namespace-capture-helper
DEBUG: helper process waiting for command
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: block device of snap core18, revision 2667 is 7:10
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: joining preserved mount namespace for inspection
DEBUG: found base snap device 7:10 on /
DEBUG: sanity timeout reset and disabled
DEBUG: preserved mount is not stale, reusing
DEBUG: joined preserved mount namespace office365webdesktop
DEBUG: joining preserved per-user mount namespace
DEBUG: unsharing the mount namespace (per-user)
DEBUG: sc_setup_user_mounts: office365webdesktop
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: calling snapd tool snap-update-ns
DEBUG: waiting for snapd tool snap-update-ns to terminate
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.office365webdesktop
change.go:522: DEBUG: current mount entries
change.go:522: DEBUG: desired mount entries (sorted)
change.go:524: DEBUG: - /run/user/1000/doc/by-app/snap.office365webdesktop /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0
change.go:604: DEBUG: desiredIDs: map[/run/user/1000/doc:true]
change.go:605: DEBUG: reuse: map[]
change.go:662: DEBUG: processing mount entries
change.go:656: DEBUG: adding independent entry: /run/user/1000/doc/by-app/snap.office365webdesktop /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0
change.go:724: DEBUG: all mimics:
change.go:522: DEBUG: mount entries ordered as they will be applied
change.go:524: DEBUG: - /run/user/1000/doc/by-app/snap.office365webdesktop /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0
change.go:320: DEBUG: mount name:"/run/user/1000/doc/by-app/snap.office365webdesktop" dir:"/run/user/1000/doc" type:"none" opts:MS_BIND unparsed:"" (error: <nil>)
DEBUG: snap-update-ns finished successfully
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: NOT preserving per-user mount namespace
DEBUG: releasing lock 7
DEBUG: sending command 0 to helper process (pid: 18714)
DEBUG: waiting for response from helper
DEBUG: sanity timeout reset and disabled
DEBUG: helper process received command 0
DEBUG: helper process exiting
DEBUG: waiting for the helper process to exit
DEBUG: helper process exited normally
DEBUG: resetting PATH to values in sync with core snap
DEBUG: -- snap startup {"stage":"snap-confine mount namespace finish", "time":"1674061382.232452"}
DEBUG: set_effective_identity uid:1000 (change: yes), gid:1000 (change: yes)
DEBUG: creating user data directory: /home/$USER/snap/office365webdesktop/4
DEBUG: requesting changing of apparmor profile on next exec to snap.office365webdesktop.office365webdesktop
DEBUG: ruid: 1000, euid: 1000, suid: 0
DEBUG: setting capabilities bounding set
DEBUG: regaining SYS_ADMIN
DEBUG: loading bpf program for security tag snap.office365webdesktop.office365webdesktop
DEBUG: read 6408 bytes from /var/lib/snapd/seccomp/bpf//snap.office365webdesktop.office365webdesktop.bin
DEBUG: read 152 bytes from /var/lib/snapd/seccomp/bpf/global.bin
DEBUG: clearing SYS_ADMIN
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG:  argv[1] = office365webdesktop
DEBUG: umask restored to   02
DEBUG: working directory restored to /home/$USER
DEBUG: -- snap startup {"stage":"snap-confine to snap-exec", "time":"1674061382.233353"}
2023/01/18 09:03:02.237705 logger.go:184: DEBUG: -- snap startup {"stage":"snap-exec to app", "time":"1674061382.237703"}

相关内容