Difference between revisions of "Talkd and the talk command"

From ArchWiki
Jump to: navigation, search
m (it took 2 days for me to find out about this typo but now talk and ytalk works, finally.)
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:General (English)]][[Category:Other desktop user's resources (English)]]
+
[[Category:System administration]]
 +
[[ar: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
 
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
  
Line 8: Line 9:
 
1. 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.
 
1. 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.
  
2. Configure the xinetd service entry by setting "disable = no" in /etc/xinetd.d/talk.
+
<pre>pacman -S inetutils xinetd screen</pre>
  
3. Add a tcpwrappers allow entry like this:
+
2. Configure the xinetd service entry in /etc/xinetd.d/talk by setting "disable = no" in /etc/xinetd.d/talk.
 +
 
 +
3. If you are using tcp_wrappers or something similar, Add an allow entry like this:
  
 
<pre>talkd: 127.0.0.1</pre>
 
<pre>talkd: 127.0.0.1</pre>
Line 16: Line 19:
 
4. Now start xinetd:
 
4. Now start xinetd:
  
<pre>/etc/rc.d/xinetd start</pre>
+
<pre>systemctl start xinetd.service</pre>
  
 
5. 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.
 
5. 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.
 +
 +
6. Allow write access in your terminal:
 +
 +
<pre>mesg y</pre>
  
 
Talk should work now.
 
Talk should work now.

Revision as of 13:37, 5 July 2013

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>

However, getting it working requires some setup.

1. 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

2. Configure the xinetd service entry in /etc/xinetd.d/talk by setting "disable = no" in /etc/xinetd.d/talk.

3. If you are using tcp_wrappers or something similar, Add an allow entry like this:

talkd: 127.0.0.1

4. Now start xinetd:

systemctl start xinetd.service

5. 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.

6. Allow write access in your terminal:

mesg y

Talk should work now.