Debian Buster - Avahi 自行卸载,并且无法再在 Windows PC 上使用主机名

Debian Buster - Avahi 自行卸载,并且无法再在 Windows PC 上使用主机名

这有点奇怪。

我有一个 Debian 8 系统,我将其更新到 Debian 9,然后又更新到 Debian 10。完成此操作后,我无法再通过主机名访问它,而是必须使用 IP 地址。

经过一番尝试,avahi 似乎不知何故自行卸载了。我尝试重新安装它,但它仍然不起作用。

当我运行 avahi-discover 时,出现以下错误;

(avahi-discover:18009): Gtk-CRITICAL **: 14:40:28.574: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

任何帮助都将不胜感激,谢谢

编辑:sudo service avahi-daemon status;

    ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor pre
   Active: active (running) since Sat 2020-10-24 15:54:44 BST; 4min 53s ago
 Main PID: 552 (avahi-daemon)
   Status: "avahi-daemon 0.7 starting up."
   CGroup: /system.slice/avahi-daemon.service
           ├─552 avahi-daemon: running [Scotty-Server.local]
           └─575 avahi-daemon: chroot helper

Oct 24 15:54:44 Scotty-Server avahi-daemon[552]: Service "Scotty-Server" (/servi
Oct 24 15:54:47 Scotty-Server avahi-daemon[552]: Joining mDNS multicast group on
Oct 24 15:54:47 Scotty-Server avahi-daemon[552]: New relevant interface eth0.IPv
Oct 24 15:54:47 Scotty-Server avahi-daemon[552]: Registering new address record
Oct 24 15:54:49 Scotty-Server avahi-daemon[552]: Joining mDNS multicast group on
Oct 24 15:54:49 Scotty-Server avahi-daemon[552]: New relevant interface eth0.IPv
Oct 24 15:54:49 Scotty-Server avahi-daemon[552]: Registering new address record
Oct 24 15:54:57 Scotty-Server avahi-daemon[552]: Joining mDNS multicast group on
Oct 24 15:54:57 Scotty-Server avahi-daemon[552]: New relevant interface docker0.
Oct 24 15:54:57 Scotty-Server avahi-daemon[552]: Registering new address record

答案1

问题不在于 Debian,而在于 Windows。

无论问题是什么,重新启动 Windows 似乎已经解决了该问题。

相关内容