I believe I have the same behavior with different hardware, and no
docking station: I have a Dell Latitude 7480 which I typically use with
an external monitor (via HDMI), USB mouse, and USB keyboard, while the
laptop sits behind a desk with its lid closed.

Up until April 2021, I was running Ubuntu 16.04 on this machine with the
(standard for 16.04) Unity desktop, with the same physical configuration
--that is, while working at home, I kept the laptop itself closed behind
my desk, and used it via the external mouse, keyboard, and display.
Prior to upgrading, I was able to log in without any problems associated
with the lid being closed.

On April 22, 2021, since 16.04 would no longer be getting updates, I
finally upgraded through 18.04 to 20.04, still using the Unity desktop.
Now, from a cold start, I get the user log-in screen, and immediately
after entering my password, the system suspends. If I open the lid a few
centimeters, the system resumes without prompting for a password.

If my problem is really the same problem that @twetzel21 is seeing--and
in terms of the behavior he describes, it appears that it is--this
suggests to me that it's neither related to a dock, nor to anything with
Nvidia drivers (since I have only Intel integrated graphics and do not
have any Nvidia drivers installed), nor related to a hardware issue.
Although I use my laptop with an external screen, mouse, and keyboard,
they're not connected through any dock, but just using the normal ports
on the machine. Moreover, this behavior didn't happen for me with the
same hardware in 16.04, but began only when I moved through 18.04 to
20.04.

Moreover, when I upgraded to 20.04, I installed gnome-tweak-tool, and
under General I have "Suspend when laptop lid is closed" *un*checked.
Moreover, in the system settings > Power options, the dropdowns are set
to "Do nothing" when the laptop lid is closed, both on battery or on
outlet power.

I *do* have the Dropbox client installed and set to start up on login,
which I see was one issue that was raised as potentially related. I know
that, since my system doesn't represent a clean install of 20.04, it's
going to have a bit more cruft than normal, but I'm happy to make any
system information or syslog portions available.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1841826

Title:
  Going to sleep instead of logging in while lid closed & external
  display

Status in gnome-settings-daemon package in Ubuntu:
  Confirmed
Status in gnome-shell package in Ubuntu:
  Confirmed
Status in mutter package in Ubuntu:
  Confirmed

Bug description:
  I have the above described problem, which seems to be very similar to
  bug #1716160

  - laptop is in docking station and 2 monitors are connected (HDMI,
  DVI)

  - If the lid is closed and I boot the laptop I can input my
  credentials in the login screen and after hitting ENTER the laptop
  goes to sleep

  - If I then press the power button of the docking station the laptop
  wakes up and goes straight to the ubuntu environment w/o any user
  identification

  The device is a Lenovo T420 with classic docking station. Ubuntu
  18.04.3 LTS. Internal graphics Intel integrated grafics and dedicated
  Nvidia Quadro NVS 4200M with propriety driver 390.116. Behavior
  independent of the graphics used.

  I do not know what to do now since the latest state of bug #1716160 is
  "fix released" and so I guess it should be part of the ubuntu version
  I use?

  Thank you very much.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-shell 3.28.4-0ubuntu18.04.1
  ProcVersionSignature: Ubuntu 5.0.0-25.26~18.04.1-generic 5.0.18
  Uname: Linux 5.0.0-25-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Aug 28 20:10:15 2019
  DisplayManager: gdm3
  GsettingsChanges:
   b'org.gnome.shell' b'app-picker-view' b'uint32 1'
   b'org.gnome.shell' b'favorite-apps' redacted by apport
   b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
   b'org.gnome.desktop.interface' b'show-battery-percentage' b'true'
   b'org.gnome.desktop.interface' b'clock-show-date' b'true'
  InstallationDate: Installed on 2019-08-13 (14 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1841826/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to