Subject: Re: Newbie questions
To: Miles Sabin <miles@mistral.co.uk>
From: David Brownlee <david@mono.org>
List: port-arm32
Date: 02/09/1997 13:41:36
On Sun, 9 Feb 1997, Miles Sabin wrote:
> > > 3. After starting X, whenever I run xmh I get,
> > >
> > > Error: Cannot perform realloc
> > >
> > > Is this a genuine lack of resources, or some other problem?
> >
> > I get this too - I have tried using unlimit as well to try and solve it,
> > but can't seem to get xmh to run. I use pine anyway, so not really a
> > problem.
>
> Silly question, but where are the man pages for unlimit? I get a blank
> for unlimit, and limit gives me the csh page.
>
> Err ... dumb question, but where do you invoke xdm from? From /etc/rc?
> I can't really be bothered with xdm if I have to login (as root, say)
> before xdm starts and lets me login properly.
Add the following to the end of /etc/rc.local - should also
fix your memory limit problems - if not try upping 65536.
(This assumes your X is in /usr/X11R6.1 - edit to taste :)
#@ Enable X shared libraries & run xdm
XROOT=/usr/X11R6.1
if [ -d $XROOT/lib ];then
ldconfig $XROOT/lib
fi
if [ -x $XROOT/bin/xdm ];then
echo -n ' xdm'; csh -c 'limit datasize 65536 ; $XROOT/bin/xdm'
fi
David/abs david@{mono.org,southern.com,mhm-internet.com}
Thought for : Loathing the way "Don't cry for me Argentina" has
the day : been bastardized by Madonna into a 'disco' song.