Subject: /etc/profile and /usr/X11R6/bin/xdm
To: None <netbsd-docs@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-docs
Date: 04/28/2007 22:06:12
NetBSD 4.0_BETA2, xdyinfo: vendor release number:    40500000

x11/xpkgwedge  pkgsrc package says:

       * You MUST set the environment variable XAPPLRESDIR in
       /etc/profile and /etc/csh.login by hand in order to make pkgs
       built with xpkgwedge run properly, e.g.

          XAPPLRESDIR=/usr/pkg/lib/X11/app-defaults
          export XAPPLRESDIR

I made this, but /etc/profile is not called properly when login is
done using xdm.

/etc/profile is documented only in shells (sh, ksh, bash).
Nothing is in xdm.

I see the following variants
1) Everything is ok, /etc/profile may be executed or may not
   by xdm/kdm/gdm/wdm/...
   If I want to be sure, I should run it myself from ~/.xsession

   In this case the bug (or incompleteness) is in xpkgwedge
   documentation (MESSAGE file)

2) xdm should call /etc/profile by calling it from, e.g, /etc/xdm/Xsession

   In this case I hope somebody will fix it.

?

-- 
Best regards, Aleksey Cheusov.