[pkg-fso-maint] nodm does not work (VT_GETSTATE on /dev/console failed)

arne anka openmoko at ginguppin.de
Sat Jul 25 15:52:46 UTC 2009


> also post the output of "ls -l /dev/console" ? Let's compare the magic
> numbers (nomeata's are "5, 1").

crw------- 1 root root 5, 1 2009-07-24 22:35 /dev/console


> I'm attaching a small C file. I'd like you to compile it:
>
>    gcc getvt.c -o getvt
>
> then play with it a bit, and see when it works and when you get errors:
> does it change if you run it under X, or from ssh? What happens if you
> run it many times in a row?

no difference:

debian-gta02:/tmp# for i in {1..10} ; do ./getvt ; done
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
Console opened
getvt: VT_GETSTATE failed on /dev/console: Invalid argument
debian-gta02:/tmp#



More information about the pkg-fso-maint mailing list