Operating System - HP-UX
1830939 Members
2760 Online
110017 Solutions
New Discussion

Re: gui application warning

 
SOLVED
Go to solution
jane zhang
Regular Advisor

gui application warning

hi all,
When I type some gui application at prompt, it always give me such warning, though the application run without problem.
Could somebody tell me how to get rid of this?
Thanks,

$ dtpad ora_conn.sh
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
8 REPLIES 8
Sridhar Bhaskarla
Honored Contributor

Re: gui application warning

Looks like some of the fonts used by your application are not present in the font database of the system. If your application is working fine,then you don't need to worry about this error.

Type in xlsfonts and see if this font is listed in the output.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
jane zhang
Regular Advisor

Re: gui application warning

Thanks for the reply, Sri
But I need to distribute my scripts to other people, and when they run the scripts, it also give them the same warning, what else shall I do?
Jane
Sridhar Bhaskarla
Honored Contributor

Re: gui application warning

Jane,

where are you running your application?. on a PC with some X-emulation?

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor
Solution

Re: gui application warning

OK. I assume you are running this on a PC with some X emulation software like Reflection-X or Exceed.

Setup your unix server as a font server and add it to the font database of your local software on the PC.

Setting up your Unix Server as a font server.

1. Make sure RUN_X_FONT_SERVER=1 appears in /etc/rc.config.d/xfs. Also add CONFIG_FILE_NAME=/etc/X11/fs/config
2. Stop xfs if it is running
/sbin/init.d/xfs stop
3. Go to /etc/X11/fs/ directory. Edit 'config' file. Search for the line that starts with catalog. Append the string /usr/dt/config/xfonts/C/ (trailing / indicates the directory) to the end of the line
4. Start the fontserver with the command
/sbin/init.d/xfs start

Your PC administrator can help you setup this server as the font server in the Font database of your local emulation software. You need to add the server's IP address, tcp and the port 7000 to the font database.

This has to be repeated on all the systems that are running the X-emulation software.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
jane zhang
Regular Advisor

Re: gui application warning

Thanks Sri for the help,
I will try to correct the steps.
Jane
jane zhang
Regular Advisor

Re: gui application warning

Sri,
I followed the steps to moidify the two files and restart the font server. and also append tcp/hostname:7000 to my reflection's Subdirectories and font servers option.
The warning is GONE!
I just want to confirm that those change will not affect any other stuff or have some side effect? I am new root user...
Thank you.
Sridhar Bhaskarla
Honored Contributor

Re: gui application warning

Jane,

This is not going to affect anything except that your unix system is a font server now.
Make sure your users add this font server into
their reflection's configuration to get rid of
these messages.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
jane zhang
Regular Advisor

Re: gui application warning

Sri,
Thank you very much, My users does not have the warning now.
Jane