?
Solved

How To Send Dialog Boxes To Remote Hosts

Posted on 2003-11-20
2
Medium Priority
?
335 Views
Last Modified: 2013-12-27
Background: All the boxes in question run OS 5.6 or OS 5.8 with Solaris 8. Since they reside on an isolated LAN, security is not really an issue, and things like SSH are not implemented. Therefore, boxes can freely talk to one another, assuming I have them configured correctly. All boxes have up-to-date .rhosts files. Finally, the purpose of the dialog box is to alert a user of a certain, undesireable condition.

Question: What is the best method for putting up a dialog box on a remote host (i.e. dterror.ds, etc.)? Also, is there some command that must be issued on the remote machine to allow reception of such boxes from a remote machine?

Thanks!
0
Comment
Question by:pdouglas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Expert Comment

by:durindil
ID: 9789493
You could use the 'wall' command, which will send a message to all logged in persons.  Couple with an rsh command in a simple script and you can send the message to everyone.

If you are trying to create a notification for an error or similar condition, I would configure a "local" syslog facility, and you can direct it to more than one place.
0
 
LVL 7

Accepted Solution

by:
glassd earned 600 total points
ID: 9790234
dt uses X underneath. Most X based commands (and therefore, I believe, most dt commands) allow the use of a displat option. However the receiving machine must allow it.

For example on the receiving machine, say "hosta", run the following:
   xhost +

On the transmitting machine, say "hostb", this will display an xterm on hosta:

xterm -display hosta:0.0

I am sure that dtterm allows the same -display option.

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question