gimp 和 libreoffice 崩潰 X

gimp 和 libreoffice 崩潰 X

當我開始時gimp我收到這些錯誤

$ gimp
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Gtk-Message: 10:24:04.029: Failed to load module "overlay-scrollbar"
Gtk-Message: 10:24:04.029: Failed to load module "overlay-scrollbar"
Gtk-Message: 10:24:04.029: Failed to load module "overlay-scrollbar"
Gtk-Message: 10:24:04.030: Failed to load module "overlay-scrollbar"
gimp_check_updates_callback: loading of https://gimp.org/gimp_versions.json failed: Operation not supported

當我打開一個文件時,它會顯示,但是當我移動滑鼠時,我的桌面變黑,並出現一個新的登入畫面。

我正在運行unityubuntu顯示管理器不起作用,它只是變黑了。

我對 snap 和 apparmor 有懷疑,因為啟動後我在系統日誌中看到的第一個gimp是這個

Aug 16 10:19:26 kfc-XPS-15-9560 systemd[2128]: Started GNOME Terminal Server.
Aug 16 10:19:26 kfc-XPS-15-9560 systemd[2128]: Started VTE child process 5769 launched by gnome-terminal-server process 5761.
Aug 16 10:19:27 kfc-XPS-15-9560 zeitgeist-datah[5789]: zeitgeist-datahub.vala:227: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
Aug 16 10:19:31 kfc-XPS-15-9560 kernel: [  138.211911] kauditd_printk_skb: 4493 callbacks suppressed
Aug 16 10:19:31 kfc-XPS-15-9560 kernel: [  138.211912] audit: type=1400 audit(1597565971.209:12108): apparmor="DENIED" operation="file_mmap" profile="/snap/core/9804/usr/lib/snapd/snap-confine" name="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0" pid=5806 comm="snap-confine" requested_mask="m" denied_mask="m" fsuid=0 ouid=0
Aug 16 10:19:31 kfc-XPS-15-9560 kernel: [  138.211946] audit: type=1400 audit(1597565971.209:12109): apparmor="DENIED" operation="file_mmap" profile="/snap/core/9804/usr/lib/snapd/snap-confine" name="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0" pid=5806 comm="snap-confine" requested_mask="m" denied_mask="m" fsuid=0 ouid=0
Aug 16 10:19:31 kfc-XPS-15-9560 kernel: [  138.211996] audit: type=1400 audit(1597565971.209:12110): apparmor="DENIED" operation="file_mmap" profile="/snap/core/9804/usr/lib/snapd/snap-confine" name="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0" pid=5806 comm="snap-confine" requested_mask="m" denied_mask="m" fsuid=0 ouid=0
Aug 16 10:19:31 kfc-XPS-15-9560 kernel: [  138.582372] audit: type=1326 audit(1597565971.581:12111): auid=1000 uid=1000 gid=1000 ses=3 pid=5806 comm="gimp" exe="/snap/gimp/292/usr/bin/gimp-2.10" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f7c33ed0527 code=0x50000
Aug 16 10:19:31 kfc-XPS-15-9560 hud-service[5221]: #033[31mvoid DBusMenuImporter::slotGetLayoutFinished(QDBusPendingCallWatcher*)#033[0m: "No such interface â<80><9c>com.canonical.dbusmenuâ<80><9d> on object at path /org/ayatana/bamf/window/41943043"

我已嘗試停用apparmor,但在系統日誌中仍然被拒絕

systemctl disable apparmor.service

我的繪圖也有類似的錯誤libreoffice,只需啟動它並嘗試繪製一個矩形就會使桌面崩潰。另外,當我開啟 Autocad 產生的 PDF 檔案時,其中包含許多小元素。在這種情況下,滑鼠只是變得不活動,但我仍然可以使用鍵盤進行操作。

因此,錯誤也可能出現在 Xorg 甚至 nvidia 驅動程式中。

我的系統是19.10升級到20.04.1

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal

相關內容