Use /dev/tty0 instead of /dev/console for VT operations

Bug #1566073 reported by Robert Ancell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
High
Unassigned
1.18
Fix Released
High
Unassigned
lightdm (Ubuntu)
Fix Released
High
Unassigned
Trusty
Confirmed
Undecided
Unassigned

Bug Description

LightDM currently uses /dev/console for VT operations. In Ubuntu 16.04 this does not appear to work anymore. Switching to /dev/tty0 works, and this matches what logind and GDM use.

When these operations don't work this can affect the ability to switch between sessions.

There doesn't seem to be any documentation on what the correct device to use for VT operations is, so matching other software is probably just reducing the risk of hitting bugs.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

This may be the cause of ongoing VT switching issues (bug 851612).

Changed in lightdm:
status: New → Fix Committed
importance: Undecided → High
Changed in lightdm (Ubuntu):
importance: Undecided → High
description: updated
Changed in lightdm:
milestone: none → 1.19.0
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.18.1-0ubuntu1

---------------
lightdm (1.18.1-0ubuntu1) xenial; urgency=medium

  * New upstream release:
    - Use /dev/tty0 instead of /dev/console for VT operations (LP: #1566073)

 -- Robert Ancell <email address hidden> Tue, 05 Apr 2016 12:06:39 +1200

Changed in lightdm (Ubuntu):
status: New → Fix Released
Changed in lightdm:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lightdm (Ubuntu Trusty):
status: New → Confirmed
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.