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

相關內容