I've got Ubuntu 18.04, and every time I go to restart or shut down my computer, it takes forever. I pressed escape to see why, and there's a message every time saying
"A stop job is running for NVIDIA Persistence Daemon (2min 35s / 4min 58s)", with the time counting up until it reaches 4 minutes 58 seconds, then it finally proceeds.
I do have a NVIDIA GTX 1060 card which otherwise seems to work normally.
How can I check to see what's causing this, and can I either reduce the countdown timer, or (preferably) fix the problem so the message goes away entirely?
NVIDIA Persistence Daemon
is causing it.