Aug 22 15:19:19 laptop console-kit-daemon[1110]: WARNING: input of 
ck_get_active_console_num: 3
Aug 22 15:19:19 laptop console-kit-daemon[1110]: WARNING: got an error: ioctl 
VT_GETSTATE
Aug 22 15:19:19 laptop console-kit-daemon[1110]: WARNING: Could not determine 
active console

When I have and it fails:

        g_warning ("input of ck_get_active_console_num: %d",
console_fd);

        res = ioctl (console_fd, VT_GETSTATE, &stat);
        if (res == ERROR) {
                g_warning ("got an error: ioctl VT_GETSTATE");
                perror ("ioctl VT_GETSTATE");
                goto out;
        }

        {
                int i;

                g_warning ("Current VT: tty%d", stat.v_active);

-- 
Active VT tracking can fail at startup
https://bugs.launchpad.net/bugs/544139
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to