該当ユーザは autologin
グループに居る必要がある
$ sudo groupadd -r autologin $ sudo gpasswd -a USERNAME autologin $ grep ^autologin: /etc/group autologin:x:966:matoken
/etc/lightdm/lightdm.conf
の [Seat:*]
セクションの autologin-user
に対象ユーザを指定.
[Seat:*] autologin-user=username
avahi-browse -ar
などのavahiのコマンドでは名前解決ができるが,他のサービスやコマンドから名前解決できない.
nss-mdns
パッケージの導入.
$ pamac install nss-mdns
/etc/nsswitch.conf
の hosts
行に mdns4_minimal
を追加する.
- hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns + hosts: files mdns4_minimal mymachines myhostname resolve [!UNAVAIL=return] dns
コメント