NetBSD Problem Report #38190

From martin@duskware.de  Fri Mar  7 08:19:51 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2FF9D63B89A
	for <gnats-bugs@gnats.netbsd.org>; Fri,  7 Mar 2008 08:19:51 +0000 (UTC)
Message-Id: <20080306234158.D154763B88C@narn.NetBSD.org>
Date: Thu,  6 Mar 2008 23:41:58 +0000 (UTC)
From: krille@users.sf.net
Reply-To: krille@users.sf.net
To: netbsd-bugs-owner@NetBSD.org
Subject: SDL Apps don't work without doing xhost +
X-Send-Pr-Version: www-1.0

>Number:         38190
>Category:       pkg
>Synopsis:       SDL Apps don't work without doing xhost +
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joerg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 07 08:20:00 +0000 2008
>Closed-Date:    Sat Mar 14 22:17:26 +0000 2015
>Last-Modified:  Sat Mar 14 22:17:26 +0000 2015
>Originator:     Christian Hattemer
>Release:        4.0
>Organization:
>Environment:
NetBSD webster.lan 4.0_STABLE NetBSD 4.0_STABLE (WEBSTER) #0: Sat Mar  1 19:14:34 CET 2008  krille@webster.lan:/home/krille/pc-build/obj/sys/arch/i386/compile/WEBSTER i386
>Description:
I'm not entirely sure that this doesn't belong into the xsrc category, but let's try it here.

The system was installed from scratch some time before the 4.0 release. base and pkgsrc have been updated to the latest versions, namely:

Information for qemu-0.9.0nb1:

Comment:
CPU emulator using dynamic translation

Requires:
SDL>=1.2.10

Information for SDL-1.2.13:

Comment:
Simple DirectMedia Layer, a cross-platform multimedia library

Requires:
glu>=6.4.1nb1
MesaLib>=6.4.1nb1

I'm using XFree86 from xsrc.

Applications using SDL (I've tried qemu and openttd) fail to start unless you do xhost +

After doing xhost + everything works as expected. It's possible to do xhost - after the app has lanched, it still works.
>How-To-Repeat:
$ cd /usr/pkgsrc/emulators/qemu
$ make install
$ echo foo >img
$ qemu -hda img
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!
Could not initialize SDL - exiting
$ xhost +
$ qemu -hda img
<qemu window opens>
>Fix:
unknown

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/38190: SDL Apps don't work without doing xhost +
Date: Fri, 07 Mar 2008 20:12:43 +0900

 Put following line on /etc/X11/xdm/xdm-config avoid the problem?
 DisplayManager*authName: MIT-MAGIC-COOKIE-1

From: Christian Hattemer <c.hattemer@arcor.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org,  gnats-admin@netbsd.org, 
 pkgsrc-bugs@netbsd.org,  obache@netbsd.org
Subject: Re: pkg/38190: SDL Apps don't work without doing xhost +
Date: Sat, 08 Mar 2008 00:42:55 +0100

 On 03/07/08 12:15, OBATA Akio wrote:

 >  Put following line on /etc/X11/xdm/xdm-config avoid the problem?
 >  DisplayManager*authName: MIT-MAGIC-COOKIE-1

 This makes it work, thanks.

 Can this be fixed generally? Except XF86Config and a changed geometry for 
 xconsole in Xsetup_0 this is an unmodified X setup.

 -- 
 Bye, Chris

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 08 Mar 2008 08:14:30 +0000
Responsible-Changed-Why:
Assign SDL's maintainer.


From: OBATA Akio <obache@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/38190: SDL Apps don't work without doing xhost +
Date: Sat, 08 Mar 2008 17:13:41 +0900

 Same PR is in Debian Bug report #292388.
 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292388>


Responsible-Changed-From-To: wiz->joerg
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 08 Mar 2008 08:19:57 +0000
Responsible-Changed-Why:
Reading the Debian bug report cited, this looks like a problem in
X. joerg, could you please take a look?


From: Christian Hattemer <c.hattemer@arcor.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/38190
Date: Sat, 14 Mar 2015 22:04:08 +0100

 Please close this, it's working with recent versions

 -- 
 LG, Christian

 /~\ The ASCII
 \ / Ribbon Campaign
   X  against HTML
 / \ E-Mail

State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sat, 14 Mar 2015 22:17:26 +0000
State-Changed-Why:
close at submitter request


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.