Run demos of SDL

hi all,

I have build SDL1.2.4 for nano-X on redhat 7.1,
Now I want to run deoms under …/test/ ,
But can’t,it shows that ‘Couldn’t initialize SDL:No avalibale video
device’;
I ever run the same demos for X11.
how can I deal with it then?

Regards,
Andy