Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

MX Linux suspension/sleep is silently prevented thanks to VeraCrypt

Post Reply
User avatar
postcd
Forum Novice
Forum  Novice
Posts: 79
Joined: Mon Oct 29, 2018 2:02 pm

MX Linux suspension/sleep is silently prevented thanks to VeraCrypt

#1

Post by postcd » Tue Nov 06, 2018 1:02 pm

Hello,

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:
Nov 6 02:28:27 lynx dbus[2470]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
Nov 6 02:28:27 lynx dbus[2470]: [system] Successfully activated service 'org.freedesktop.systemd1'
Nov 6 02:28:28 lynx anacron[21840]: Anacron 2.3 started on 2018-11-06
Nov 6 02:28:28 lynx anacron[21840]: Will run job `cron.daily' in 5 min.
Nov 6 02:28:28 lynx anacron[21840]: Jobs will be executed sequentially
Nov 6 02:28:32 lynx ModemManager[2789]: <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
So i think nothing related.

When i execute "sudo pm-suspend" command from terminal, then it is more communicative and it tells me that:
umount: /media/veracrypt1: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
$ lsof|grep /media/veracrypt1

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.
OS: MXLinux GPU: AMD Radeon RX 560 ; full HW specs. as of 1/2019

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 18784
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX Linux suspension/sleep is silently prevented thanks to VeraCrypt

#2

Post by Stevo » Tue Nov 06, 2018 2:51 pm

Does it make any difference if you start MX with systemd ? (advanced options in the GRUB boot menu)

User avatar
postcd
Forum Novice
Forum  Novice
Posts: 79
Joined: Mon Oct 29, 2018 2:02 pm

Re: MX Linux suspension/sleep is silently prevented thanks to VeraCrypt

#3

Post by postcd » Tue Nov 06, 2018 4:37 pm

Stevo wrote:
Tue Nov 06, 2018 2:51 pm
Does it make any difference if you start MX with systemd ? (advanced options in the GRUB boot menu)
That was good idea, thank you. I just tried and with systemd there is no issue... suspension works even veracrypt volume is mounted and used.. 9_9
Can be non-systemd (default) setup modified to work similarly?
OS: MXLinux GPU: AMD Radeon RX 560 ; full HW specs. as of 1/2019

Post Reply

Return to “Software / Configuration”