linuxmint / mint20-beta

BETA Bug Squah Rush
20 stars 8 forks source link

LM20 Cinnamon - DM restarts on lid close + open action #180

Open burianvlastimil opened 4 years ago

burianvlastimil commented 4 years ago

hello, I am testing beta on mom's computer and she very often suspends her computer, so requiring a password on wakeup from sleep is terribly urgent to solve, thank you! will provide any information if asked. also accepting any workarounds just not to enter that password all the time. I tried now:

passwd HerUsername

to set it empty, but to no avail.

kkittykait commented 4 years ago

perhaps find another test machine :)

pasch256 commented 4 years ago

try in system setting, screensaver, uncheck "lock computer when put sleep"

burianvlastimil commented 4 years ago

le

try in system setting, screensaver, uncheck "lock computer when put sleep"

I will post a screenshot shortly

burianvlastimil commented 4 years ago

mom2020-06-23 15-31-24

yes, unchecked

burianvlastimil commented 4 years ago

it's also impossible to remove the cinnamon-screensaver package

root@lenovo-z50-70:~# LC_ALL=C apt purge cinnamon-screensaver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  cinnamon* cinnamon-dbg* cinnamon-screensaver* mint-meta-cinnamon*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 2701 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
burianvlastimil commented 4 years ago

oh, I think I got it finally removed with:

dpkg -r --force-depends cinnamon-screensaver

but afterward it's no longer possible to log in, so I installed it back via ssh now...

burianvlastimil commented 4 years ago

also, trying to kill the screensaver process from inside crontab (user's or root's) does not workaround this issue:

*/1 * * * * /usr/bin/pkill -KILL cinnamon-scr
pasch256 commented 4 years ago

well, try in setting,power, and put never in "turn off screen when inactive for" and the same for the setting below that...

burianvlastimil commented 4 years ago

well, try in setting,power, and put never in "turn off screen when inactive for" and the same for the setting below that...

will try later, sleep now, thanks for trying to help

pasch256 commented 4 years ago

ok.

burianvlastimil commented 4 years ago

will just add this system basic hardware specs, might be online later today:

root@lenovo-z50-70:~# inxi -Fxz
System:
  Kernel: 5.4.0-37-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.5 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: LENOVO product: 20354 v: Lenovo Z50-70 
  serial: <filter> 
  Mobo: LENOVO model: Lancer 5A5 v: NANANANANO DPK serial: <filter> 
  UEFI: LENOVO v: 9BCN31WW date: 04/20/2015 
Battery:
  ID-1: BAT0 charge: 7.0 Wh condition: 21.8/37.5 Wh (58%) 
  model: Lenovo IdeaPad status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i7-4510U bits: 64 type: MT MCP 
  arch: Haswell rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 20751 
  Speed: 1397 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 1262 2: 1150 
  3: 1203 4: 1196 
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo 
  driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GM108M [GeForce 840M] vendor: Lenovo driver: nvidia 
  v: 440.64 bus ID: 03:00.0 
  Display: server: X.Org 1.19.6 driver: modesetting,nvidia 
  unloaded: fbdev,nouveau,vesa resolution: 3840x2160~60Hz 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.4.0-37-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Lenovo driver: r8169 v: kernel port: 4000 bus ID: 01:00.0 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel port: 4000 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 8.72 GiB (0.9%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM014-SSHD-8GB 
  size: 931.51 GiB temp: 31 C 
Partition:
  ID-1: / size: 915.80 GiB used: 8.71 GiB (1.0%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 46.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 248 Uptime: 43m Memory: 7.67 GiB used: 1.64 GiB (21.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  inxi: 3.0.38 
burianvlastimil commented 4 years ago

this'll be rather important info I just got:

also, it's no lock screen, nor a screensaver, the whole display manager gets restarted, but why? all apps gone after I wake it up via LID close & LID open process

burianvlastimil commented 4 years ago

I've switched temporarily LID ACTION to "Do Nothing" and instructed mom to suspend it via menu, at least temporary solution.

kkittykait commented 4 years ago

we need a "mom" label