Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
02-13-2004, 03:43 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Rep:
|
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!
|
|
|
|
02-13-2004, 05:17 AM
|
#2
|
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Rep:
|
Hi,
You are coming from remote maschine which does't gives access to X.
Try adding 'xhost +; xdialog ...'
Alex
|
|
|
|
02-13-2004, 06:15 AM
|
#3
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Original Poster
Rep:
|
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
|
|
|
|
02-13-2004, 06:53 AM
|
#4
|
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Rep:
|
sorry, not sure - maybe it works.
rsh -l username machinename " xhost +; kdialog --msgbox 'message' "
|
|
|
|
02-13-2004, 08:43 AM
|
#5
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Original Poster
Rep:
|
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

|
|
|
|
02-13-2004, 10:33 AM
|
#6
|
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Rep:
|
check for '/usr/X11R6/bin/xhost'.
which dist do you use?
alex
|
|
|
|
02-13-2004, 11:11 AM
|
#7
|
|
Member
Registered: Aug 2003
Location: Nottingham
Distribution: XP SP2, Vista, Mandrake/iva 9.2 - 2007
Posts: 50
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:23 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|