Subject: Re: How to unlimit datasize when starting from xdm?
To: S. N. Cho <sucho2@vt.edu>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 12/29/2002 13:17:19
On Sun, 29 Dec 2002, S. N. Cho wrote:

> Thanks to others, I now know how to set unlimited datasize vi adding "unlimit
> datasize" in /etc/csh.login.  This worked fine when I started x by startx.
> But now I am logging in via xdm and when I check the datasize limit by typing
> "limit" in console, it is at default setting.  It seems like xdm doesn't read
> csh.login settings.  Where do I need to add "unlimit datasize" for it to work
> with xdm login?  Thank you in advance.

You need to add it to ~/.xsession. [Note that if you want to use csh
commands in a script, you'll have to add #!/bin/csh to the beginning
of the file.] The last command in ~/.xsession should always "exec"
your session or window manager, like "exec xsm", or "exec xterm -T
login" (primitive) -- I use either "exec ssh-agent wmx" or "exec
ssh-agent gnome-session".

Frederick