Subject: Re: xdm / .xsession
To: Guy Santiglia <fredfl2@soback.kornet21.net>
From: Simon Burge <simonb@telstra.com.au>
List: netbsd-help
Date: 03/27/1999 22:24:01
Guy Santiglia wrote:
>
> I just started using the xdm daemon by setting th xdm=YES in
> the /etc/rc.conf file. Then made the .xsession file in my home
> directory. No problem so far.
>
> The problem was that some of my programs won't start from that
> .xsession file in my home directory when I log in using the xdm window.
> Specifically, "hanterm" won't start up when it is placed in the .xsession
> file, but it starts OK if I put it in the "xinitrc" file and start the
> session by doing the "startx" command.
>
> Does any one know why hanterm would start OK from the "xinitrc" file but
> not from the ".xsession" file in my home directory??
Is your path set correctly? This can happen when, for example, you use
csh and have #!/bin/sh at the top of your .xsession file. FWIW, I use
tcsh and my .xsession is run through the same shell.
Simon.