- 主题:有人知道如何设置指纹服务 fprintd 开机自动启动吗?
指纹服务 fprintd 在开机的时候,没有自动启动,无法立即使用指纹来登录系统。
使用 systemctl 设置的时候,报错:
systemctl enable fprintd.service
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
* A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
* A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
* A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
* In case of template units, the unit is meant to be enabled with some
instance name specified.
后了解到 fprintd 是通过 dbus 启动,有哪位大虾知道如何设置它开机自动启动吗?
--
FROM 116.25.15.*
【 在 atzlinux 的大作中提到: 】
: 后了解到 fprintd 是通过 dbus 启动,有哪位大虾知道如何设置它开机自动启动吗?
既然……建议你还是多学习
不要把精力都花在打包做发行版上
--
FROM 139.227.18.*
要学的东西太多,学不过来了。
【 在 JulyClyde 的大作中提到: 】
: 既然……建议你还是多学习
: 不要把精力都花在打包做发行版上
--
FROM 112.96.237.*
【 在 atzlinux 的大作中提到: 】
: 指纹服务 fprintd 在开机的时候,没有自动启动,无法立即使用指纹来登录系统。
: 使用 systemctl 设置的时候,报错:
: systemctl enable fprintd.service
: The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
: Alias= settings in the [Install] section, and DefaultInstance= for template
: units). This means they are not meant to be enabled using systemctl.
: Possible reasons for having this kind of units are:
: * A unit may be statically enabled by being symlinked from another unit's
: .wants/ or .requires/ directory.
: * A unit's purpose may be to act as a helper for some other unit which has
: a requirement dependency on it.
: * A unit may be started when needed via activation (socket, path, timer,
: D-Bus, udev, scripted systemctl call, ...).
: * In case of template units, the unit is meant to be enabled with some
: instance name specified.
: 后了解到 fprintd 是通过 dbus 启动,有哪位大虾知道如何设置它开机自动启动吗?
fprintd 也可以通过 systemd 启动,可以在开机启动后,看到 相关进程。
我现在是想让 lightdm 登录管理器支持指纹登录,已经安装了一个 fingwit 软件,
目前的遗留问题就是,在 开机启动,第一次登录 lightdm 的时候,指纹识别不生效,
用户用密码登录 xfce 后,再退出,就可以用指纹登录了。
目前不清楚如何设置让 lightdm 开机即支持 指纹?
pam 的配置逻辑,也有点复杂。
目前 gnome 的 默认登录管理器 gdm3 是支持开机第一次启动,就支持指纹登录的。
这个应该不需要修改 lightdm 源代码就可以实现开机就支持指纹登录吧?
--
FROM 112.96.237.*
加一行 WantedBy=graphical.target 重新 enable 一下试试?
--
FROM 114.251.196.*
它如果是dbus激活的,你就算enable了,它启动了,也会正常退出的
【 在 zli07 的大作中提到: 】
: 加一行 WantedBy=graphical.target 重新 enable 一下试试?
--
FROM 139.227.18.*
这个是 /lib/systemd/system/fprintd.service 相关内容:
[Service]
Type=dbus
BusName=net.reactivated.Fprint
ExecStart=/usr/libexec/fprintd
【 在 zli07 的大作中提到: 】
: 加一行 WantedBy=graphical.target 重新 enable 一下试试?
--
FROM 112.96.237.*