Notify all users

Yan Seiner yan at
Tue Sep 9 08:48:50 PDT 2008

On Tue, September 9, 2008 8:45 am, Tomasz Chmielewski wrote:
> Yan Seiner schrieb:
>> On Tue, September 9, 2008 8:34 am, Gene Heskett wrote:
>>> On Tuesday 09 September 2008, Yan Seiner wrote:
>>>> How do I go about notifying all users?  I am looking for an equivalent
>>>> of 'wall' for X.  xmessage doesn't really work very well as I'd have
>>>> to
>>>> mess
>>>> with xhost in each user's profile.
>>>> I've looked at libnotify, but it runs into dbus security issues.
>>>> So how does a sysadmin notify all users of an impending system event
>>>> (like a
>>>> shutdown)?
>>> What is wrong with just using wall?
>> Because most of my users will not have a terminal session open.
>> Typically
>> they use a browser full-screen, so I need a popup to notify them.
> I guess you need an imaginary "xwall" command.


Bingo.  That's what I am looking for.

I've found some ugly hacks using libnotify, dbus, and proc that should
work under gnome and xfce.  I'll see if I can hack up that xwall command.


  ,>/'_          o__
  (_)\(_)        ,>/'_        o__
Yan Seiner      (_)\(_)       ,>/'_     o__
       Personal Trainer      (_)\(_)    ,>/'_        o__
             Professional Engineer     (_)\(_)       ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)

As long as nobody gets hurt, a decent explosion livens up any experiment.

More information about the xorg mailing list