Password after hibernation slimlock

Hi,
I've configure my laptop in order to have slimlock after hibernation (when i close the lid).
I've installed
acpid
Here's my /etc/acpi/handler.sh
button/lid)
case "$3" in
close)
logger 'LID closed'
DISPLAY=:0.0 su -c - TON_USER /usr/bin/slimlock &
This configuration works !
But on my desktop computer I would like to do the same thing.
I've tried to modify this file but.. it was not a success !
How can I configure the acpi, after resume I would like to have slimlock screen ?
Thanks
Last edited by NeanderMarcl (2013-06-28 14:39:54)

Hi,
i solved your problem this way:
In /etc/systemd/system create a file named [email protected]
with this content:
[Unit]
Description=Starts i3lock at suspend time
Before=sleep.target
[Service]
User=%I
Type=forking
Environment=DISPLAY=:0
ExecStartPre=
ExecStart=/usr/bin/i3lock
[Install]
WantedBy=sleep.target
Replace i3lock with your lock manager.

Similar Messages

  • After hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    after hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • [SOLVED] Lightweight DE authorization after hibernation

    Hi,
    I am using xmonad and pm-utils.
    At the end of my day I simply hibernate instead of shutdown. But after hibernation I have last session shown without asking for any password. In GNOME there was a dialog asking for password, you could leave message there or switch the user. How to do something like that without running Xmonad on top of GNOME instead of metacity?
    Please help, my actual workstation is pleasing itself for some jokes
    edit:
    I solved my problem - install vlock and run vlock -n on resume.
    Last edited by kmp (2008-08-20 08:50:15)

    How exactly did you run vlock -n on resume?

  • L530 - Can't login after hibernation

    After I hibernate my L530 (Win7), I turn it back on, and I get an empty login screen.  There isn't a field for me to enter my password and my avatar picture doesn't show up either.  Any ideas why?

    Hi JaceTMS,
    Welcome to Lenovo Community Forums!
    I’m sorry to hear that you are getting a black screen in your Lenovo ThinkPad L530 after hibernation.
    Try doing a flee power. Remove the battery, adapter and any external peripherals connected and hold down the power button for about 30 seconds. Reinsert the battery and adapter and check if hibernation works properly now.
    If it didn’t help, remove the display drivers from device manager and install the latest one. If you have any difficulties in finding the drivers, share the MTM number of your device.
    Hope this helps!
    Best regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • My macbook air wont recognize my password after it went to sleep.

    My macbook air wont recognize my password after it went to sleep. Its been hibernating without me putting it to sleep and I have to restart a lot

    Just make sure that when you're typing in your password that the username is right.

  • Time Capsule - Can't change network password after 10.6.3 update

    Has anyone else experience an issue changing the Time Capsule network password after updating to Snow Leopard 10.6.3? If so did you find a work around? After the update I'm no longer able to change the Time Capsule network password when accessing it from Airport Utility. The utility will say that Time Capsule has updated the network password to the new one but when I check keychain it shows the old password. I tried resolving this by deleting the original keychain then changing it again in Airport Utility but it still shows the old password in the keychain and Airport Utility when I reopen the app.

    HI,
    Checkthe vendor site for Snow Leopard compatibility. The developer may need to update their software.
    http://www.toonboom.com/support/
    Carolyn

  • Windows 8.1 desktop PC not starting after hibernation

    Hi,
    I have a PC that is not starting after hibernation. There are different errors appearing after my tries to repair the boot. I have tried to find a document online describing the boot process but I can't find any. I know how it worked in the old days with boot.ini
    and such but this new one is hard to figure out without a desciption.
    First I tried to use the automatic repair process but that didn't work. I have also tried bootrec, bootedit, and bcdboot.
    I then bought the Easy Recovery Essentials from NeoSmart Technologies but that didn't help to fix the issue, PC still boots to error 1. below. I tried the following process that they suggested:
    I have followed the instructions on this link http://j.mp/BcdRepair that they suggested but it didn't help. Instead of the two errors I have come across (PROCESS1_INITIALIZATION_FAILED and error code 0xc000000f on file \EFI\Microsoft\Boot\BCD via F8, both with
    white text on blue background), I got to a black page with grayish text telling me the following:
    Windows Boot Manager
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. Insert your Windows installation disc [...]
    2. Choose your language [...]
    3. Click "Repair your computer."
    File: \Windows\system32\winload.exe
    Status: 0xc000000f
    Info: The application or operating system couldn't be loaded because a required file is missing or contains errors.
    It looks like one boot entry gets added to the boot menu every time the PC runs the automatic repair process. In the boot menu I now have more than ten occurrences of Windows Boot Manager.
    Errors:
    1. Your PC ran into a problem and needs to restart [...] you can search online later for this error: PROCESS1_INITIALIZATION_FAILED
    2. Manual boot to one of the Windows Boot Manager entries that appears via F8 gives me the error code 0xc000000f on file \EFI\Microsoft\Boot\BCD.
    I even tried to copy the BCD from an exactly identical PC but then the path to the BCD disappeared and I'm not sure what drive letter to enter in bcdedit because C: is not C: but X: when booted into Advanced resque mode.
    I could just reinstall Windows 8.1 but it feels frustrating, all the files are there. I just need to fix the boot.
    Sorry if this post is a bit of messed up, that's about how I feel right now... :)
    Does anyone have any suggestions and/or can point me in the direction of a nice document describing how the boot process works, where the BCD is located (I have several on the PC) I would be very happy.
    Many thanks in advance.

    Hi,
    According to your description, in my opinion, it seems like not bcd file problem. It's PC itself problem, maybe a hardware problem, also can be system componments corrupt.
    Can this PC startup successfully if you choose reboot or shutdown PC? Or this problem just occures after resume system from hibernate?
    For Windows boot process knowledge, you can refer to the contents of the link below for more details:
    http://social.technet.microsoft.com/wiki/contents/articles/11341.the-windows-7-boot-process-sbsl.aspx
    For your problem, in my opinion, it would be better to use System installation to fix this system file for test.
    Roger Lu
    TechNet Community Support

  • Have been advised by my email provider (recently blocked account requiring password reset) that they will only reset the password after a proven anti viru and malware scan has been done on ipad and iphone. Is this necessary and if so what do i use

    Have been advised by my email provider (recently blocked account requiring password reset) that they will only reset the password after a proven anti virus and malware scan has been done on ipad and iphone. Is this necessary and if so what do i use

    As KP has pointed out, there actually aren't any anti-virus programs in the App Store. There are a few that allow you to scan e-mail or stuff like that, and a few that provide you with information about malware and new threats for other systems. But none are available that can scan your iOS device for malware, because the security restrictions in iOS do not permit any apps to have that kind of access to anything. Which means that you also cannot be infected with a virus (unless you have jailbroken your device).
    If your account got compromised, that had nothing whatsoever to do with your iPad. Someone simply hacked it remotely. Happens all the time. It's really amazing that, in this day and age, e-mail providers are so ignorant of technology and how their own systems get compromised that they would try to require you to run software that does not exist!

  • TS1398 iPad won't recognize wifi password after 7.0.2 update.  (The password is correct, but iPad says it's incorrect) How do I fix this?

    My iPad won't recognize my wifi password after 7.0.2 update.  The password IS correct, but I continue to get the message that the password is incorrect.  Any ideas how to fix this?

    I have the same problem too on my iPad 3. One thing that sometimes works is if you go to the App Store and put your password in there after a few tries it may work.

  • Create a user through the API and "Prompt user to change password after next login".

    Using the Adobe Connect Interface, I can create a user and check the checkbox to "Prompt user to change password after next login".
    Can I achieve the same result using the API? The principal-update action doesn't offer such an option and, as far as I can tell, there isn't another action to do so either.
    Thank you.

    You can achieve it as part of your application functionality, but not as a configuration option on WLS.

  • TS2446 I changed my password after the acct. being disabled.  It is still not working.  How long does it take?  And how do I make it work again?

    I changed my password after the acct. was disabled.  We had to dispute some charges and got it worked out.  The new password won't work and thats what we were told to do.  How long does it take for the new password to take effect?  And is there something else we should do?

    Contact itunes support

  • Question: My wifes Ipad Mini needs to have a password after yesterdays upggrade. But she never had one..

    Question. My wifes Ipad Mini needs for some reason a password after yesterdays uppgrade. But she never had on (except Apple ID)

    iOS 7 requires an Apple ID and password, usually the original one that registered the iPad.

  • Phone asked for voicemail password after update to iOS5. I pushed cancel bc I didn't know it. Now I now it but the screen just says set-up. How do I get the prompt to appear again?

    Phone asked for voicemail password after update to iOS5. I pushed cancel bc I didn't know it. Now I now it but the screen just says set-up. How do I get the prompt to appear again?

    usaspirit88 wrote:
    Phone asked for voicemail password after update to iOS5. I pushed cancel bc I didn't know it. Now I now it but the screen just says set-up. How do I get the prompt to appear again?
    Try typing in your 10 didget cell number. Restart iPhone to get the prompt again.

  • Podcasts are no longer being automatically updated after hibernation mode

    Heeello to you all!
    I noticed that after going to hibernation mode (the motherboards suspend to disk functionality) the schedule for my podcast updates is messed up. For example now is Feb 22nd 2007, 21.14 and my iTunes says that it wants to search for new episodes on August 13th 2006, 23:57. This means that the podcasts are not being updated automatically after hibernation. How to reproduce this bug in iTunes:
    1.) Start iTunes
    2.) Set up: Search for new episodes hourly in Podcasts settings.
    3.) Close the settings window.
    4.) Leave iTunes running.
    5.) Go to hibernation mode (This mode may need to be activated in the system settings: System Settings -> Engergy Options) by klicking Start -> Turn off Computer -> holding shift while clicking on Standby ("Standby" changes to "Hibernate")
    6.) Turn the computer back on and have a look in the iTunes settings: In my case you find senseless time and date for the next podcast-update.
    Is anyone able to reproduce this error?
    And is Apple please able to fix this if this is truly a bug?
    Regards,
    Asks always good questions
    P.S.: The english terminology differs most probably from the reality because I happen to use a german language system.
    PPS: Yes i use the newest iTunes and Windows xp updates
    Super Windows Computer!   Windows XP Pro  

    I tried this on several other computers and I was able to reproduce this bug on every single one. Very amazing that I am the only one complaining.
    Regards,
    Asks always good questions

  • User change password after first logging in Oracle 11g

    Hi
    Can you help someone in connection with this problem:
    user can not change password after first logging in Oracle 11g
    All the best
    Ragip Avdijaj

    Sounds like they are not getting logged in at all, so they are never getting to the point where they can change the password, but we need to see more detail to give a better answer (an example or copy-paste of a sqlplus session might help)

