When I suspend my PC there are two different issues that might/don't always occur when it resumes:
- ~/.xsessionrc settings are not active (they are after a full reboot, and if I run them manually)
- I get random noise/corruption in the desktop image
It's 20.04.1 LTS with a GeForce 210 PCIe SSE2 video card using the recommended NVIDIA 340.108 driver. Looking around here I see the NVIDIA cards can be problematic (with no silver bullet, as far as I've seen), but was wondering if the X configuration issues cast any additional light on what is going wrong?
/home/iain/.xsessionrc
is not being executed/working (looking at some other posts, that may be because the resume is a root process, not associated with my ID, but I cannot confirm, and I don't understand enough about X11 to make sense of/adapt suggestions made elsewhere). Any pointers? – Iain Jan 07 '21 at 17:46