[QCLUG] Re: Kid timer
Steve Langasek
vorlon@dodds.net
Tue, 18 Jul 2006 16:09:59 -0700
On Tue, Jul 18, 2006 at 01:48:32PM -0500, Leif Theden wrote:
> >Instead, root can abuse its privileges to call:
> > DISPLAY=:0 XAUTHORITY=/var/lib/gdm/\:0.Xauth \
> > zenity --info --text='computer will shutdown in 5 minutes'
> >
> i couldnt get this to work on my system. i use kdm, does that have
> anything to do with it?
Yes, if you use kdm your master Xauth file will be in a different location.
> ps, what is XAUTHORITY?
It's the standard variable used to point to a file containing the shared
secrets for authenticating connections to an X server.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/