D-BUS could certainly be used to fix it, yes. You have to write two
pieces, one piece runs systemwide and forwards wall messages over D-BUS;
one piece runs in the user session and displays any such messages.
On Wed, 2004-09-22 at 11:56 +0300, Panu Matilainen wrote:
I just had an incident - or almost had - which reminded me that AFAIK
there's no way to receive wall-messages on GNOME (or KDE) unless you
happen to have a terminal open. Developers probably always have a terminal
or a dozen open at any given time but the casual user might not and thus
simply miss a broadcast from root about system going down in 15min (for
example) which could be nasty.
Maybe a job for dbus? Hmm.. I see there are some plans for ACPI-dbus
that's a very special purpose thing and wont help the wall-case (I'm sure
there are other similar cases as well).
- Panu -