From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: libor.hemola@fincomnet.com Newsgroups: gmane.os.tru64.managers Subject: localhost to X server connection's authorization Date: Mon, 24 Jun 2002 16:12:30 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1024929149 3181 127.0.0.1 (24 Jun 2002 14:32:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 14:32:29 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17MUtI-0000pC-00 for ; Mon, 24 Jun 2002 16:32:28 +0200 Original-Received: (qmail 18999 invoked by uid 5); 24 Jun 2002 14:12:40 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18991 invoked from network); 24 Jun 2002 14:12:40 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 24 Jun 2002 14:12:40 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GY700CHFRGZOF@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Jun 2002 10:12:40 -0400 (EDT) Original-Received: from one.fincom.cz ([194.228.226.34]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GY70084HRGVRD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 24 Jun 2002 10:12:32 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Thread-Topic: localhost to X server connection's authorization Thread-Index: AcIbiS08+AnSzVTbSpyJ+I1w+xvECQ== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:668 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:668 Hello everybody, We have an application which requires a connection to X server. It is = running on the same machine as the X server. X server is refusing to = accept connection from the application. This is a remote server, so i'm = not able to log on the console and do that "xhost +localhost" stuff. I = did the following: 1) tried to use /etc/X0.hosts file I tried 127.0.0.1 as well as the real IP address and restarted X server, = however X server is ignoring addresses associated with the machine = itself. As i know it is not a very secure solution as well, i tried to 2) use xauth=20 This looks much better, but how to get a hexkey to update the = .Xauthority file, when it is generated after login, which is not allowed = at this point. I really appreciate your help (DS10, 4.0F) Libor