cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable talk

 

Re: how to enable talk

# talk cord
[No connection yet]
[Your party is not logged on]
Honored Contributor

Re: how to enable talk

Hi Gerard:

Sample of reproduction of the problem

My user is "ran":

$ who -T
ran + pts/3 Dec 3 11:07 . 15148 xxxxxx.intraduero.net
$ tty
/dev/pts/3

I open other hpterm with user "ran":

$ who -T
ran - pts/2 Dec 3 13:02 . 19660 xxxxxx.intraduero.net
ran + pts/3 Dec 3 11:07 . 15148 xxxxx.intraduero.net

$ tty
/dev/pts/2

From this terminal:

$ su -

# id

uid=0(root)

# tty

/dev/pts/2

# who -T
ran - pts/2 Dec 3 13:02 . 19660 xxxxxx.intraduero.net
ran + pts/3 Dec 3 11:07 0:03 15148 xxxxxx.intraduero.net

# talk ran

[No connection yet]
[Your party is refusing messages]

Ok.

- close connections root and ran.

- Open new connection with efective uid ran
- Open new connection with efective uid root (not su)

# who -T

root - pts/2 Dec 3 13:09 . 19862 xxxxxx.intraduero.net
ran - pts/3 Dec 3 13:06 0:02 19777 xxxxxx.intraduero.net

# talk ran

[No connection yet]
[Waiting for your party to respond]

Output from ran terminal:

Message from Talk_Daemon@minerva at 13:11 ...
talk: connection requested by root@minerva.intraduero.net.
talk: respond with: talk root@minerva.intraduero.net

$ talk root

[No connection yet]
[Connection established]

rgs,



Occasional Visitor

Re: how to enable talk

Login with ssh (to get tty like pts/0). If you use telnet you must give the ttyname argument:

 

talk user1@host2 pts/ta

 

In absence of ttyname , talk will try to contact the user
on the user's *most recently used* terminal. ( pts/0, etc.)

 

Also, set 'mesg y' for that tty.

 

Regards,

G