Comment 56 for bug 544139

Revision history for this message
Lennie (lbesselink) wrote :

So I checked, when it fails:

Aug 22 14:32:46 laptop console-kit-daemon[1119]: WARNING: input of ck_get_active_console_num: 3
Aug 22 14:32:46 laptop console-kit-daemon[1119]: WARNING: Could not determine active console

That doesn't make a lot of sense to me, it seems to have called ck_get_a_console_fd from ck_vt_monitor_init and it does:
kb_ok = (ioctl (fd, VT_GETSTATE, &vts) == 0);

fd is 3 and just a moment later it does:
res = ioctl (console_fd, VT_GETSTATE, &stat);

in ck_get_active_console_num and fails.