xdg-desktop-portal 在 Ubuntu 19.10 中启动时总是崩溃

xdg-desktop-portal 在 Ubuntu 19.10 中启动时总是崩溃

xdg-document-portalUbuntu 19.10 启动时总是崩溃。有没有办法防止它崩溃或禁用它而不干扰系统功能?

更新:

它几乎在每次系统启动时都会崩溃。

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar  6 13:18:09 2020
DistroRelease: Ubuntu 19.10
ExecutablePath: /usr/libexec/xdg-document-portal
ExecutableTimestamp: 1578493564
ProcCmdline: /usr/libexec/xdg-document-portal
ProcCwd: /home/usr
ProcEnviron:
 LANG=en_US.UTF-8
 LC_ADDRESS=en_US.UTF-8
 LC_IDENTIFICATION=en_US.UTF-8
 LC_MEASUREMENT=en_US.UTF-8
 LC_MONETARY=en_US.UTF-8
 LC_NAME=en_US.UTF-8
 LC_NUMERIC=en_US.UTF-8
 LC_PAPER=en_US.UTF-8
 LC_TELEPHONE=en_US.UTF-8
 LC_TIME=en_US.UTF-8
 PATH=(custom, user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
ProcMaps:

更新2:

查看系统日志,我有如下错误:

xdg-document-portal.service: Failed to set 'memory.limit_in_bytes' attribute on '/user.slice/user-1000.slice/user@1
000.service/xdg-document-portal.service' to '-1': No such file or directory
xdg-document-portal.service: Failed to set 'pids.max' attribute on '/user.slice/user-1000.slice/[email protected]/x
dg-document-portal.service' to '4915': No such file or directory

答案1

是的,要解决此问题,只需在终端中运行以下命令:

$ sudo apt upgrade xdg-desktop-portal

相关内容