I read and tried many posts on the web but still doesn't work.
Environment: computer with lubuntu 18.04, boot from internal SSD and 3 USB drives connected.
At boot, I need Truecrypt to start and mount the favorites or mount the connected devices.
I know a little about ubuntu but still consider myself a beginner. Help would be appreciated.
When I execute Truecrypt through the menu, it works OK and works well when I "Mount Favorite Volumes".
Using crontab -e I added the following line: @reboot /usr/bin/truecrypt --auto-mount=favorites
Using visudo I added the following line: luc ALL=NOPASSWD: /usr/bin/truecrypt
Truecrypt runs under root [using sudo /usr/bin/truecrypt command in terminal mode] and under my user (luc).
I commented out the @reboot from crontab. I went to Select "Preferences" > "Default applications for LXSession" and found TrueCrypt was selected in the autostart section.
After reboot, ps aux|grep truecrypt showed two truecrypt tasks. Nevertheless, I get no request to enter password. Maybe the issue is more one of getting to enter the password to my favorites being mounted.