<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Here's a script that uses zenity. Thanks to sbalneaves & ogra in
#ltsp who put it together a few months ago.  This goes to all connected
clients but I'm sure you can modify for just one.<br>
<br>
Invoke it with<br>
<br>
#scriptname  "This is my message"<br>
<br>
-Michael<br>
<br>
#!/bin/bash<br>
<br>
for PID in $(pgrep metacity); do<br>
   DISPLAY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep DISPLAY |
sed -e 's/DISPLAY=//')<br>
   XAUTHORITY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep XAUTH |
sed -e 's/XAUTHORITY=//')<br>
   zenity --info --text="$1" &<br>
done<br>
<br>
<br>
<br>
Nadav Kavalerchik wrote:
<blockquote
 cite="mid4219988b0710050233p3bcbbd93q92a8379d0b3ac8d4@mail.gmail.com"
 type="cite">checkout Robert's TeacherTool: <a
 href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>
it does what you want and much more :-)<br>
  <br>
  <div><span class="gmail_quote">On 10/5/07, <b
 class="gmail_sendername">Carl Keil</b> <<a
 href="mailto:carl@snarlnet.com">carl@snarlnet.com</a>> wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hey
Folks,<br>
    <br>
I've always wondered about sneaky thin client tricks.  It seems like<br>
there's got to be a way to blast some audio or pop up a message on a<br>
thin client remotely, like from the command line.  Does anybody know
how
    <br>
to do that?<br>
    <br>
Thanks,<br>
    <br>
ck<br>
    <br>
_______________________________________________<br>
K12OSN mailing list<br>
    <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
    <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
K12OSN mailing list
<a class="moz-txt-link-abbreviated" href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a class="moz-txt-link-rfc2396E" href="http://www.k12os.org"><http://www.k12os.org></a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
 

CONFIDENTIALITY NOTICE:
This message, and any attachments that may accompany it, contain information that is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. If the recipient of this message is not the intended recipient, any disclosure, copying, or other use of this communication or any of the information, which it contains is unauthorized and prohibited.  If you have received this message in error, please notify the original sender by return mail and delete this message, along with any attachments, from your computer. Thank you.  </pre>
</body>
</html>