LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2007, 04:42 PM   #1
srampally
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
talk <username> always goes to the answering machine. Why?


I get the following message whenever I use the talk command:

$ talk shashi
[Connection established]
Hello. You're connected to a talk answering machine.
The person you have paged isn't there at the moment.
Please leave a message and quit normally when finished.

I even tried to include the ttyname but it still went to the talk answering machine!
$talk shashi /dev/pts/7

Can anyone please explain why this could be happening? What do I need to look for?

Thanks,
Shashi

PS: Environment: Redhat Enterprise Linux ES 4.0; talk-0.17-26
 
Old 06-04-2007, 08:27 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Talk relies on a daemon (talkd) to announce the invitation to talk to the person receiving the invitation. If that person isn't logged in, or doesn't respond after the second invitation, talkd automatically starts the answering machine.

So, I see three possibilities:
a) the person you want to talk to isn't logged in.
b) the person you want to talk to doesn't want to talk to you.
c) the person you want to talk to doesn't know how to respond.
 
Old 06-05-2007, 10:45 AM   #3
srampally
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Well, I don't think a, b, or c apply here. Sorry, I did not elaborate in my first post but....

a) I myself logged in with two different usernames on two different terminals. So this isn't an issue.
b) mesg is set to y on both the terminals.
c) I did not receive any invitation to chat on the second terminal. Infact, in just about two seconds of executing talk command I am given the talk answering machine message!

Any other ideas?

Thanks,
Shashi


Quote:
Originally Posted by bigrigdriver
Talk relies on a daemon (talkd) to announce the invitation to talk to the person receiving the invitation. If that person isn't logged in, or doesn't respond after the second invitation, talkd automatically starts the answering machine.

So, I see three possibilities:
a) the person you want to talk to isn't logged in.
b) the person you want to talk to doesn't want to talk to you.
c) the person you want to talk to doesn't know how to respond.
 
Old 06-05-2007, 11:24 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Take a look at the ktalkd handbook, section 5.1. The author states that the user must be logged into utmp in order for the messages to display properly. There are 3 files to create/edit to effect logging in to utmp, with examples of edits given.

If it still doesn't work, the author advises sending him a bug report.
 
Old 06-05-2007, 12:05 PM   #5
srampally
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the quick reply!

I followed the following instructions given in the KTalkD handbook and restarted xinetd. However, talk command takes me directly to answering machine still.

Please note that I am logging into the RedHat machine (located in the LAN) from my desktop computer remotely using TinyTerm Terminal Emulator (i.e. I am not using KDE.)


Code:
(a) Edit the file Xstartup, or create it, (in the xdm config folder) so that it reads:
#!/ bin/sh
/etc/X11/xdm/ GiveConsole
sessreg -a -l $DISPLAY -x /etc/X11/xdm/Xservers  - $USER
(b) and the file Xreset so that it reads:
#!/ bin/sh
/etc/X11/xdm/ TakeConsole
sessreg -d -l $DISPLAY $USER
(c) Make sure that xdm-config make reference to those two files:
DisplayManager ._0.startup: /etc/X11/xdm/Xstartup
DisplayManager ._0.reset: /etc/X11/xdm/Xreset


Quote:
Originally Posted by bigrigdriver
Take a look at the ktalkd handbook, section 5.1. The author states that the user must be logged into utmp in order for the messages to display properly. There are 3 files to create/edit to effect logging in to utmp, with examples of edits given.

If it still doesn't work, the author advises sending him a bug report.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: A $10 Linux Answering Machine LXer Syndicated Linux News 0 12-23-2005 05:46 PM
answering machine shadowsa SUSE / openSUSE 1 09-01-2005 02:03 AM
answering machine edenning Linux - General 3 05-16-2005 07:41 PM
Internet Answering machine mike35 Linux - Newbie 0 11-19-2003 08:27 AM
Internet Answering Machine digger Mandriva 1 09-05-2003 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration