On Sun, Aug 14, 2022 at 09:13:23AM +0700, Robert Elz wrote:
> It is also certainly wrong to add /usr/X11R7/bin to $PATH unless the
> user is actually in an X environment, that ought be added in the X11
> startup scripts, not in the shell, or in user.cs_path A profile
> file can check if DISP
On Sat, Aug 13, 2022 at 08:59:07PM +, nia wrote:
> A problem many new NetBSD users encounter is that a default shell
> without an initialized home directory containing a ~/.profile
> does not include some system PATH entries that would otherwise be
> provided from /etc/skel/.profile.
> [..
On Sun 14 Aug 2022 at 07:36:17 +, nia wrote:
> Display managers do not create login shells, and xdm was used.
I've ~always found that weird, and ~always changed all my xterms to be
login shells. Probably since the 1980's (before NetBSD).
xterm.vt100.LoginShell: on
-Olaf.
--
___ "Buy
Linux has a pam_env.so which reads /etc/environment and
/etc/environment.d/* for this kind of thing. I was looking
for something like that on NetBSD a while back...
-RVP
n...@netbsd.org (nia) writes:
>There are a few remaining cases where the sh(1) defaults are Bad:
It's not "Bad" but just does not fit your personal expectations.
>1. We can't assume XDM. Lots of desktop environments have their own
> preferred login manager which may have inconsistent behaviou
On Sun, Aug 14, 2022 at 09:58:46AM +0200, Martin Husemann wrote:
> On Sun, Aug 14, 2022 at 07:36:17AM +, nia wrote:
> > Display managers do not create login shells, and xdm was used.
>
> Adapt the default /etc/X11/xdm/Xsession instead? Maybe make it extract
> PATH from /etc/sh.rc ?
>
> Martin
On Sun, Aug 14, 2022 at 07:36:17AM +, nia wrote:
> Display managers do not create login shells, and xdm was used.
Adapt the default /etc/X11/xdm/Xsession instead? Maybe make it extract
PATH from /etc/sh.rc ?
Martin
On Sun, Aug 14, 2022 at 12:33:39AM +0200, Joerg Sonnenberger wrote:
> On Sat, Aug 13, 2022 at 08:59:07PM +, nia wrote:
> > A problem many new NetBSD users encounter is that a default shell
> > without an initialized home directory containing a ~/.profile
> > does not include some system PATH en
On Sat, Aug 13, 2022 at 10:41:14PM +, Jeremy C. Reed wrote:
> On Sat, 13 Aug 2022, nia wrote:
>
> > A problem many new NetBSD users encounter is that a default shell
> > without an initialized home directory containing a ~/.profile
> > does not include some system PATH entries that would other