Bug 156503

Summary: starting xterm not possible
Product: [openSUSE] SUSE Linux 10.1 Reporter: Holger Sickenberg <holgi>
Component: X.OrgAssignee: Hendrik Vogelsang <hvogel>
Status: RESOLVED INVALID QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None    
Version: Beta 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Holger Sickenberg 2006-03-09 15:26:15 UTC
using window manager openbox:

starting "xterm" causes following error:
evo:~ # xterm
xterm:  unable to open font "-adobe-courier-bold-r-normal--12-140-75-75-m-90-iso8859-1", trying "fixed"....
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  18 (X_ChangeProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  130
  Current serial number in output stream:  131

Starting "xterm" with font parameter works fine:
evo:~ # xterm -fn fixed

I'm wondering why '... trying "fixed"' seams not to really try "fixed"
Comment 1 Stefan Dirsch 2006-03-09 16:04:32 UTC
Looks like a bug in the openbox menu. At least I don't see such a font in my xlsfonts output.
Comment 2 Hendrik Vogelsang 2006-03-09 16:07:36 UTC
the default xterm entry in the openbox menu is just

"xterm"

no font or anything given. Are you sure it isnt your .Xdefaults?
Comment 3 Holger Sickenberg 2006-03-09 16:11:39 UTC
As you saw: starting xterm within a normal shell causes the problem as well.

I tested it as root, a new created user and with my NIC account -> same problem
Comment 4 Stefan Dirsch 2006-03-09 16:20:03 UTC
Probably, what's the output of "xrdb -query|grep -i font"
Comment 5 Holger Sickenberg 2006-03-09 16:25:35 UTC
evo:~ # xrdb -query|grep -i font
XSysinfo*.font: fixed
xterm*font:     -adobe-courier-bold-r-normal--12-140-75-75-m-90-iso8859-1
Comment 6 Stefan Dirsch 2006-03-09 16:46:03 UTC
Nice try, but for sure this is not *our* default. :-)

~holgi/.Xdefaults:
[...]
xterm*font:    -adobe-courier-bold-r-normal--12-140-75-75-m-90-iso8859-1
Comment 7 Holger Sickenberg 2006-03-10 07:29:03 UTC
OK, catched me with my pants down. <:-)

I did not realize that I'm using the same X environment when using a different user within 'my' X session.

Sorry for the noise.