Error: Unable to open a console terminal

When i launch SDL_InitSubSystem(SDL_INIT_TIMER | SDL_INIT_VIDEO) under KDE
2.2.2 i got a Unable to open a console terminal error from SDL_GetError.
I’m using SDL 1.2.5, debian woody and xlibs-dev 4.2.1-3.
Any idea?

Thanx,
Francesco Orsenigo

When i launch SDL_InitSubSystem(SDL_INIT_TIMER | SDL_INIT_VIDEO) under KDE
2.2.2 i got a Unable to open a console terminal error from SDL_GetError.
I’m using SDL 1.2.5, debian woody and xlibs-dev 4.2.1-3.
Any idea?

Is your DISPLAY environment variable set? What’s the output of xdpyinfo
from the terminal you are trying to run the program from?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Is your DISPLAY environment variable set?
Yes:
DISPLAY=:0.0

What’s the output of xdpyinfo
from the terminal you are trying to run the program from?
Quite large… i’m putting it here:

http://freeweb.lombardiacom.it/xarvh/xdpyinfo.txt

It worked when i was using SDL 1.2.4, but i had to reinstall both SDL and
window manager (however is unlikely that the xfree86 config has been touched).

Thank you!
Francesco Orsenigo