light-locker causes tty to change

Bug #1783637 reported by Leo on 2018-07-25
This bug report is a duplicate of:  Bug #1760068: Wrong resolution at unlock screen. Edit Remove
This bug affects 1 person
Affects Status Importance Assigned to Milestone
light-locker (Ubuntu)
nvidia-graphics-drivers-340 (Ubuntu)

Bug Description

After upgrading to 18.04, on xfce4 with Display Power Management (xfce4-power-manager) enabled, or any of the three sliders set to non-zero, then when the time limit is hit after inactivity two monitors power down, but then the tty switches to tty8, and the third monitor just shows a black with a cursor flashing. Switching back to tty7 shows text saying that the session is locked, but no amount of keyboard or mouse activity brings up a prompt to unlock it.

Two Xorg logs are created when this happens (see attached). Ctrl-Alt-F# will switch to other ttys at this point, but only briefly before switching back to the one that is black with a single flashing cursor. After a few switchings between ttys, it stops automatically going back to tty8.

This problem also occurs when xscreensaver is used to control the display power management as well. However on switching back to tty7 in this case, the unlock dialog is presented as expected and things continue to work. So it would appear it is something more fundamental than xfce4-power-manager that is causing the active tty to change when the screens go sleep.

The screen power off that occurs while the lightdm's graphical login is presented (i.e. before logging in) works fine.

This problem appears to be due to light-locker. If I stop it from running the problem goes away.

(I would expect things to happen as in 17.10, namely that the displays blank/switch off as selected, and then when further input is given they unblank/switch on.)

Please let me know what further information I can provide to narrow down the problem.

lsb_release -rd:
Description: Ubuntu 18.04 LTS
Release: 18.04

apt-cache policy xfce4-power-manager:
  Installed: 1.6.1-0ubuntu1
  Candidate: 1.6.1-0ubuntu1
  Version table:
 *** 1.6.1-0ubuntu1 500
        500 bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xfce4-power-manager 1.6.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Jul 25 21:10:33 2018
InstallationDate: Installed on 2017-05-13 (438 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: xfce4-power-manager
UpgradeStatus: Upgraded to bionic on 2018-07-16 (9 days ago)

Leo (linux-fractal) wrote :
Leo (linux-fractal) on 2018-07-27
description: updated
Leo (linux-fractal) on 2018-08-03
description: updated
Leo (linux-fractal) on 2018-08-03
summary: - xfce4-power-manager causes X to exit when blanking
+ power manager monitor off causes tty to change
Leo (linux-fractal) on 2018-08-10
affects: xfce4-power-manager (Ubuntu) → light-locker (Ubuntu)
summary: - power manager monitor off causes tty to change
+ light-locker causes tty to change
description: updated

The closed source 'nvidia' driver may be the culprit. Did you test with the open source 'nouveau' driver yet?

Changed in light-locker (Ubuntu):
status: New → Incomplete
Leo (linux-fractal) wrote :

I just tried it with the noveau driver and the problem did not occur. So either using the noveau driver or disabling light-locker will avoid the problem.

This is not a bug in light-locker then, but an issue triggered by switching VTs. The nvidia driver seems to cause quite some problems in 18.04 -> bug 1760068.

Would it be possible for you to test with Xubuntu 18.10 (dev release)?

Alternatively, test with a newer driver and/or kernel version.

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

Other bug subscribers