佛山网站设计优化公司,wordpress 502,steam交易链接是什么,全景网站如何建设Ubuntu启动后第一次需要很久才能启动GTK应用问题 自从升级了 Ubuntu 之后#xff0c;设备重启#xff0c;发现打开 Terminal 、Nautilus 以及其他的GTK 应用都很慢#xff0c;需要至少一分钟的时间启动。
刚开始也是拿着 journalctl 的异常日志去寻找答案#xff0c;但是没…Ubuntu启动后第一次需要很久才能启动GTK应用问题 自从升级了 Ubuntu 之后设备重启发现打开 Terminal 、Nautilus 以及其他的GTK 应用都很慢需要至少一分钟的时间启动。
刚开始也是拿着 journalctl 的异常日志去寻找答案但是没有发现有效的解决办法。
于是自己通过使用 journalctl 找问题发现应用的启动都会等待下面这个超时完之后才启动这也不是 ERROR 或者 WARN 类型的日志。
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: xdg-desktop-portal.service: start operation timed out. Terminating.
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: xdg-desktop-portal.service: Failed with result timeout.
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: Failed to start xdg-desktop-portal.service - Portal service.拿着上面的日志通过 google 去查找确实发现了原因和解决办法。
问题应该和 xdg-desktop-portal-gnome 这个软件包升级有关但是具体升级了什么就不知道了也不去深究了。
可以通过删除 xdg-desktop-portal-gnome 软件包 或者 安装 dbus-broker 软件包解决。
相关问题可以查看 https://github.com/flatpak/xdg-desktop-portal/issues/1024、https://github.com/linuxmint/cinnamon/issues/11857
自从升级了 Ubuntu 之后设备重启发现打开 Terminal 、Nautilus 以及其他的GTK 应用都很慢需要至少一分钟的时间启动。
刚开始也是拿着 journalctl 的异常日志去寻找答案但是没有发现有效的解决办法。
于是自己通过使用 journalctl 找问题发现应用的启动都会等待下面这个超时完之后才启动这也不是 ERROR 或者 WARN 类型的日志。
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: xdg-desktop-portal.service: start operation timed out. Terminating.
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: xdg-desktop-portal.service: Failed with result timeout.
10月 01 11:07:00 hhoa-Legion-Y7000-2019-PG0 systemd[3027]: Failed to start xdg-desktop-portal.service - Portal service.拿着上面的日志通过 google 去查找确实发现了原因和解决办法。
问题应该和 xdg-desktop-portal-gnome 这个软件包升级有关但是具体升级了什么就不知道了也不去深究了。
可以通过删除 xdg-desktop-portal-gnome 软件包 或者 安装 dbus-broker 软件包解决。
参考
https://github.com/flatpak/xdg-desktop-portal/issues/1024https://github.com/linuxmint/cinnamon/issues/11857