[comp.windows.x] HP xdm problem

leekin@kira.msu.edu (Kin-Wing Edwin Lee) (01/29/91)

We have xdm running on HP 9000/375s(HP_UX 7.0, X11R3), 
there are two problems with the set up.

1. It does not read users' .Xdefault file instead it uses the
system defaults.

2. xclock is always two hours slower than the system clock
which is kind of annoying.

Anyone have similiar problem?!

================================================================================
         Imagine that Cray computer decides to make a personal computer.  It has
  O   O  a 150 MHz processor, 200 megabytes of RAM, 1500 megabytes of disk	
    o    storage, a screen resolution of 1024 x 1024 pixels, relies entirely on
   ___   voice recognition for input, fits in your shirt pocket and costs $300.
    U    What's the first question that the computer community asks?
	 "Is it PC compatible?" - a clip from fortune

 leekin@frith.egr.msu.edu |  uunet!frith!leekin  |  leekin@msuegr.bitnet
================================================================================

rthomson@mesa.dsd.es.com (Rich Thomson) (01/29/91)

In article <1991Jan28.193724.21751@msuinfo.cl.msu.edu>
	leekin@kira.msu.edu (Kin-Wing Edwin Lee) writes:
>1. It does not read users' .Xdefault file instead it uses the
>system defaults.

Make sure that either the session script (Xsession) or the user's
.xsession loads their .Xdefaults into the database.  My .xsession has
``xrdb -load .Xdefaults'', just like my .xinitrc had (when I used
xinit).

>2. xclock is always two hours slower than the system clock
>which is kind of annoying.

On some systems, login(1) sets a variable to indicate the time zone of
the machine.  This is called TZ on MIPS boxes.  Check the man page for
login(1) to see what kind of environment it sets up.  There may be
more environment setup in the /etc/{cshrc,profile} system-wide startup
files.

Since xdm doesn't exec login, these environment variables may not be
setup properly.  I modified Xsession to set the time zone variable TZ
and the LOGNAME variable (from $USER).  See also the man page on
xdm(1) to see what the environment is like when these scripts are run.

						-- Rich
-- 
  ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon
	    Disclaimer: I speak for myself, except as noted.
UUCP: ...!uunet!dsd.es.com!rthomson		Rich Thomson
ARPA: rthomson@dsd.es.com			PEXt Programmer

dex@hpcvlx.cv.hp.com (Dex Smith) (01/30/91)

If you are using the HP Visual User Environment (HP VUE), you can get 
more help from these sections of the documentation ...

>> 1. It does not read users' .Xdefault file instead it uses the
>> system defaults.

In the "HP VUE System Administration Manual" ...

		Chapter 8: "Application Resources"

			"How Applications Obtain Attributes"
			"Ways to Change Resources"

>> 2. xclock is always two hours slower than the system clock
>> which is kind of annoying.

In the "HP VUE User's Guide" ...

		Appendix A:  "Managing Your Workstation"

			"Setting the Time Zone, Clock, and Date"


  - Dex Smith
    Hewlett-Packard Company
    dex@hpcvlx.hp.com