Path to this page:
Subject: CVS commit: pkgsrc/x11/xdm
From: David Brownlee
Date: 2008-06-17 02:42:14
Message id: 20080617004214.9A2E0175D0@cvs.netbsd.org
Log Message:
copy a lightly modified fix for starting xdm on ttyE4 from gdm
bump PKGREVISION
# The following forces the X server to start on the 5th virtual terminal.
# This is suboptimal but matches the defaults for the xdm configuration,
# which should work for most installations. See the definition of
# DEFAULTVT in xsrc/xfree/xc/programs/xdm/config/Imakefile.
#
# If we do not do this, we hit a very annoying and obscure problem: during
# system startup, xdm starts before init spawns gettys. If the X server
# is started before init spawns the gettys (which easily happens on slow
# machines), it grabs the first virtual terminal (instead of the first
# "free" one). Later on, when the first getty is started, it grabs the
# same terminal X used (the first one). As a result, only one of them
# will receive key presses. And on slow machines, X will have lost access
# to the keyboard.
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD") && \
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
CONFIGURE_ARGS+= --with-default-vt=vt05
.endif
Files: