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