[comp.unix.ultrix] Xwindows defaults

nicaugh@otago.ac.nz (06/06/91)

I have a problem with X-windows on a Decstation 3100 running ultrix 3.1,
X is is Xmfb initialiased using xdm, with uwm window manager.

The problem is that X applications are not reading my ~/.Xdefaults file.
The only way I can specify defaults is to use xrdb.
The ~/.Xdefaults file is read however if I setenv DISPLAY to be a
Iris 4D20 on our net, but never on the decstation. 
Can anyone please suggest a solution/where in the manual to find a solution.

Thanks in advance
Nigel
===============================================================================
Nigel Caughey                       Phone : +64-3-4799939
Animation Research Unit             Fax   : +64-3-4799915
University of Otago
Dunedin 
New Zealand                         Email : nicaugh@otago.ac.nz

Any Opinions Expressed are mine and not my employers

gringort@wsl.dec.com (Joel Gringorten) (06/07/91)

In article <1991Jun6.114416.481@otago.ac.nz>, nicaugh@otago.ac.nz writes:
|> I have a problem with X-windows on a Decstation 3100 running ultrix 3.1,
|> X is is Xmfb initialiased using xdm, with uwm window manager.
|> 
|> The problem is that X applications are not reading my ~/.Xdefaults file.
|> The only way I can specify defaults is to use xrdb.

The thing that comes to mind is that your resource data base is already
installed (as a property on your root window.)  The DEC session manager
normally does this -- dunno if xdm does.  If you have the resource data
base already installed, the X toolkit does not bother reading the resources
from your .Xdefaults file.

I think if you first remove the resources on the root window, the toolkit
will get your resources from the .Xdefaults file.  Use the command:  "xrdb -r"

-joel