Talkd and the talk command
The "talk" command allows you to talk to other users on the same system, which is useful if you're both SSH'd in from somewhere. Using it is very simple; to talk to someone the command is just
talk <username> <tty>
Of course, you can talk to users on another system as well:
talk <username>@<hostname> <tty>
In either case, the tty is optional. It is used if you wish to talk to a local user who is logged in more than once to indicate the appropriate terminal name. "tty" is of the form 'ttyXX', or 'pts/X'.
- First, install the inetutils package, which contains talk and talkd. These also rely on xinetd, so install that as well. You might also need the screen command; it's in the screen package.
pacman -S inetutils xinetd screen
- Configure the xinetd service entry by editing
/etc/xinetd.d/talkand setting "disable = no".
- If you are using tcp_wrappers or something similar, add an entry to
- Now start xinetd:
systemctl start xinetd.service
- If you're on the local system, you might need to start a screen session to make yourself show up on the "w" and "who" commands -- you need to show up there or talk won't work.
- Allow write access in your terminal if needed:
Talk should work now.
Using systemd directly
First, create the following two files in
# Adapted from original by Zbigniew Jedrzejewski-Szmek; see RedHat Bug 737219 [Unit] Description=Talk Server Documentation=man:talk(1) info:talk Requires=talkd.socket [Service] User=nobody Group=tty ExecStart=/usr/sbin/talkd StandardInput=socket [Install] Also=talk.socket
# Adapted from original by Zbigniew Jedrzejewski-Szmek; see RedHat Bug 737219 [Unit] Description=Talk Server Activation Socket Documentation=man:talk(1) info:talk [Socket] ListenDatagram=0.0.0.0:518 [Install] WantedBy=sockets.target
Then activate the talkd daemon:
$ sudo systemctl start talkd
Now, the Lennart is strong in you!