Please increase X server MaxClients

Forum Forums General Software Please increase X server MaxClients

Tagged: 

  • This topic has 3 replies, 2 voices, and was last updated Jan 19-8:34 pm by Anonymous.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50131
    Anonymous

      I had this issue:
      https://unix.stackexchange.com/questions/498652/does-x-window-have-a-maximum-number-limit-on-clients
      (seemingly) with way multiple browser tabs, have solved successfully with the provided answer.

      Since I find the default 256 obsolete for modern desktop, even for older hardware (which is my case), I would suggest that antiX devs increase the MaxClients option (to maximum 2048?) by default.

      #50151
      Anonymous
        Helpful
        Up
        0
        ::

        What solution did you choose?

        My approach (untested) probably would have been to edit /etc/slim.conf, appending -maxclients 2048 to the xserver_arguments line within the configuration file.

        The issue you described and its solution would be a good addition to the tips-n-tricks subforum. I don’t know whether raising the limit would “fly” as a default configuration parameter. antiX caters to systems with older//lesser hardware, and provides xserver-xorg-legacy (packaged by debian?). If the antiX distro shipped a supplementary conf file, e.g. /etc/X11/xorg.conf.d/99-maxclients.conf, would the “higher than 512” declared value be universally honored and if so, would its effect increase the likelihood of lesser systems encountering undesirable swap or OOM scenarios?

        #50154
        Anonymous
          Helpful
          Up
          0
          ::

          I followed the instruction:

          # printf 'Section "ServerFlags"\n\tOption "MaxClients" "512"\nEndSection\n' \
                  > /etc/X11/xorg.conf.d/99-maxclients.conf

          except I put 2048 instead of 512:

          # printf 'Section "ServerFlags"\n\tOption "MaxClients" "2048"\nEndSection\n' \
                  > /etc/X11/xorg.conf.d/99-maxclients.conf

          To make it properly, the configuration should not be slim display manager -specific

          #50169
          Anonymous
            Helpful
            Up
            0
            ::

            thanks for sharing the working solution.
            I do agree that for general use the solution should not be display//login manager -specific

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.