ligthdm issue (lock on wrong tty), bug or no bug ?

Asked by John Doe on 2020-03-05

Hi, when I lock my Openbox session (I'm using lightdm and lightdm-gtk-greeter, on Debian, I don't know why I've been redirected to the Ubuntu forum) by mean of «dm-tool lock» the session appears to be locked, but it now is on tty8. If I type Ctrl-Alt-7, then I come back to the tty7 with my session entirely accessible, nothing locked. I thought it might be coming from a configuration issue however I did not change the configuration much:

$ lightdm --show-config
   [Seat:*]
A greeter-session=lightdm-greeter
B greeter-hide-users=false
A session-wrapper=/etc/X11/Xsession

Sources:
A /usr/share/lightdm/lightdm.conf.d/01_debian.conf
B /etc/lightdm/lightdm.conf.d/99_custom.conf
C /etc/lightdm/lightdm.conf

the file 99_custom.conf is a custom change I made to get a pre-filled name since I'm usually the only one to access it.

$ cat /etc/lightdm/lightdm.conf.d/99_custom.conf
# 99_custom.conf custom conf file, we want to be called last so that our
# parameters values are those taken into account

[Seat:*]
greeter-hide-users=false

Should I fill a bug ?

Regards,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lightdm Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2020-03-16
Last query:
2020-03-16
Last reply:
2020-03-06
Manfred Hampl (m-hampl) said : #1

If you are running Debian, then you better use http://forums.debian.net/ instead of this Ubuntu question area.

John Doe (rba777) said : #2

Sure, next time I will think twice before following the URL given by dpkg as the project homepage. By the way, do Ubuntu users use dpkg to install lightdm ?

Best Manfred Hampl (m-hampl) said : #3

Ubuntu is derived from Debian and uses similar tools (dpkg, apt, etc.), but different repositories, and in most cases slightly modified packages.

Version numbers for lightdm in Ubuntu are (depending on Ubuntu release)
  1.30.0-0ubuntu3.1
  1.30.0-0ubuntu1
  1.28.0-0ubuntu1
  1.26.0-0ubuntu1

Interesting enough to see that most version numbers in Ubuntu are higher than those listed for Debian on https://packages.debian.org/src:lightdm
Apparently for lightdm it isn't the usual "Ubuntu copies from Debian", but the reverse "Debian copies from Ubuntu".

And finally: the newest versions show this as the project homepage:
https://github.com/canonical/lightdm

John Doe (rba777) said : #4

Thanks Manfred Hampl, that solved my question.