SDL "XDM authorization key matches an existing client!"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
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.
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.
[+] Loading sound effect files ..
[+] Loading music file ..
Program received signal SIGSEGV, Segmentation fault.
Player_LoadGeneric_internal (reader=0xbfffea40, maxchan=64, curious=0) at ../playercode/mloader.c:455
455 if (of.samples[t].inflags == 0)
(gdb) bt
#0 Player_LoadGeneric_internal (reader=0xbfffea40, maxchan=64, curious=0) at ../playercode/mloader.c:455
#1 0xb65a1403 in Player_LoadGeneric (reader=0xbfffea40, maxchan=64, curious=0) at ../playercode/mloader.c:529
#2 0xb7eb3212 in MikMod_LoadSongRW () from /usr/lib/libSDL_mixer-1.2.so.0
#3 0xb7eb35bb in MOD_new_RW () from /usr/lib/libSDL_mixer-1.2.so.0
#4 0xb7eb3658 in MOD_new () from /usr/lib/libSDL_mixer-1.2.so.0
#5 0xb7eb17bc in Mix_LoadMUS () from /usr/lib/libSDL_mixer-1.2.so.0
#6 0x0804f79b in init_audio () at audio.c:47
#7 0x0804df6d in main (argc=1, argv=0xbfffef84) at main.c:303
(gdb)
I resolved this with performing make uninstall on libmikmod, which results the program executing but with the (obvious) error:
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
But I'm still stuck, I have no music.
I attempted to recompile and reinstall libmixmod, but then I'm back to segfault.
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
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
I actually have a full installation.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.