• Hibernate only lock session


    I installed Antergos without a swap partition so hibernate wasn’t enabled by default. I then created a swap file and KDE now show hibernate in the “leave” panel.

    [[email protected] ~]$ swapon -s
    Filename                                Type            Size    Used    Priority
    /media/fasthdd/swapfile.img             file            20971516        0       -1
    

    But when I select hibernate or systemctl hibernate, the lock screen shows up and the PC is still up. How to I fix this ?

  • @lazyc97
    Hi

    If I remember correctly, this problem also occurred in linux mint kde, with the swap file created instead of swap partition. I would suggest you to create an even swap partition, of course if you have enough space for hdd. Furthermore, it should be enough even 2/5 of available RAM. With 8GB I made a swap part. 3400MB.

  • @Simon I have 16GB of RAM and make a swap with

    [[email protected] ~]$ sudo dd if=/dev/zero of=/media/fasthdd/swapfile.img count=6800000 bs=1024
    

    And still have the same problem.

session13 hibernate10 lock23 Posts 3Views 140
Log in to reply