Re: Notify all users

2008-09-10 Thread Lubos Lunak
On Tuesday 09 of September 2008, Hal V. Engel wrote: > On Tuesday 09 September 2008 09:25:13 am John Tapsell wrote: > > 2008/9/9 Jason Kim <[EMAIL PROTECTED]>: > > > I think the imaginary "xwall" won't work because each user has it's own > > > X session. > > > > > > How possibly a program determine

Re: Notify all users

2008-09-09 Thread Timo Aaltonen
notify, but it runs into dbus security issues. > > So how does a sysadmin notify all users of an impending system event (like a > shutdown)? use g-message (which relies on notify-send): http://soleup.eup.uva.es/trac/browser/scripts/g-message works here.. t

Re: Notify all users

2008-09-09 Thread Hal V. Engel
On Tuesday 09 September 2008 09:25:13 am John Tapsell wrote: > 2008/9/9 Jason Kim <[EMAIL PROTECTED]>: > > 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? > > KDE used to have a demon 'kwrited'

Re: Notify all users

2008-09-09 Thread Jason Kim
If you know the DISPLAY of all X sessions, then it should be very simple with a script using zenity I guess. On Tue, 2008-09-09 at 09:56 -0700, Yan Seiner wrote: > On Tue, September 9, 2008 9:36 am, Jason Kim wrote: > > Is this only for single computer ? If then, why does people need to show > >

Re: Notify all users

2008-09-09 Thread Yan Seiner
On Tue, September 9, 2008 9:36 am, Jason Kim wrote: > Is this only for single computer ? If then, why does people need to show > message on same computer? > > I thought this is for multiple users using their own computer, and admin > want to notify some messages to everybody. Multiseat, XDMCP

Re: Notify all users

2008-09-09 Thread Jason Kim
Is this only for single computer ? If then, why does people need to show message on same computer? I thought this is for multiple users using their own computer, and admin want to notify some messages to everybody. On Tue, 2008-09-09 at 17:25 +0100, John Tapsell wrote: > 2008/9/9 Jason Kim <[EMA

Re: Notify all users

2008-09-09 Thread Yan Seiner
On Tue, September 9, 2008 8:51 am, Bill Crawford wrote: > On 09/09/2008, Yan Seiner <[EMAIL PROTECTED]> wrote: > ... >> 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. > > Spawn a sub-shell for each u

Re: Notify all users

2008-09-09 Thread John Tapsell
2008/9/9 Jason Kim <[EMAIL PROTECTED]>: > 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? KDE used to have a demon 'kwrited' that would simply listen for 'wall' messages and then display them to the

Re: Notify all users

2008-09-09 Thread Tomasz Chmielewski
7; 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

Re: Notify all users

2008-09-09 Thread Jason Kim
ess > >>> 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

Re: Notify all users

2008-09-09 Thread Gene Heskett
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 impendi

Re: Notify all users

2008-09-09 Thread Bill Crawford
On 09/09/2008, Yan Seiner <[EMAIL PROTECTED]> wrote: ... > 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. Spawn a sub-shell for each user, run "sudo -u $user zenity --warning 'about to reboot'" ... ? (i

Re: Notify all users

2008-09-09 Thread Tomasz Chmielewski
>>>> 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. >>

Re: Notify all users

2008-09-09 Thread Yan Seiner
quivalent >>>> 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 securi

Re: Notify all users

2008-09-09 Thread Tomasz Chmielewski
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 >

Re: Notify all users

2008-09-09 Thread Chuck Robey
x27;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 (

Re: Notify all users

2008-09-09 Thread Yan Seiner
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 j

Re: Notify all users

2008-09-09 Thread Tomasz Chmielewski
#x27;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? Does

Re: Notify all users

2008-09-09 Thread Gene Heskett
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? >--Yan >___ >xorg mailing list >xorg@list

Re: Notify all users

2008-09-09 Thread Colin Guthrie
into dbus security issues. > > So how does a sysadmin notify all users of an impending system event (like a > shutdown)? I think you are probably on roughly the right lines with libnotify, but not the library itself, more the specification. I guess some sort of event from hal or sim

Notify all users

2008-09-09 Thread Yan Seiner
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 s