mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
xserver-common: disable TCP connections
For security reasons disable TCP connections to the xserver. Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
0b3ee65116
commit
56dd9cb399
+24
@@ -0,0 +1,24 @@
|
||||
From: Javier Viguera <javier.viguera@digi.com>
|
||||
Date: Wed, 26 Nov 2014 09:24:44 +0100
|
||||
Subject: [PATCH] xserver-common: disable TCP connections
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
||||
---
|
||||
X11/xserver-common | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/X11/xserver-common b/X11/xserver-common
|
||||
index 017e5aee1ab0..4dc48c412741 100644
|
||||
--- a/X11/xserver-common
|
||||
+++ b/X11/xserver-common
|
||||
@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
|
||||
export USER=root
|
||||
export XSERVER_DEFAULT_ORIENTATION=normal
|
||||
|
||||
-ARGS="-br -pn $INPUT_EXTRA_ARGS"
|
||||
+ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
|
||||
DPI="100"
|
||||
MOUSE=""
|
||||
KDRIVEARGS=""
|
||||
@@ -24,6 +24,7 @@ SRC_URI_append = " \
|
||||
file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
|
||||
file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
|
||||
file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \
|
||||
file://0015-xserver-common-disable-TCP-connections.patch \
|
||||
"
|
||||
|
||||
do_install_append() {
|
||||
|
||||
Reference in New Issue
Block a user