problems with using talk command


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting problems with using talk command
# 1  
Old 05-05-2010
problems with using talk command

using talk option i tried to send message to my team mate.

for connecting to one unix box, we are having a common userid and password
except that, the ip addresses will change
for me it is x.x.x.4, for my colleague it is x.x.x.3


These are the steps i did

> who
<userid> pts/2 x.x.x.3
<userid> pts/3 x.x.x.4

I was using the ip x.x.x.4

I entered the below command


talk <userid>@x.x.x.3

The screen got divided into two and I got a message like this

[no connection yet]

then in few seconds i got a message like this

[checking for invitation on caller's machine]

i logged into my teammate's machine

but i couldnot find the message which i sent

can any one tell what is the problem in this

what i am missing, i am not sure

thanks in advance
# 2  
Old 05-05-2010
MySQL

If you talk other people have to install talk-server
maybe this is not load in your system
firstly you set a server as talk server..

Code:
# rpm -qa | grep talk
talk-server-0.17-29.2.2  --is needed for talks ;)
talk-0.17-29.2.2

Code:
rpm -ivh /root/talk-server-0.17-29.2.2.x86_64.rpm
Preparing...                ########################################### [100%]
   1:talk-server            ########################################### [100%]

Then
Code:
vi /etc/xinetd.d/ntalk
disable=no

Code:
vi /etc/xinetd.d/ntalk
disable=no

Servis restart for conf changes

Code:
/etc/init.d/xinetd restart

Code:
root@XXXXX1lnx ~]# w
 17:52:52 up 77 days,  6:55,  2 users,  load average: 0.00, 0.00, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    10.100.23.57     17:49    0.00s  0.18s  0.01s w
yucell   pts/3    10.100.23.57     17:29    2:11   0.11s  0.11s -bash

From pts/0
Code:
talk yucell

Screen appear like this
Code:
Message from Talk_Daemon@XXXXX1lnx at 17:56 ...
talk: connection requested by root@XXXXX1lnx 
talk: respond with:  talk root@XXXXX1lnx 

And then I respond this call Smilie

From pts/3
Code:
talk root

Code:
 
[Connection established]

Anyway you can talk togehter ..Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problems with the rpm command

Hi folks, I have a problem with command rpm, I'm running the command and appears this error: server:/tmp/python# uname -rv 2 5 server:/tmp/python# rpm -i python-2.3.4-2.aix5.1.ppc.rpm exec(): 0509-036 Cannot load program /opt/freeware/bin/rpm because of the following errors: ... (6 Replies)
Discussion started by: stenioc1
6 Replies

2. Red Hat

Problems with rcp command

I have two servers A and B; A has redhat 5 and B has Suse10. Both of them has rhost file configuration. When i try to copy file from A to B that is OK but when try to copy from B to A i have an error: connection refused. I installed rsh and rsh-server on server A and stop iptables service. I need... (2 Replies)
Discussion started by: robinsonusp2014
2 Replies

3. Shell Programming and Scripting

Problems with expect_out command

expect "#" send "terminal-length 0\r" expect "#" send "show mp cpu\r" expect "#" send "show mp memory\r" expect "#" while {1} { expect "#" send "clear counters\r" sleep 30 ... (0 Replies)
Discussion started by: roh_20022002
0 Replies

4. Shell Programming and Scripting

tail command problems

Hi, In my home directory, there are so many files. i tried to get the lastly created file by following command. file=`ls -lrt MXOfiles* | tail -1` As there are so many files, it displays "$ : 0403-027 The parameter list is too long." Can someone tell me how can i get the recent file... (1 Reply)
Discussion started by: JSKOBS
1 Replies

5. UNIX for Dummies Questions & Answers

talk command to chat

Hi, Could you please advice on the following query: There are 2 users on a unix box: 1. aaaa 2. bbbb I open 2 putty sessions and login with the above 2 users. Then I type the following using the aaaa user to chat with bbbb. talk bbbb or talk bbbb@hostname Result: the screen goes... (4 Replies)
Discussion started by: miltonkeynesguy
4 Replies

6. Shell Programming and Scripting

talk command to chat

Hi, Could you please advice on the following query: There are 2 users on a unix box: 1. aaaa 2. bbbb I open 2 putty sessions and login with the above 2 users. Then I type the following using the aaaa user to chat with bbbb. talk bbbb or talk bbbb@hostname Result: the screen goes... (1 Reply)
Discussion started by: miltonkeynesguy
1 Replies

7. UNIX for Dummies Questions & Answers

Problems with find command

Folks, I have been searching a dir for specfic files that have been accessed within a certain timeframe. The issue that I am having is that it picks up the .snapshot dir as well. I am using the following: find /probecards/ -name "S25E3N*" -mtime -1 -type f Is this correct or how do I... (4 Replies)
Discussion started by: lodey
4 Replies

8. AIX

Problems with tar command

Hello Somebody can help me, I try to extract a file by tar command but I get this error message root@mxlgjac/home/bistrain# tar -xvf C57U6ML.tar tar: 0511-169 A directory checksum error on media; 804399312 not equal to 62020. The file in tar format its on the same directory, where I try... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

9. Programming

my problems with MAKEFILE command

Hi everyone. I'm a newbies in using c++ in UNIX. And since then I only do maintenance coding not development. so far i understand c++ coding and OOP concepts. currently i'm working onsomething for maintenance purpose.here's the situation : below are my files : source files: advDisc.cpp ... (2 Replies)
Discussion started by: aliasunway
2 Replies

10. Programming

CC command problems

Apparently I do not have C on my Sun Blade. It's a fresh install, and I'l fairly new to using this box. When I type cc, I get the following: /usr/ucb/cc: language optional software package not installed... Does this mean I do not have C on this Blade? How can I get it and set it up? Thanks! (1 Reply)
Discussion started by: jpeery
1 Replies
Login or Register to Ask a Question