Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xmperf Font? 1

Status
Not open for further replies.

khalidaaa

Technical User
Jan 19, 2006
2,323
BH
Hi guys,

I've setup performance tool box once when a consultant was here with me and we were able to view it without any errors but now i'm getting this error when i run it using xmperf

Code:
# xmperf
Unable to locate font "-*-*-medium-r-*--15-100-100-100-c-70-iso8859-*"
Program can't continue without a font.
Please specify an existing font in the program's resource file.
Then execute the program again.

Any idea on how to recover this?

Regards,
Khalid
 
Strange that i haven't got any answer yet!?! :(
 
Hi,

Do you run the command on an ASCII terminal ( ansi, vt320,...) or using graphical terminal dtterm, xterm
echo $TERM
echo $DISPLAY

Ali
 
it was through an xterm!

# echo $TERM
xterm

# echo $DISPLAY

(didn't show anything for now!)
 
Hi,

If your DISPLAY variable is empty, then you don't connect to your box using a graphical environment ( exceed or some x-windows similar)
Can you run any other graphical application on your terminal ?

try to run xterm or xclock and post the result please.

DISPLAY variable must contain the IP address of the display device you are using( workstation that you use to connect to the box) like this
DISPLAY=192.168.10.1:0.0 where 192.168.10.1 is the IP

Ali

 
I don't think i have a problem with the display coz i can view the clock on my desktop!

The message that i got above in the error is saying something about a font problem! so how to change the font so i can view the xmperf?
 
Hi,

In this case, trying to set LANG=C or some other valid locale in your box bay be the issue.

Ali
 
Thank you very much aau for your comments :)

I descovered that i was doing something wrong! i was logged in into another server then i ssh to another one then tried to run the echo $DISPLAY which didn't show any thing as i said above but for now it is as follows:

# echo $TERM
xterm

# echo $DISPLAY
localhost:10.0

but even with that when i run xmperf i get the following:

# xmperf
Unable to locate font "-*-*-medium-r-*--15-100-100-100-c-70-iso8859-*"
Program can't continue without a font.
Please specify an existing font in the program's resource file.
Then execute the program again.

I changed the LANG to C as you suggested but it doesn't work also!
 
I think its an X11 problem!

I just managed to run it on the Graphics Adpater attached to this machine but not in here for some reasons!

i guess in there the DISPLAY was localhost:11.0 and in here it is localhost:10.0!

when i change my DISPLAY to 11.0 here it doesn't work!


any suggestions?
 
aau I think you deserve a star, not only for the nice comment but coz you were the only one who tried to :)

Thank you very much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top