SDL "XDM authorization key matches an existing client!"
After having recompiled libmixmod and then recompiled SDL_Mixer to get support for certain music formats I now find myself unable to start a lot of SDL programs that were previously working perfectly fine -- even some programs that do not use any sound functionality at all will not work.
I get the following error when I attempt to execute my project which was previously working fine: "XDM authorization key matches an existing client!Error: Unable to init SDL: Couldn't open X11 display" I also get the same error when I try to execute a lot of other programs, many of them not my own. It seems that the error is not caused by using SDL_Mixer either, as some pure graphics demos without any audio functionality also give me this message, and when I removed all audio features from my program to try to isolate the issue it still gave that error upon execution. I tried to recompile the base SDL package as well, but that had no effect that I could notice. |
Which version of SDL are you compiling, which version of Slackware are you using, and which SDL package is currently installed? Are you using sdl.SlackBuild to build SDL?
|
Quote:
SDL-1.2.14 SDL_gfx-2.0.20 SDL_mixer-1.2.11 I'm not using Slackbuilds. |
So I guess you have not tried the (sdl-1.2.14-i486-2.txz) package included with slackware? Are you talking about libmikmod? It's built statically into SDL_mixer in the slackware package.
http://slackware.oregonstate.edu/sla...sdl.SlackBuild It might be good to compare this with what you are doing. |
Quote:
I performed this operation by first doing make uninstall on SDL, SDL_mixer and SDL_gfx. Then I downloaded everything at http://slackware.oregonstate.edu/sla.../source/l/sdl/ and executed the build script. The result was this: Code:
[+] Loading sound effect files .. Code:
Mix_LoadMUS() failed on loading ./data/title.xm: Failed loading libmikmod.so.2: libmikmod.so.2: cannot open shared object file: No such file or directory I attempted to recompile and reinstall libmixmod, but then I'm back to segfault. |
I also attempted to use this: http://slackbuilds.org/repository/13...ries/libmikmod instead of doing everything by hand -- the result is still a segfault upon calling Mix_LoadMUS().
|
@maloc
From the slackware dvd SDL links against alsa-lib, arts, audiofile, esound, and the X11 libraries. Make sure all of these are installed if you're planning to use SDL (a full installation will cover all of the prerequisites). Why dont you just reisntall the origanal from the cd / dvd and then get SDL_gfx-2.0.20 from slackbuilds.com Regards Lawrence |
Quote:
I don't have an issue with SDL_gfx at the moment -- my problem is with libmixmod, I don't think SDL_gfx would have anything to do with that? |
Hi!
Any solution for this problem. I get the same error If i run Code:
xhost + |
All times are GMT -5. The time now is 11:32 PM. |