How to send message (e.g. Net send) from FC3 to XP (vise versa) in a LAN.. - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    orbknives Guest

    Arrow How to send message (e.g. Net send) from FC3 to XP (vise versa) in a LAN..

    Ive searched and read a thread that stated this command to perform this task From FC3:
    smbclient -M pentium3 -W workgroup
    But it didn't work for me, it said connection failed..i also tried to install Linpopup(gui) but same result, coz Linpopup uses smbclient too..Im sure my network is working properly coz ive already setup file sharing and VNC to my fc3 and xp,somehow all is running well..Any suggesstions how to perform this?Thanks...

  2. #2
    Jman Guest
    Perhaps the message service is turned off?

  3. #3
    orbknives Guest
    Hello!!Message service of what?Windows?You mean the messenger service??Ok il try it..

  4. #4
    jayemef Guest
    Yes, service pack 2 turns net send off by default. Try enabling it (Control Panel > Administrative Tools > Services, and Start the Messenger service) and see if you have any luck.
    Last edited by jayemef; 24th February 2005 at 04:22 AM.

  5. #5
    orbknives Guest
    Well thats great, its working now, either Linpopup or smbclient command..But it seems that (Net send) from Windows dont recognized a Linux machine, i also tried using Computer Management to send message to linux (FC3) but it didn't work..Do i need to install a special software from windows like Winpop?I wonder why Net send dont recognized FC3, so how can i send messege From windows XP to FC3??

  6. #6
    jayemef Guest
    To handle incoming net send messages on Linux, try setting the "message command" parameter in your /etc/samba/smb.conf file:
    message command = bash -c 'xedit %s;rm %s' &
    This will use the application "xedit" to display the message. The message is then removed.
    %s : The filename containing the message.
    %t : Message destination (computer or server to which it was sent.)
    %f : Message sender.

    The default smb.conf config file has this turned off. I'm not positive if this will work, but it's worth a shot.
    Last edited by jayemef; 24th February 2005 at 05:27 AM.

  7. #7
    orbknives Guest
    Ok i tried to input
    message command = bash -c 'xedit %s;rm %s' &


    /bin/mail -s "SMB Message From %f on %m" root <%s; rm %s
    in Message Command at my smb.conf, thought i cant understand this command..Do i need to subtitute some data here??Please give me some examples of these commands...

  8. #8
    jayemef Guest
    Message command is a global parameter, so you would want it under your global section. This command should deliver the message using xedit (though I found on my Fedora machine that xedit isn't installed. You can probably use any text editor you like), then removes it afterwards. The "&" on the end is used to return the command immediately, as you may experience problems if it doesn't. Messages are delivered as the global guest user. You don't need to substitute anything. That line should work as-is.

    Hope that helps.
    Last edited by jayemef; 24th February 2005 at 04:39 PM.

  9. #9
    orbknives Guest
    Ok ive been busy for a while, but using "message command = bash -c 'xedit %s;rm %s' &" and trying to send a message From XP to FC3 no longer return a error..But how come that in FC3 no Popup message appeared?Cant find where the messages are?And yes ofcourse xedit is not also installed at my FC3 so i juz replace the xedit in the message command with gedit but gedit didnt popup too..What should i do next??Should i install Xedit??Will xedit will popup automatically when i send a message from XP?If not where can i find those sent messages in FC3..Hoping for your answers and thanks...

Similar Threads

  1. How Send and Receive message?
    By alis in forum Programming & Packaging
    Replies: 0
    Last Post: 13th June 2009, 08:23 AM
  2. How to send a message to other computer !
    By hoangnd_k49cc in forum Using Fedora
    Replies: 5
    Last Post: 9th January 2006, 01:32 PM
  3. Replies: 4
    Last Post: 19th March 2005, 03:05 PM
  4. Please help me with sharing from XP and FC3 (vise versa)..
    By orbknives in forum Servers & Networking
    Replies: 16
    Last Post: 22nd February 2005, 08:14 AM
  5. How to send a message from console to GUI?
    By Maners in forum Using Fedora
    Replies: 4
    Last Post: 19th August 2004, 08:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts