List Info

Thread: automaticle loging off




automaticle loging off
country flaguser name
Belgium
2008-05-29 07:04:49
Hello,

I want to make a multiseat computer for the librarie I work.
I want to 
make that the users logoff out gnome after 30 minutes
(otherwise the 
users always working many hours on the computer and we can't
close 
anymore).

I want when the user login in gdm , it must be timed en it
stops working 
after 30 minutes, the user can perhaps re-login and work
another 30 
minutes ...


How do I do it ?


A Second question :

I want to work with a multiseat system like :
http://research.edm.uhasselt.be/~jori/page/
index.php?n=Misc.DualSeatX

These working perfectly, it starts a X-window in 4 screens
and start gdm 
(with XGL) in these 4 windows (after starting X). But these
work with 
ubuntu 6.10, 7.04 but not anymore with the ubuntu 8.04 ???

I think that the reasen is that ubuntu 8.04 always work with
a XGL build 
in (compiz), how can I make a multiseat with the manual off
Jori (see at 
the link above) but with the ubuntu 8.04 ?
Can anyone help me ?


Tanks a lot!
With Kind Regards,

Bart Muylle

MuylleDOTbart at skynet dot be






_______________________________________________
gdm-list mailing list
gdm-listgnome.org
http:
//mail.gnome.org/mailman/listinfo/gdm-list

Re: automaticle loging off
country flaguser name
United States
2008-05-29 15:32:27
Muylle:

> I want to make a multiseat computer for the librarie I
work. I want to 
> make that the users logoff out gnome after 30 minutes
(otherwise the 
> users always working many hours on the computer and we
can't close 
> anymore).
> 
> I want when the user login in gdm , it must be timed en
it stops working 
> after 30 minutes, the user can perhaps re-login and
work another 30 
> minutes ...
>  
> How do I do it ?

One way to make this work would be to start a program
running in the GDM
PreSession script that causes the user session to exit after
a timeout,
or after waiting for a certain amount of idle time, which
you could
perhaps get via running a utility like "who".  You
can read more about
the PreSession/PostSession hooks in the GDM docs:

   http://ww
w.gnome.org/projects/gdm/docs.html

If you know the user is running GNOME sessions, you could
use the
program "gnome-session-save --kill --silent" to
actually cause the
session to exit.  If you are using other session types,
you'll have
to figure out the similar method to do the same sort of
thing.

Rather than just exiting the session, it might be nice to
pop-up a
dialog a few minutes earlier warning the user to save any
unsaved data,
or giving them the option to extend their session timeout.

Brian
_______________________________________________
gdm-list mailing list
gdm-listgnome.org
http:
//mail.gnome.org/mailman/listinfo/gdm-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )