On Tue, 21 Dec 2004, Mark Phillips wrote: > latitude610:/home/mark# cat .xsession > #!/bin/sh -f > . /etc/profile > latitude610:/home/mark# > > latitude610:/home/mark# ls -al .xsession > -rwxr-xr-x 1 mark mark 43 Dec 20 10:33 .xsession > latitude610:/home/mark# > > After booting up, when I open a terminal window and type echo $JAVA_HOME > the variable is not set. If I then type . /etc/profile then echo > $JAVA_HOME I get the correct information (/usr/local/lib/jdk). > > Why aren't the values set when I boot up? What am I doing wrong? I assume your .xsession is not being used. If it was being used, you wouldn't get any X because your .xsession would close and your XDM login would come back up (because it doesn't run any command to keep X running). Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/ --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss