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
A greeter-session=lightdm-greeter
B greeter-hide-users=false
A session-wrapper=/etc/X11/Xsession

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


Should I fill a bug ?


Question information

English Edit question
Ubuntu lightdm Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

If you are running Debian, then you better use 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)

Interesting enough to see that most version numbers in Ubuntu are higher than those listed for Debian on
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:

John Doe (rba777) said : #4

Thanks Manfred Hampl, that solved my question.