[Techtalk] remote user notifications
Telsa Gwynne
hobbit at aloss.ukuu.org.uk
Fri Jan 2 23:19:46 EST 2004
On Fri, Jan 02, 2004 at 11:08:47AM -0800 or thereabouts, Akkana Peck wrote:
> Carla writes:
> > Today's 'stump the gurus' question: what can you do for remote
> > users who are running X, like Gnome or KDE or some such, and
> > who won't see console messages? Especially shutdown or reboot
> > messages? Or other vitally important broadcasts from the local
> > friendly BOFH?
>
> How about something like this, to pop up a dialog on each
> remote display?
>
> for machine in $(cat listofmachines`) ; do
> export DISPLAY=$machine:0
> # zenity apparently replaces gdialog, use whichever is appropriate:
> # gdialog --msgbox 'Hey you!' 200 100
> zenity --info --text='Hey you!'
> done
Zenity! I am such an idiot. Of course.
Telsa
More information about the Techtalk
mailing list