I need to show urwid form but it doesn't show. The nuance is that I need to show the form without prompting. If I login into system everything works fine. I have only /dev/tty1 for show form and getting data from user.
I found the problem. At reading from stdin os.read return empty string, TypeError exception. I tried redefine method _get_keyboard_codes in child class and call _getch in try-catch but it goes into endless loop.
How can I read from /dev/tty1 without prompting?
I found set raw mode example in ubuntu's subiquity but it doesn't help.
I'm not sure but I think ubuntu run subiquity under some user(after prompt/login) and it works fine.