Latest commit 712cf86 Jan 9, 2017 @jwrdegoede jwrdegoede committed with CendioOssman Fix -inetd not working with xserver >= 1.19
xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 /
stderr is writable and if it is not, replacing fd 2 with /dev/null.

Since we close stderr in inetd mode to avoid xserver messages being send
to the client as vnc data, the pollfd becomes fd 2, only to be replaced
by /dev/null since a pollfd is not writable.

This commit fixes this by opening /dev/null directly after the close(2),
avoiding that the pollfd becomes fd 2.

Alan Coopersmith: Change to use dup2() for atomic switch of fd

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Permalink
..
Failed to load latest commit information.
tx Fix some bad signed/unsigned mismatches Jun 17, 2015
vncconfig Restore UI for PRIMARY behaviour Jul 8, 2016
vncpasswd vncpasswd: Ask for read only password. Nov 10, 2014
x0vncserver Use non-blocking sockets in x0vnserver Apr 29, 2016
xserver/hw/vnc Fix -inetd not working with xserver >= 1.19 Jan 10, 2017
CMakeLists.txt Consolidate the installation paths and make sure we have decent defau… Mar 27, 2012
vncserver Do not depends on mcookie command Oct 5, 2016
vncserver.man Support both defaults and mandatory system config files Aug 21, 2016
xserver110.patch No longer need to explicitly specify GNUTLS_LDFLAGS in X server build… Jun 22, 2011
xserver111.patch Add Support for X.Org 1.11.X Aug 28, 2012
xserver112.patch Add support for X.Org 1.12.X Aug 28, 2012
xserver113.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver114.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver115.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver116.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver117.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver118.patch Remove INITARGS from recent xserver patches Sep 22, 2016
xserver119.patch Add xorg-xserver 1.19 support Oct 5, 2016
xserver17.patch No longer need to explicitly specify GNUTLS_LDFLAGS in X server build… Jun 22, 2011
xserver18.patch No longer need to explicitly specify GNUTLS_LDFLAGS in X server build… Jun 22, 2011
xserver19.patch No longer need to explicitly specify GNUTLS_LDFLAGS in X server build… Jun 22, 2011