Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED]sdl fails with 'connection to ":0.0" refused'

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
dgulotta
Tux's lil' helper
Tux's lil' helper
Posts: 88
Joined: Mon Jan 09, 2006 10:18 pm

[SOLVED]sdl fails with 'connection to ":0.0" refus

  • Quote

Post by dgulotta » Wed Dec 03, 2008 1:51 am

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.
Top
Wormo
Retired Dev
Retired Dev
Posts: 526
Joined: Mon Nov 29, 2004 12:53 am
Location: SB County California

  • Quote

Post by Wormo » Sat Dec 06, 2008 6:28 am

Switch from xdm-specific to normal authorization method for your X clients by specifying auth method in /etc/X11/xdm/xdm-config:

Code: Select all

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
Top
dgulotta
Tux's lil' helper
Tux's lil' helper
Posts: 88
Joined: Mon Jan 09, 2006 10:18 pm

  • Quote

Post by dgulotta » Sun Dec 07, 2008 8:44 am

Thanks, that fixed it.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic