LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2004, 03:43 AM   #1
AcerKev
Member
 
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50

Rep: Reputation: 15
send message to remote machine


Is there any way to send a message to a remote machine, running KDE?

In windows i would use the
net send machinename "some message"
command.

I can;'t find a linux version - I would prefer it NOT to be compatible with NET SEND (to avoid all the messenger spam crap that is floating around)

rsh machinename -l username wall "message"
kinda works, although it seams to require interactiction on the sending consol to finish it, and also displays previous messages - kinda of annoying.

using
rsh -l username machinename kdialog --msgbox "message"

responds with "kdialog: cannot connect to X server", however when you run

kdialog --msgbox "message"
on the local machine (from a cmd prompt window) it gives the result i want.

Anyone any ideas?

I only need to display it on machines Running Mandrake 9.1 with KDE 3, not bothered about nothing happening if the kde session is off - these are workstations so if it's off it's probably broken anyway!
 
Old 02-13-2004, 05:17 AM   #2
picasso2
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
Hi,

You are coming from remote maschine which does't gives access to X.
Try adding 'xhost +; xdialog ...'

Alex
 
Old 02-13-2004, 06:15 AM   #3
AcerKev
Member
 
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by picasso2
Hi,

You are coming from remote maschine which does't gives access to X.
Try adding 'xhost +; xdialog ...'

Alex
Add them to what?
Can you give a sample command line? Thanks
 
Old 02-13-2004, 06:53 AM   #4
picasso2
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
sorry, not sure - maybe it works.

rsh -l username machinename " xhost +; kdialog --msgbox 'message' "
 
Old 02-13-2004, 08:43 AM   #5
AcerKev
Member
 
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by picasso2
sorry, not sure - maybe it works.

rsh -l username machinename " xhost +; kdialog --msgbox 'message' "
If i do that i get

bash: line 1: xhost: command not found
kdialog: cannot connect to X server


 
Old 02-13-2004, 10:33 AM   #6
picasso2
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
check for '/usr/X11R6/bin/xhost'.
which dist do you use?
alex
 
Old 02-13-2004, 11:11 AM   #7
AcerKev
Member
 
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by picasso2
check for '/usr/X11R6/bin/xhost'.
which dist do you use?
alex
Mandrake 9.1

At home now so can't check until Monday morning now.
 
  


Reply



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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
how to send message from linux machine to windows barshani Linux - Software 2 10-27-2004 07:03 AM
I get a "relaying denied" message when I try to send mail from a remote computer robmainella Linux - Software 4 09-09-2003 10:39 AM
Send text message to another machine juby Linux - General 2 07-04-2003 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:40 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
Open Source Consulting | Domain Registration