rechlin "at" symbium.com
Mon Apr 18 16:50:01 2005
I am having what looks like an X authentication error.
When I run a program from my desktop, telling it to run in :1, where my
vncserver is running, I get error messages. I can see the vnc server
with a vncviewer. The vnccconfig and xterms are running, and the usual
grey background is there.
It used to work, possibly until I got some updates from RedHat last
Server: 4.0 release 8, as provided by Red Hat
Server OS: Fedora Core 3
--- Sample command:
xterm -display :1
--- Sample result in the shell:
Xlib: connection to "localhost:1.0" refused by server
Xlib: No protocol specified
xterm Xt error: Can't open display: :1
--- Sample error message in .vnc/(machinename):1.log
AUDIT: Mon Apr 18 11:10:31 2005: 4607 Xvnc: client 4 rejected from IP
-- - -
I have looked at a lot of messages on this list using a search term
similar to: "AUDIT client rejected"
- vncserver already has two cookie lines
- no .X.err file in ~
- no XAUTHORITY env variable in the vnc
every copy of bash that I run generates a different XAUTHORITY
environment variable pointing to a different file like ~/.xauth9txPiW
-> the part of the name after .xauth appears to be a random string
This seems to be required for the shell to start stuff in the :0.0
At least, when I changed XAUTHORITY to point at ~/.Xauthority, I found I
could then run stuff in :1, but not in :0.
I think using XAUTHORITY variable, I will be able to get my automatic
scripts to run in vnc again.
However, I don't know why this worked before...
Robert Echlin, Configuration Management Specialist
11 Hines Road, Suite 100, Ottawa, Ontario K2K 2X1
Phone: 613-599-7014 Ext. 5132 Fax: 613-599-4729