Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to send message to the network PC(Ubuntu also).

command on myself(to send message to me,just for test):

smbclient -M myName -b

error is:

message start: ERRSRV - ERRmsgoff (Not receiving messages.)

command on remote machine:

smbclient -M remoteName -b

error is:

Connection to remoteName failed. Error NT_STATUS_BAD_NETWORK_NAME

myName and remoteName are hostname values. Is i right?

thanks for help

share|improve this question
up vote 2 down vote accepted

When a NET SEND style message is sent to a system running Samba, it will run the command specified in the message command configuration. According to the smb.conf man page, messages will be rejected by default, which might explain what you're seeing:

If you don´t have a message command then the message won´t be delivered and Samba will tell the sender there was an error. Unfortunately WfWg totally ignores the error code and carries on regardless, saying that the message was delivered.

One program that can take these messages from Samba and display them on the desktop is LinPopup:

I haven't tried it personally, and it doesn't appear to be packaged for Ubuntu, so you would probably have to build it from source.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.