localhost to X server connection's authorization

From: libor.hemola@fincomnet.com
Date: Mon Jun 24 2002 - 10:12:30 EDT


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

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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:44 EDT