VT calls failing on /dev/console

Robert Ancell robert.ancell at canonical.com
Mon Apr 4 05:05:44 UTC 2016


Hi all,

I've noticed in Xenial that VT ioctls that LightDM is using (VT_GETSTATE,
VT_ACTIVATE, VT_WAITACTIVE) on /dev/console now seem to be failing (errno 5
- Input/output error). If I switch to /dev/tty0 they seem to work (this is
what GDM and logind are using).

Two questions:
- Does anyone know what has changed that means these no longer work?
- What is the correct way to do these VT calls? Every time i try and work
this out there seems to be no documentation anywhere and reading the kernel
leaves me more confused.

--Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20160404/e62b4e92/attachment.html>


More information about the ubuntu-devel mailing list