View previous topic :: View next topic |
Author |
Message |
dgulotta Tux's lil' helper
Joined: 09 Jan 2006 Posts: 88
|
Posted: Wed Dec 03, 2008 1:51 am Post subject: [SOLVED]sdl fails with 'connection to ":0.0" refus |
|
|
When I try to run SDL programs, I get the following error about 80% of the time:
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!
Could not initialize SDL: Couldn't open X11 display!
The other 20% of the time, the program starts just fine. As far as I can tell it's completely random.
Any ideas on how to fix this?
Last edited by dgulotta on Thu Dec 18, 2008 11:00 am; edited 3 times in total |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Sat Dec 06, 2008 6:28 am Post subject: |
|
|
Switch from xdm-specific to normal authorization method for your X clients by specifying auth method in /etc/X11/xdm/xdm-config:
Code: |
DisplayManager*authName: MIT-MAGIC-COOKIE-1
|
Here is the best explanation I've seen on why certain programs have this problem with xdm cookies:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440874 |
|
Back to top |
|
|
dgulotta Tux's lil' helper
Joined: 09 Jan 2006 Posts: 88
|
Posted: Sun Dec 07, 2008 8:44 am Post subject: |
|
|
Thanks, that fixed it. |
|
Back to top |
|
|
|