1. 18 Jul, 2018 1 commit
  2. 19 Mar, 2017 1 commit
    • Mike Gabriel's avatar
      os/xdmcp: Remove dead 'restart' code · 07464670
      Mike Gabriel authored
       Completing the below X.org commit:
      
       commit a3a40291330bad10401fe2bcdbc097ce742b026a
       Author: Keith Packard <keithp@keithp.com>
       Date:   Mon Sep 21 07:16:16 2015 +0100
      
          os/xdmcp: Remove dead 'restart' code
      
          The X server used to wait for the user to hit a key or move the mouse
          before restarting the session after a keepalive failure. This,
          presumably, was to avoid having the X server continuously spew XDMCP
          protocol on the network while the XDM server was dead.
      
          Switching into this state was removed from the server some time before
          XFree86 4.3.99.16, so the remaining bits of code have been dead for
          over a decade, and no-one ever noticed.
      Reviewed-by: 's avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
      Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
      07464670
  3. 15 Mar, 2017 1 commit
    • Keith Packard's avatar
      os/xdmcp: Just send XDMCP keepalive packets once every three minute · 9f000842
      Keith Packard authored
       Backported from X.org:
      
       commit db1089eafc1c5371fa0030202de588d2e2b4f8e5
       Author: Keith Packard <keithp@keithp.com>
       Date:   Mon Sep 21 07:16:17 2015 +0100
      
          os/xdmcp: Just send XDMCP keepalive packets once every three minutes
      
          There was a complicated scheme to increase the time between keepalives
          from 3 minutes up to as much as 24 hours in an attempt to reduce
          network traffic from idle X terminals. X terminals receiving X
          traffic, or receiving user input would use the 3 minute value; X
          terminals without any network traffic would use a longer value.
      
          However, this was actually broken -- any activity in the X server,
          either client requests or user input, would end up resetting the
          keepalive timeout, so a user mashing on the keyboard would never
          discover that the XDMCP master had disappeared and have the session
          terminated, which was precisely the design goal of the XDMCP keepalive
          mechanism.
      
          Instead of attempting to fix this, accept the cost of a pair of XDMCP
          packets once every three minutes and just perform keepalives
          regularly.
      
          This will also make reworking the block and wakeup handler APIs to
          eliminate select masks easier.
      Reviewed-by: 's avatarAdam Jackson <ajax@redhat.com>
      Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
      Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
      9f000842
  4. 01 Mar, 2017 2 commits
  5. 08 Feb, 2017 2 commits
  6. 02 Nov, 2016 2 commits
  7. 06 Oct, 2016 1 commit
  8. 05 Jul, 2016 1 commit
  9. 02 Jul, 2016 2 commits
  10. 28 Dec, 2015 2 commits
    • Mike Gabriel's avatar
      Clear header file namespace separation (<X11/...> vs. <nx-X11/...>). · 433d8186
      Mike Gabriel authored
       In the process of building nxagent against more and more system-wide installed
       X.org libraries, we come to the limit of including structs from this (bundled
       nx-X11) and that (system-wide X.Org) library.
      
       This commit introduces a clear namespace separation of headers provided by
       nx-X11 and headers provided by X.Org. This approach is only temporary as we
       want to drop all nx-X11 bundled libraries from nx-libs.
      
       However, for a while we need to make this separation clear and also ship
       some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
       symbols at the same time.
      
       This patch has been tested on Debian jessie and unstable and requires no
       overall testing on various distros and distro versions, as we finally will
       drop all libNX_X* libraries and build against X.org's client libs.
      
       For now, this hack eases our development / cleanup process.
      433d8186
    • Keith Packard's avatar
      Replace 'pointer' type with 'void *' · 68dd0b52
      Keith Packard authored
       This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer'
       is used throughout the X server for other things, and having duplicate
       names generates compiler warnings.
      Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: 's avatarEric Anholt <eric@anholt.net>
       Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
      68dd0b52
  11. 10 Oct, 2011 1 commit