While setvideomode: Unable to open a console terminal

Hi, everybody,
I got an ARM9 development board and I would like to run some applications
based on SDL.

So it writes in a C file:

screen = SDL_SetVideoMode (300,300,16,SDL_DOUBLEBUF);
if (!screen) {
printf (“Can’t get screen: %s\n”, SDL_GetError());
return -1;
}

I run it from a telnet client and it return:
Can’t get screen: Unable to open a console terminal

I checked some old mails, and found that someone said it might be the
problem of having no Virtual Terminal compiled in the kernel. But I did
compile it and found no effect.

Do you have any ideas about it? Thanks.–

Simophin
???

Simophin
Xidian University, Shaan’xi, China