yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16150
Re: [Question #660090]: can't open yade when I have already opened 64 yade
Question #660090 on Yade changed:
https://answers.launchpad.net/yade/+question/660090
Janek Kozicki proposed the following answer:
Bruno Chareyre said: (by the date of Mon, 30 Oct 2017 14:03:18
-0000)
> > recompile xserver-org package
>
> Simplest solution ever! ;) (very instructive answer)
Hehe, yeah. And I was this close to posting a full recompile
instructions of xorg-server for debian :-) Like this:
mkdir XORG-512
cd XORG-512
sudo apt-get build-dep xorg-server
sudo apt install dpkg-dev
apt-get source xorg-server
cd xorg-server-1.19.3
# change MAXCLIENTS #define in file include/misc.h to #define MAXCLIENTS 512
time dpkg-buildpackage -rfakeroot -b -j8
Oops, I posted this :)
BTW, while doing this I noticed that in latest xserver they upped
MAXCLIENTS to 2048, but introduced LIMITCLIENTS 256. I didn't check
what that means ;) Maybe the it's better to up LIMITCLIENTS to 512?
@dan.wang you might encounter a multitude of weird errors if you try
to do that. This is rather not a good direction to go in the case of
your problem. It only solves symptoms, not the problem. And also it
is really an overkill, like killing a fly from a cannon. So if you
insist, you only do this at your own risk :)
--
Janek Kozicki http://janek.kozicki.pl/ |
You received this question notification because your team yade-users is
an answer contact for Yade.