Operating System - HP-UX
1826471 Members
3155 Online
109692 Solutions
New Discussion

X-Terminal CDE Login Window Font Too Large

 
SOLVED
Go to solution
Brian McEntire
Frequent Advisor

X-Terminal CDE Login Window Font Too Large

Hello Folks,
We're using some Envizex II X Terminals. For the most part, we have 19" monitors connected to these terminals. But a few of the X Terminals have 17" Monitors attached and at that, the Envizex II is autodetecting them and forcing them to 1024x768 mode. I've tried changing the monitor setting to 1280x1024 but it just gets autodetected/reset to 1024x768 at the next reboot.

* Anyway, that isn't the problem I'm hoping to solve ATM. What I am more concerned about is that on these 17" monitors, the dtgreeting (? The CDE Login window) barely displays any of the welcome text because the font looks so big on these 17" monitors.

Is there a way to tell dtgreet to use a smaller font? Otherwise, is there a good method for forcing the X Terminal to use a 72 dpi font? Would that work and how could I go about configuring the X Terms to do that?

Thanks a bunch!
Brian
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: X-Terminal CDE Login Window Font Too Large

Hi Brian,

Have you tried changing the settimgs while CDE was running ?

/opt/graphics/common/bin/setmon -r
to see all available settings

/sbin/init.d/dtlogin stop

/opt/graphics/common/bin/setmon -s {number}
to set a specific mode.

/sbin/init.d/dtlogin start

Robert-Jan.
T G Manikandan
Honored Contributor
Solution

Re: X-Terminal CDE Login Window Font Too Large

You can change the font size of the dtgreet using

1.cp /usr/dt/config/C/Xresources /etc/dt/config/C/Xresources

2.Edit Xresources file
from
According to the monitor size you can change the fontlist
if your monitor setting is 1024X768 you can
change
//dtlogin*greeting.fontList: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*://
//Dtlogin*greeting.fontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*://

ie.change xl to s

Revert

Jochen Heuer
Respected Contributor

Re: X-Terminal CDE Login Window Font Too Large

Hi Brian,

another reason might be that no font server is setup / used. Check this document:

http://www4.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=KBRC00000472

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Alex Glennie
Honored Contributor

Re: X-Terminal CDE Login Window Font Too Large

setmon will have no effect on xterminals but would on a workstation.

setting up xfs is a GOOD idea.

monitor resolution : ensure you are not using a remote config file see Terminal-> Remote Config -> Download on next reboot via the xterminal config gui .. key.If you are this could be where the problem lies ie hardwiring a monitor resolution and ignooring any changes you make.

Next try setting monitor res : Terminal-> Monitor

save and reboot the xterminal

the resourses for dtgreet should also have some effect.

ps once xfs is setup : plenty of info on how to do this via the search utility on this site, you will need to add the font server path to the xterminals fontpath head

again via the config gui -> Xserver->font Path-> add tcp/:7000

Brian McEntire
Frequent Advisor

Re: X-Terminal CDE Login Window Font Too Large

Thanks!

It came down to the Xresources file. For some reason, my systems even had a nifty it-then-else configuration setup up already:

#if WIDTH < 1024
Dtlogin*greeting.fontList: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*#else

#else
Dtlogin*greeting.fontList: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*
-*-*:

** The only catch was, my 17" monitor screen size WAS 1024 wide, and so it wasn't less than 1024... I changed the < to a <= and it worked like a champ!

I also configured the X Terminal to use a font server per the discussion and links provided.

Thanks everyone!