I am having trouble with the talk command on Debian which didn't seem to be a problem in older versions. Per the man page on talk, example user bob should be able to start a conversation with joe on the same system by typing:
Code: Select all
bob@debian:~$ talk joe
Code: Select all
[Waiting for your party to respond]
Code: Select all
joe@debian:~$
Message from Talk_Daemon@debian at 1:40 ...
talk: connection requested by bob@127.0.0.1.
talk: respond with: talk bob@127.0.0.1
But when I am using a Debian 9 system, that command won't work. All bob sees is:
Code: Select all
[No connection yet]
I first thought it might be because of an omitted configuration change that systemd requires. But it seems to have more to do with networking.
I know that the talkd daemon is working fine, and I can start conversations with users on remote systems. Further, I can get two local users to connect if the user who begins the conversation uses the user@host form. This suggests a problem with talk being able to communicate locally with the talk daemon. Now the interesting thing is, host can be any IP address assigned to the system. It can be any URL that resolves to one of those addresses, including localhost. BUT the hostname itself does not work. Looking at /etc/hosts:
Code: Select all
bob@debian:~$ less /etc/hosts
127.0.0.1 localhost
127.0.1.1 debian.local debian
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Does anyone have any suggestions?