when i try to suspend/sleep the PC (latest MX Linux 17 with XFCE4) using standard Logout / Suspend, it dimm the screen and turn black and that is all, i move the mouse and there is XscreenSaver. When i check the syslog, i see:
So i think nothing related.Nov 6 02:28:27 lynx dbus: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Nov 6 02:28:27 lynx dbus: [system] Successfully activated service 'org.freedesktop.systemd1'
Nov 6 02:28:28 lynx anacron: Anacron 2.3 started on 2018-11-06
Nov 6 02:28:28 lynx anacron: Will run job `cron.daily' in 5 min.
Nov 6 02:28:28 lynx anacron: Jobs will be executed sequentially
Nov 6 02:28:32 lynx ModemManager: <info> Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
Nov 6 02:28:44 lynx xscreensaver: pam_ecryptfs: seteuid error
When i execute "sudo pm-suspend" command from terminal, then it is more communicative and it tells me that:
$ lsof|grep /media/veracrypt1umount: /media/veracrypt1: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
shows that "bash" is that process, and shown folder path which i had "cd" in terminal. When i closed terminal window, suspension worked. Though that volume is used by several other apps and i do not want to close them.
Is there anything that MX Linux can do so the user is informed why sleep/suspension failed?
=>> i think Veracrypt (installed from default MX Linux repos) is made to unmount volume on suspend and it has option to disable this behavior only in MS WIndows version of the app. Related Veracrypt issue here.