LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04: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, 06: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, 07: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, 07: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, 09: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, 11: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, 12:11 PM   #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


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


All times are GMT -5. The time now is 05:37 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration