Subject: Linux X11 problems
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 12/16/2004 21:22:28
	Hello,

I've upgraded the Linux emulation libraries on my NetBSD-current system
from SuSE 7.3 to 9.1 today. When I now try to build the "realplayer"
package it dies with this error message:

Xlib: connection to "colwyn.zhadum.de:0.0" refused by server
Xlib: Protocol not supported by server

Error: Can't open display: colwyn.zhadum.de:0.0

It apparently fails to read my ".Xauthority" file. Here is output from
"ktrace":

 16152 rp8_linux20_libc NAMI  "/home/tron/.Xauthority"
 16152 rp8_linux20_libc RET   access 0
 16152 rp8_linux20_libc CALL  open(0xbfbfe5ad,0,0x1b6)
 16152 rp8_linux20_libc NAMI  "/emul/linux/home/tron/.Xauthority"
 16152 rp8_linux20_libc NAMI  "/home/tron/.Xauthority"
 16152 rp8_linux20_libc RET   open 4
 16152 rp8_linux20_libc CALL  mmap(4,0xbfbfcd14)
 16152 rp8_linux20_libc RET   mmap 0
 16152 rp8_linux20_libc CALL  dup2(0xbfbfccfc)
 16152 rp8_linux20_libc RET   dup2 1214275584/0x48606000
 16152 rp8_linux20_libc CALL  read(4,0x48606000,0x8000)
 16152 rp8_linux20_libc GIO   fd 4 read 1098 bytes
       "\0\0\0\^DQ\M-;\M-5r\0\^A0\0\^RMIT-MAGIC-COOKIE-1\0\^P\^[\M-vJ\M-K]`\
[...]
 16152 rp8_linux20_libc RET   read 1098/0x44a
 16152 rp8_linux20_libc CALL  close(4)
 16152 rp8_linux20_libc RET   close 0
 16152 rp8_linux20_libc CALL  #91 (unimplemented getdopt)(0x48606000,0x8000)
 16152 rp8_linux20_libc RET   #91 (unimplemented getdopt) 0
 16152 rp8_linux20_libc CALL  getpid
 16152 rp8_linux20_libc RET   getpid 16152/0x3f18
 16152 rp8_linux20_libc CALL  fchdir(0xbfbfcf5c)
 16152 rp8_linux20_libc RET   fchdir 1103231807/0x41c1fb3f
 16152 rp8_linux20_libc CALL  compat_43_okillpg(3,0xbfbfd028,5)
 16152 rp8_linux20_libc GIO   fd 3 wrote 60 bytes

Any ideas what the getdopt() system call is for?

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/