SDL_Init fails on Linux

Issue #77 wontfix
Former user created an issue

Hello,

trying to init PySDL2 with sdl2.ext.init() or directly with sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO) fails with following exception

XDM authorization key matches an existing client!Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xxxx/.local/lib64/python2.7/site-packages/sdl2/ext/common.py", line 44, in init
    raise SDLError()
sdl2.ext.common.SDLError: 'No available video device'

Subsequent call to sdl2 init succeeds and returns 0. On the same machine SDL2 based games or other SDL2 binding like Gosu do not suffer with this issue.

SDL2 2.0.3 Xorg 1.15.2 xdm 1.1.11

Comments (2)

  1. Log in to comment