<p dir="ltr">Look here: <a href="https://github.com/ArcticaProject/nx-libs">https://github.com/ArcticaProject/nx-libs</a></p>
<br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">"Adrián Gibanel" <<a href="mailto:adrian.gibanel@btactic.com">adrian.gibanel@btactic.com</a>> schrieb am Di., 18. Juni 2024, 19:41:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
----- Mensaje original -----<br>
> De: "Ulrich Sibiller" <<a href="mailto:ulrich.sibiller@gmail.com" target="_blank" rel="noreferrer">ulrich.sibiller@gmail.com</a>><br>
> Para: "Adrian Gibanel" <<a href="mailto:adrian.gibanel@btactic.com" target="_blank" rel="noreferrer">adrian.gibanel@btactic.com</a>><br>
> CC: "x2go-user" <<a href="mailto:x2go-user@lists.x2go.org" target="_blank" rel="noreferrer">x2go-user@lists.x2go.org</a>><br>
> Enviados: Martes, 18 de Junio 2024 18:50:14<br>
> Asunto: Re: [X2Go-User] How to change X2Go MaxClient setting?<br>
<br>
> nxagent/x2goagent does not read an xorg.conf or similar.<br>
<br>
Ok.<br>
<br>
> The maximum<br>
> number of clients is hardcoded. I have never met anyone reaching this<br>
> limit. And I am a window messie myself. ;-)<br>
<br>
Well, I have been messing around with xrestop and I think that my main problem is that stopping KDE Plasma Activities does not properly close programs inside those activities thus they never end up not being Xorg clients. Apparently programs should support support session management. This should be the case with kate which I used on that activity that I tested to close.<br>
Yeah, I mean, this is not latest Plasma but I have read that KDE Plasma Activities are kind of buggy in Plasma 6.1 so... I guess I will have to live with that.<br>
<br>
> However, in Xorg xserver 1.18 the following patch was merged:<br>
> <a href="https://cgit.freedesktop.org/xorg/xserver/commit/?id=d206c240c0b85c4da44f073d6e9a692afb6b96d2" rel="noreferrer noreferrer" target="_blank">https://cgit.freedesktop.org/xorg/xserver/commit/?id=d206c240c0b85c4da44f073d6e9a692afb6b96d2</a><br>
<br>
> Maybe we can backport it, doesn't look too complicated. Patches are welcome!<br>
<br>
You mention nxagent/x2goagent above but I don't find repos with those names at <a href="https://code.x2go.org/gitweb" rel="noreferrer noreferrer" target="_blank">https://code.x2go.org/gitweb</a> .<br>
Any pointer to which repo or directory inside a repo should I aim for if I wanted to backport that patch or, at least, grasp the idea of how it would be done?<br>
<br>
Thank you.<br>
<br>
> Uli<br>
<br>
> On Tue, Jun 18, 2024 at 6:17 PM "Adrián Gibanel"<br>
> <<a href="mailto:adrian.gibanel@btactic.com" target="_blank" rel="noreferrer">adrian.gibanel@btactic.com</a>> wrote:<br>
<br>
> > 1) Maximum number of clients reached<br>
<br>
>> So, I'm one of those users that have a lot windows and applications open at the<br>
> > same time for a long period of time.<br>
<br>
>> So I reach very easily the default Xorg 256 limit and when I try to open a new<br>
> > Xorg program I get the following error:<br>
> > Maximum number of clients reached<br>
> > .<br>
<br>
>> As per a quick search in a local system with Xorg this would be fixed by adding<br>
> > a file changing this limit to either 64, 128, 256, 512, 1024 or 2048.<br>
<br>
> > Something like:<br>
<br>
> > printf 'Section "ServerFlags"\n\tOption "MaxClients" "512"\nEndSection\n' \<br>
> > > /etc/X11/xorg.conf.d/99-maxclients.conf<br>
<br>
> > and then restarting the Xorg server.<br>
<br>
> > 2) X2Go - And Xorg conf files<br>
<br>
>> As I am using X2Go I know that I'm not dealing with the usual Xorg server but<br>
> > with an improved one based on older Xorg upstream releases.<br>
<br>
>> I was expecting to find an /etc/something/xorg.conf.d/ where I could create a<br>
>> similar .conf but I haven't found any of this. At least, not explicitly<br>
> > documented.<br>
<br>
>> If I'm being honest I'm not very sure if it's nxagent, nxproxy or x2agent the<br>
> > one process which it's an actual Xorg server.<br>
<br>
> > 3) How to change MaxClients for X2Go?<br>
<br>
> > So my question is:<br>
<br>
>> - Can I change MaxClients with a conf file or do I have to recompile some<br>
> > program/library ?<br>
> > - If so Where do I create that conf file?<br>
<br>
> > 4) X2Go / Library versions<br>
<br>
>> This is Debian 12 (Bookworm) using distro's own packages. I also have old .list<br>
>> file disabled. So that means that in the past I used the<br>
> > <a href="http://packages.x2go.org/debian" rel="noreferrer noreferrer" target="_blank">http://packages.x2go.org/debian</a> repo.<br>
<br>
>> I haven't found out an official way of describing/documenting your installed<br>
>> software towards receiving free support here so hopefully this will do it,<br>
> > otherwise just ask whatever you need:<br>
<br>
> > dpkg -l | grep -E 'nx|x2go'<br>
<br>
>> ii libnx-x11-6:amd64 2:3.5.99.26-5+deb12u1 amd64 nxagent's libNX_X11 client-part<br>
> > library<br>
> > ii libx2go-config-perl 4.1.0.3-7+deb12u1 all Perl X2Go::Config package<br>
> > ii libx2go-log-perl 4.1.0.3-7+deb12u1 all Perl X2Go::Log package<br>
> > ii libx2go-server-db-perl 4.1.0.3-7+deb12u1 amd64 Perl X2Go::Server:DB package<br>
> > ii libx2go-server-perl 4.1.0.3-7+deb12u1 all Perl X2Go::Server package<br>
> > ii libx2go-utils-perl 4.1.0.3-7+deb12u1 all Perl X2Go::Utils package<br>
> > ii nx-x11-common 2:3.5.99.26-5+deb12u1 all nx-X11 (common files)<br>
>> ii nxagent 2:3.5.99.26-5+deb12u1 amd64 Nested Xserver (aka NX Agent) supporting<br>
> > the NX compression protocol<br>
> > ii nxproxy 2:3.5.99.26-5+deb12u1 amd64 NX proxy<br>
> > rc x2goagent 2:3.5.0.33-0x2go1+git20180205.776+9.saimaa.1 all X2Go agent<br>
> > ii x2goclient 4.1.2.2-2+b1 amd64 X2Go Client application (Qt5)<br>
>> ii x2gokdriveclient 0.0.0.1-1+b1 amd64 KDrive graphical client backend for X2Go<br>
> > Client<br>
> > ii x2goserver 4.1.0.3-7+deb12u1 amd64 X2Go Server<br>
> > ii x2goserver-common 4.1.0.3-7+deb12u1 all X2Go Server (common files)<br>
> > ii x2goserver-extensions 4.1.0.3-7+deb12u1 all X2Go Server (extension support)<br>
>> ii x2goserver-fmbindings 4.1.0.3-7+deb12u1 all X2Go Server (file manager<br>
> > bindings)<br>
> > ii x2goserver-printing 4.1.0.3-7+deb12u1 all X2Go Server (printing support)<br>
> > ii x2goserver-x2goagent 4.1.0.3-7+deb12u1 amd64 X2Go Server's X2Go Agent<br>
> > ii x2goserver-xsession 4.1.0.3-7+deb12u1 all X2Go Server (Xsession runner)<br>
<br>
> > 5) In case it matters:<br>
> > - I use x2goclient to connect to my own machine (server is localhost)<br>
> > - X2Client is opened in a local Xorg KDE Plasma session with one user<br>
> > - Once I'm inside X2Go I'm using a KDE Plasma with another different user<br>
<br>
> > Thank you very much!<br>
<br>
> > --<br>
> > [ <a href="http://www.btactic.com/" rel="noreferrer noreferrer" target="_blank">http://www.btactic.com/</a> ] Adrián Gibanel<br>
> > I.T. Manager<br>
> > _______________________________________________<br>
> > x2go-user mailing list<br>
> > <a href="mailto:x2go-user@lists.x2go.org" target="_blank" rel="noreferrer">x2go-user@lists.x2go.org</a><br>
> > <a href="https://lists.x2go.org/listinfo/x2go-user" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-user</a><br>
-- <br>
[ <a href="http://www.btactic.com/" rel="noreferrer noreferrer" target="_blank">http://www.btactic.com/</a> ] Adrián Gibanel <br>
I.T. Manager <br>
_______________________________________________<br>
x2go-user mailing list<br>
<a href="mailto:x2go-user@lists.x2go.org" target="_blank" rel="noreferrer">x2go-user@lists.x2go.org</a><br>
<a href="https://lists.x2go.org/listinfo/x2go-user" rel="noreferrer noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-user</a><br>
</blockquote></div>