我用FriendlyArm对我的设备做了一些测试,并破坏了一些重要的东西。我无法登录系统。
/var/log/lightdm/seat0-greeter.log
包含很多 (nm-applet:987): libnm-CRITICAL **: 12:29:15.144: ((libnm-core/nm-setting-connection.c:220)): assertion '<dropped>' failed
字符串可能是由于通知守护程序错误
还有这个:
(nm-applet:987): nm-applet-WARNING **: 12:29:22.518: Failed to show notification: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
这证明了我的猜测。
ls /usr/share/dbus-1/services/ | grep -i noti
没有给我任何东西。
我试图这样做:
sudo apt install libnotify-cil-dev
它不起作用
写
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon/notification-daemon
( notify /usr/share/dbus-1/services/org.freedesktop.Notifications.service
-daemon 软件包已安装,并且我检查了此路径中是否有二进制文件),这给了我新的错误:
(nm-applet:994): nm-applet-WARNING **: 13:30:32.786: Failed to show notification: Error calling StartServiceByName for org.freedesktop.Notifications: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Notifications exited with status 1
我现在能做什么?
答案1
您需要根据系统的设置安装通知程序,例如dunst
或mako-notifier
。