pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38190: SDL Apps don't work without doing xhost +



>Number:         38190
>Category:       pkg
>Synopsis:       SDL Apps don't work without doing xhost +
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 07 08:20:00 +0000 2008
>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@localhost:/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



Home | Main Index | Thread Index | Old Index