dm-tool lock + alt-ctrl-f7
Bug #1060228 reported by
niknah
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gentoo Linux |
Expired
|
Medium
|
|||
lightdm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04.1
lightdm 1.2.1-0ubuntu1
lightdm-gtk-greeter 1.1.5-0ubuntu1
* Run...
dm-tool lock
Press alt-ctrl-f7
Now I'm back in without a password.
Same with switch-to-greeter
I don't know if it's supposed to be this way or it's a security problem.
Changed in gentoo: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in gentoo: | |
status: | Fix Released → Unknown |
Changed in gentoo: | |
status: | Unknown → Expired |
To post a comment you must log in.
The dm-tool program that is part of x11-misc/lightdm apparently spawns a new lightdm process on every invocation of the "lock" command. On my system I found that after a while, "dm-tool lock" would merely switch to VT8 instead of switching to the lightdm greeter, leaving my session without password protection. There were many ligthdm subprocesses, all using lots of CPU (such that both cores were maxed out).
An example after one invocation of "dm-tool lock":
% ps aux|grep lightdm lightdm/ root/:0 -nolisten tcp vt7 -novtswitch
root 7565 0.4 1.5 312044 62876 ? SLsl 12:07 0:00 /usr/sbin/lightdm
root 7603 4.7 0.7 146248 31840 tty7 Ssl+ 12:07 0:01 /usr/bin/X :0 -auth /var/run/
root 7958 0.1 0.1 208428 6280 ? Sl 12:07 0:00 lightdm --session-child 12 19
root 13642 0.6 0.0 162380 3736 ? Sl 12:07 0:00 lightdm --session-child 19 26
marcec 14742 0.0 0.0 14072 960 pts/3 S+ 12:07 0:00 grep lightd
There's the main lightdm process and *two* children, instead of the usual one.
The upstream bug at $URL mentions the same basic symptom I've seen (albeit for an older version of lightdm) and sadly hasn't had any activity.
Reproducible: Always
Steps to Reproduce:
1. invoke "dm-tool lock"
2. log back in
3. run "ps aux|grep lightdm"
4. repeat steps 1 and 2 several times (not sure how many)
Actual Results:
The ps output shows two lightdm subprocesses instead of the usual one, after step 4 lightdm stops locking and instead simply switches to another VT (in my case 8). It's possible to switch to the session via Alt-F7 (*no* password protection!).
Expected Results:
The ps output shows the main ligthdm process and one subprocess, step 4 should *always* properly lock the session.
% emerge --info lightdm linux/amd64/ 13.0, gcc-4.6.3, glibc-2.15-r3, 3.10.7-gentoo x86_64) ======= ======= ======= ======= ======= ======= ======= ======= ==
System Settings ======= ======= ======= ======= ======= ======= ======= ======= == 10.7-gentoo- x86_64- AMD_Athlon- tm-_64_ X2_Dual_ Core_Processor_ 4200+-with- gentoo- 2.2 baselayout: 2.2 gcc-config: 1.7.3 linux-headers: 3.9 (virtual/ os-headers) KEYWORDS= "amd64" "x86_64- pc-linux- gnu" x86_64- pc-linux- gnu" PROTECT= "/etc /usr/share/co...
Portage 2.1.12.2 (default/
=======
=======
System uname: Linux-3.
KiB Mem: 4047292 total, 200908 free
KiB Swap: 4194300 total, 4175728 free
Timestamp of tree: Tue, 03 Sep 2013 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-lang/python: 2.7.5-r2, 3.2.5-r2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.6.3
sys-devel/
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/
sys-libs/glibc: 2.15-r3
Repositories: gentoo science wagnerflo sunrise overnight ladi proaudio pd-overlay mjoliet
ACCEPT_
ACCEPT_LICENSE="* -@EULA"
CBUILD=
CFLAGS="-O2 -march=native -pipe"
CHOST="
CONFIG_