[openbox] Hibernate via menu does not work as expected

meino.cramer at gmx.de meino.cramer at gmx.de
Fri Oct 15 10:22:06 EDT 2010


Dana Jansens <dana at orodu.net> [10-10-15 16:12]:
> On Wed, Oct 13, 2010 at 9:27 PM,  <meino.cramer at gmx.de> wrote:
> > Hi,
> >
> >    to perform a suspend-to-ram or a suspend-to-disk there are to
> >    scripts from the TuXOnIce-project:
> >        hibernate-ram
> >    and
> >        hibernate
> >    .
> >
> >    This script call a tool named
> >        vlock
> >    to lock the console, so that a resumed system does not give
> >    instant access but asks for a password.
> >
> >    The call is
> >        sudo hibernate/hibernate-ram --lock-console-as <user>
> >    which works fine when issued from a terminal of my system
> >    but misses the locking, when this expression is entered into
> >    menu.xml. In the latter case it only performs the hibernation
> >    part (successfully and fully working) but it does not lock
> >    the computer.
> >
> >    Why?
> >    And how can I fix this?
> >
> >    Thank you very much in advance for any help!
> >    Best regards,
> >    mcc
> 
> When I run vlock from a menu I see the following
> 
> vlock: stdin is not a terminal
> 
> Perhaps it is not made to run except from a shell.  You could run the
> hibernate command by running a terminal and passing it the command to
> execute.. that might help.
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox


Hi Dana,

thank you for your reply.

IT WORKS! Great! Thank you!

Best regards and have a nice weekend!
mcc



More information about the openbox mailing list