Results 1 to 4 of 4

Thread: autologout idle X users

  1. #1
    Join Date
    Aug 2011
    Beans
    5

    autologout idle X users

    At our facility we have a computer room with more users than computers (Ubuntu 12.04). Inevitably, someone will leave their computer and walk away, never intending to return. We need a way to autologout such users so that we can free up the computers for those who need to use them.

    In ubuntu 10.04 and 11.04 we used the timeoutd package to provide this functionality. However, timeoutd doesn't work anymore in Ubuntu 12.04. I tracked this down to the fact that X logins no longer create new utmp entries (at least not until the first X terminal is is opened).

    The 'autolog' package also fails because it does not seem to be able to handle X logins.

    Is there a recommended way to autologout X logins in Ubuntu 12.04? Alternately, is there a good way to determine who is logged into the X console (from this I can roll my own solution) since utmp is not reliable?

  2. #2
    Join Date
    Aug 2011
    Beans
    5

    Re: autologout idle X users

    It looks like a bug in lightdm is preventing it from updating utmp:

    https://bugs.launchpad.net/ubuntu/+s...dm/+bug/870297

    After installing the proposed lightdm update and hacking timeoutd, I was able to get the auto-logout functionality working again.

  3. #3
    Join Date
    Mar 2008
    Location
    KC
    Beans
    22
    Distro
    Ubuntu 15.10 Wily Werewolf

    Re: autologout idle X users

    hi magwart,

    can you please write a DETAILED step by step how to. I need to implement this at a motel that have PCs with Ubuntu 12.04 LTS. If we can autologoff after prolonged timed inactivity it will help protect patron's identity and all.

    thanks in advance.

    TheWickernan666
    --
    The Wickerman
    Ubuntu = sudo apt-get install freedom

  4. #4
    Join Date
    Feb 2006
    Beans
    267

    Re: autologout idle X users

    Quote Originally Posted by pravinbravi View Post
    hi magwart,

    can you please write a DETAILED step by step how to. I need to implement this at a motel that have PCs with Ubuntu 12.04 LTS. If we can autologoff after prolonged timed inactivity it will help protect patron's identity and all.

    thanks in advance.

    TheWickernan666
    It doesn't seem as if this DETAILED "how-to" was ever provided, but it would be VERY HELPFUL! Has anyone else gotten this to work, who could describe the process?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •