Linux talk problem and solution

The error code:  Error on read from talk daemon: Connection refused. Press any key

Solution

yum install ntalk

1. Paste the following lines into ‘/etc/xinetd.d/talk’

# default: off
# description: The talk server accepts talk requests for chatting with users \
# on other systems.
service talk
{
flags = IPv4
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.talkd
}

2. Paste the following lines into ‘/etc/xinetd.d/ntalk’

# default: off
# description: The ntalk server accepts ntalk connections, for chatting \
# with users on different systems.
service ntalk
{
flags = IPv4
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.ntalkd
}

3. Restart xinetd

Advertisements