Notify all users

Jason Kim jason at userful.com
Tue Sep 9 08:54:01 PDT 2008


I think the imaginary "xwall" won't work because each user has it's own
X session.

How possibly a program determine all running X sessions?


On Tue, 2008-09-09 at 17:45 +0200, 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.
> 
> 
-- 
***********************************
Jason Kim, Software Developer
http://userful.com
2nd Floor, 928-6th Ave SW
Calgary, AB T2P 0V5
Tel: 403-289-2177   EXT: 210
     866-USERFUL (873-7385)
Fax: 403-206-7010




More information about the xorg mailing list