Well... I am not sure anymore that is is an xrdb issue.
When I configure wmii as my window mananger in .Xsession, then try to login
using xdm, the first attempt fails, the second fais as well, but presents a
different xdm interface, as if all the X resources have been erazed. At the
3rd atempt, I login successfully, but without the X Resources available. This
is where I get the xrdb error.
Se below the .xsession-errors from the three login attempts:
--cut--
Xsession: X session started for lowry at Tue Jul 1 08:44:08 CEST 2008
XDM authorization key matches an existing client!wmii: fatal: couldn't open
display
XIO: fatal IO error 2 (No such file or directory) on X server ":0.0"
after 13 requests (12 known processed) with 0 events remaining.
Xsession: X session started for lowry at Tue Jul 1 08:44:52 CEST 2008
XDM authorization key matches an existing client!wmii: fatal: couldn't open
display
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 22 requests (21 known processed) with 0 events remaining.
Xsession: X session started for lowry at Tue Jul 1 08:44:58 CEST 2008
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/usr/bin/cpp -DHOST=lowry-nb -DSERVERHOST=lowry-nb
-DSRVR_lowry_nb -DDISPLAY_NUM=0 -DCLIENTHOST=lowry-nb -DCLNT_lowry_nb
-DVERSION=11 -DREVISION=0 -DVENDOR="The X.Org Foundation"
-DVNDR_The_X_Org_Foundation -DRELEASE=10400090 -DNUM_SCREENS=1 -DEXT_DAMAGE
-DEXT_Composite -DEXT_XINERAMA -DEXT_RANDR -DEXT_RENDER -DEXT_XFree86_Bigfont
-DEXT_XFIXES -DEXT_SECURITY -DEXT_XAccessControlExtension -DEXT_XC_APPGROUP
-DEXT_XKEYBOARD -DEXT_XTEST -DEXT_XInputExtension -DEXT_MIT_SHM -DEXT_glesx
-DEXT_ATITVOUT -DEXT_ATIFGLEXTENSION -DEXT_ATIFGLRXDRI -DEXT_XFree86_DRI
-DEXT_RECORD -DEXT_SGI_GLX -DEXT_GLX -DEXT_DOUBLE_BUFFER -DEXT_X_Resource
-DEXT_XVideo -DEXT_Extended_Visual_Information -DEXT_TOG_CUP -DEXT_DPMS
-DEXT_XFree86_DGA -DEXT_XFree86_Misc -DEXT_XFree86_VidModeExtension
-DEXT_XC_MISC -DEXT_MIT_SCREEN_SAVER -DEXT_SYNC -DEXT_BIG_REQUESTS
-DEXT_MIT_SUNDRY_NONSTANDARD -DEXT_SHAPE -DSCREEN_NUM=0 -DWIDTH=1280
-DHEIGHT=800 -DX_RESOLUTION=3743 -DY_RESOLUTION=4167 -DPLANES=24
-DBITS_PER_RGB=8 -DCLASS=TrueColor -DCLASS_TrueColor=35 -DCOLOR
-DCLASS_TrueColor_24=35 -DCLASS_DirectColor_24=75 -DCLASS_(null)_24=93
-DCLASS_TrueColor_32=137 /etc/X11/Xresources/x11-common'
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/usr/bin/cpp -DHOST=lowry-nb -DSERVERHOST=lowry-nb
-DSRVR_lowry_nb -DDISPLAY_NUM=0 -DCLIENTHOST=lowry-nb -DCLNT_lowry_nb
-DVERSION=11 -DREVISION=0 -DVENDOR="The X.Org Foundation"
-DVNDR_The_X_Org_Foundation -DRELEASE=10400090 -DNUM_SCREENS=1 -DEXT_DAMAGE
-DEXT_Composite -DEXT_XINERAMA -DEXT_RANDR -DEXT_RENDER -DEXT_XFree86_Bigfont
-DEXT_XFIXES -DEXT_SECURITY -DEXT_XAccessControlExtension -DEXT_XC_APPGROUP
-DEXT_XKEYBOARD -DEXT_XTEST -DEXT_XInputExtension -DEXT_MIT_SHM -DEXT_glesx
-DEXT_ATITVOUT -DEXT_ATIFGLEXTENSION -DEXT_ATIFGLRXDRI -DEXT_XFree86_DRI
-DEXT_RECORD -DEXT_SGI_GLX -DEXT_GLX -DEXT_DOUBLE_BUFFER -DEXT_X_Resource
-DEXT_XVideo -DEXT_Extended_Visual_Information -DEXT_TOG_CUP -DEXT_DPMS
-DEXT_XFree86_DGA -DEXT_XFree86_Misc -DEXT_XFree86_VidModeExtension
-DEXT_XC_MISC -DEXT_MIT_SCREEN_SAVER -DEXT_SYNC -DEXT_BIG_REQUESTS
-DEXT_MIT_SUNDRY_NONSTANDARD -DEXT_SHAPE -DSCREEN_NUM=0 -DWIDTH=1280
-DHEIGHT=800 -DX_RESOLUTION=3743 -DY_RESOLUTION=4167 -DPLANES=24
-DBITS_PER_RGB=8 -DCLASS=TrueColor -DCLASS_TrueColor=35 -DCOLOR
-DCLASS_TrueColor_24=35 -DCLASS_DirectColor_24=75 -DCLASS_(null)_24=93
-DCLASS_TrueColor_32=137 /home/lowry/.Xresources'
wmii: note: missing fontsets for 'fixed': JISX0208.1983-0, KSC5601.1987-0,
GB2312.1980-0, JISX0201.1976-0, ISO10646-1
wmii: note: missing fontsets for
'-*-terminus-medium-r-*-*-16-*-*-*-*-*-iso10646-1': JISX0208.1983-0,
KSC5601.1987-0, GB2312.1980-0, JISX0201.1976-0
--cut--
On Mon, Jun 30, 2008 at 10:29:23AM +0700, Ivan Shmakov wrote:
> >>>>> Alexander Mikhailian <[EMAIL PROTECTED]> writes:
>
> >> What do you have in your config causing this? Something in your
> >> shell config maybe? We can't reproduce this. xrdb just waits for
> >> input on stdin here.
>
> > I used wmii and the error appeared after the last upgrade of lenny. I
> > just made a quick test by starting the X session with ctwm and the
> > error goes away, indeed.
>
> > I am pretty sure the error is due to the "-DCLASS_(null)_24=93" in
> > the cpp input, but I can not figure out where it comes from.
>
> Is it because some NULL sneaks in into the part of code that
> prepares (snprintf ()'s?) the command line (then passed to
> system ())?
>
> What's the output of xdpyinfo(1)?
>
> --cut: xrdb(1)--
> CLASS_visualclass_depth=num
> A symbol is defined for each visual supported for the screen.
> The symbol includes the class of the visual and its depth; the
> value is the numeric id of the visual. (If more than one
> visual has the same class and depth, the numeric id of the
> first one reported by the server is used.)
> --cut: xrdb(1)--
>
> Could it be that xrdb(1) doesn't know the name of some visual
> class?
>
>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]