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.
Invoke it with
#scriptname "This is my message"
-Michael
#!/bin/bash
for PID in $(pgrep metacity); do
DISPLAY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep DISPLAY |
sed -e 's/DISPLAY=//')
XAUTHORITY=$(cat /proc/${PID}/environ | tr '\0' '\n' | grep XAUTH |
sed -e 's/XAUTHORITY=//')
zenity --info --text="$1" &
done
Nadav Ka