From 1b6c123de102f0152d296fba8771d348329ba95c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 17 Nov 2020 19:52:37 +0100 Subject: Move the khelpcenter guides to the directory level in which they are installed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../userguide/troubleshooting-network-x.docbook | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 doc/khelpcenter/userguide/troubleshooting-network-x.docbook (limited to 'doc/khelpcenter/userguide/troubleshooting-network-x.docbook') diff --git a/doc/khelpcenter/userguide/troubleshooting-network-x.docbook b/doc/khelpcenter/userguide/troubleshooting-network-x.docbook new file mode 100644 index 000000000..fd4610f2a --- /dev/null +++ b/doc/khelpcenter/userguide/troubleshooting-network-x.docbook @@ -0,0 +1,41 @@ + + + +&J.Hall; + + +Networking and X + +Misconfigured networking can often be the cause of &tde; applications launching slowly, or in the worst case not launching at all. Your &X-Server; has a very powerful client/server interface and is very network aware. + + + X uses the hostname to create both a unique key for authorization, and to figure out where (via $DISPLAY) to send + the actual windows it's drawing on screen. If your computer doesn't know it's own name, it will spend inordinate amounts of time + trying to look itself up, a fate you can avoid by simply teaching your computer what it's own name is. + + +Check your /etc/hosts file and ensure there is an entry for localhost that looks +something like this at the top of the file (after any comments). + + +127.0.0.1 localhost + + +You also should add your computers fully qualified domain name, short name, and it's usual ip address if it has a static ip. If your ip address is assigned dynamically using DHCP you can simply use the address for the loopback device. + + +127.0.0.1 hal.btl hal (for dhcp) +192.168.0.1 hal.btl hal (static) + + +Make sure that your firewall is not so restrictive that it stops packets to the loopback device. For example in iptables if the default rule on the INPUT chain for this device is set to anything other than >ACCEPT this will cause performance problems in X. To check this, you can type in: + + +%iptables-save | grep + INPUT lo ACCEPT + + + +The rule INPUT lo ACCEPT should always work, unless there are other misconfigured rules (Such as a DROP on the OUTPUT chain) + + -- cgit v1.2.1