Two lock screens. Ubuntu and Gnome - parallel. Why?

Bug #1295673 reported by Sergei Solo
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Triaged
High
Unassigned

Bug Description

When my laptop wake up from suspend I should enter my user password twice. First I see regular LightDM screen (I changed it to the LightDM from Ubuntu Login Screen), after press Enter - I see Gnome Lock screen (with black top panel) and I should enter my user password again.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.9.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Mar 21 17:13:08 2014
InstallationDate: Installed on 2014-03-18 (3 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140317)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergei Solo (solomatkins) wrote :
summary: - LightDM and GnomeDM works parallel. Why?
+ Two lock screens. Ubuntu and Gnome - parallel. Why?
information type: Private Security → Public
Revision history for this message
Sergei Solo (solomatkins) wrote :

Gnome Lock screen process name is "gnome-screensaver-dialog"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon Déziel (sdeziel) wrote :

I don't believe this is a duplicate of LP: #1288241 as I don't have apparmor-notify installed yet I have this bogus behaviour on resume.

Here are some debug info based on https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1288241/comments/13:

$ ps auxww|grep [g]nome-screensaver
simon 4926 0.0 0.3 510560 24080 ? Sl 08:35 0:02 /usr/bin/gnome-screensaver --no-daemon
simon 5572 0.0 0.1 473948 15480 ? Sl 08:40 0:00 /usr/bin/gnome-screensaver --no-daemon

$ cat /proc/4926/environ | tr '\0' '\n'|grep UPSTART_SESSION
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/4683
$ cat /proc/5572/environ | tr '\0' '\n'|grep UPSTART_SESSION
  # nothing showed in that grep
$ cat /proc/4926/environ | tr '\0' '\n'|grep DBUS_SESSION
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FhuyEq4d9X,guid=c156604da8fe0782de11a61a53341afe
$ cat /proc/5572/environ | tr '\0' '\n'|grep DBUS_SESSION
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-C3BaSOeR1G,guid=d2a6b4f0d7acab4bcd28b4a953341c22
$ cat /etc/X11/Xsession.d/90apparmor-notify
cat: /etc/X11/Xsession.d/90apparmor-notify: No such file or directory

$ dpkg -l| grep apparmor
ii apparmor 2.8.95~2430-0ubuntu2 amd64 User-space parser utility for AppArmor
ii libapparmor-perl 2.8.95~2430-0ubuntu2 amd64 AppArmor library Perl bindings
ii libapparmor1:amd64 2.8.95~2430-0ubuntu2 amd64 changehat AppArmor library

Revision history for this message
Sebastien Bacher (seb128) wrote :

duplicate of bug #1292451 then?

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It's estimated to have a moderate impact on a large portion of Ubuntu users.

Changed in lightdm (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Simon Déziel (sdeziel) wrote : Re: [Bug 1295673] Re: Two lock screens. Ubuntu and Gnome - parallel. Why?

On 14-03-27 06:47 PM, Sebastien Bacher wrote:
> duplicate of bug #1292451 then?

Most likely as I just was able to reproduce #1292451 here.

Thanks

Revision history for this message
ScarySquirrel (coproc-sbcglobal) wrote :

Quick note on English, the word to use is "must", not "should", here.

Revision history for this message
ScarySquirrel (coproc-sbcglobal) wrote :

I tried replacing LightDM with GnomeDM, to no avail.

I also tried deleting LightDM with the following: http://linuxandfriends.com/change-default-display-manager-ubuntu-linux/

This did not work, and I had to change the text file back to the original by pressing ctrl-alt-f5 and editing it in a shell.

Reinstalling GDM does not work, either, http://askubuntu.com/questions/69706/is-it-safe-to-uninstall-gdm-when-using-lightdm notwithstanding.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.