NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/39891



The following reply was made to PR misc/39891; it has been noted by GNATS.

From: Christopher Berardi <cberardi%natoufa.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/39891
Date: Fri, 26 Mar 2010 17:23:49 -0400

 I came across this problem as well. I followed the instructions in the NetBSD 
guide (chapter 9.10 Graphical login with xdm), and all seemed well, but when I 
started a xterm, my .shrc (sourced from $ENV) was not being read. So, none of 
my aliases, prompt, etc. was present.
 
 It turns out, I needed to reference /etc/profile in the Xsession file. Since I 
followed the instructions of the manual and created a symlink from .xinitrc to 
.xsession, I placed the following into my $HOME/.xinitrc:
 
 
 
 if [ -f /etc/profile ]; then
     . /etc/profile
 fi
 
 if [ -f $HOME/.profile ]; then
     . $HOME/.profile
 fi
 
 
 
 And now all is loaded as should be.
 
 -- 
 Christopher Berardi
 http://www.natoufa.com/
 
 Be still, and know that I am God (Psalms 46:10)
 


Home | Main Index | Thread Index | Old Index