Maybe you are looking for

  • Error in Credit Memo Creation using BAPI

    Hi, While creating a Credit memo using the BAPI "BAPI_SALESDOCU_CREATEFROMDATA" , the following message is returned: "EVP 113Processing customer 9012041 terminated" This occurs only for a particular customer, while for others the BAPI works fine. I t

  • Wanna make a slide show of my photos and burn to dvd

    I just got my mac.  Novice at best. However, I am a quick study. Tech nerd.  I want to make a slide show of photos and burn to a dvd for my "non-tech" parents to play in their dvd player. What's the easiest way.

  • Wireless keyboard for FCP

    Hello, I have just upgraded to a G5 Dual 1.8. I need to buy wireless keyboard mouse. FCP is my main Application Is there any recommendation regarding a keyboard for this sort of usage? Any links to reviews of such? Thanks!

  • Cannot getRemoteAddr through WebCache

    I use the command request.getRemoteAddr() to get the client's IP address which works only when hitting the port 7778 of the application server. When hitting port 80 (of the Oracle WebCache), the command returns the IP of the server host (which is nat

  • Mail from calendar event mavericks

    Hi, I create a new event in calendar (maverick) and I set alarm with mail but at the time I chosen I din't receive mail but only sound on my iphone. I tried also with other account... How can I have email? may be a problem of mavericks? thank you Man