<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Gordon Messmer wrote:
<blockquote cite="mid:4A231F5C.7090605@eburg.com" type="cite">On
05/31/2009 11:53 AM, John wrote:
<br>
<blockquote type="cite"><br>
[john@LT-02 ~]$ ssh -v LT-01 -X
<br>
</blockquote>
...
<br>
<blockquote type="cite">debug1: Requesting X11 forwarding with
authentication spoofing.
<br>
</blockquote>
...
<br>
<blockquote type="cite">[john@LT-01 ~]$ ls -lZ $XAUTHORITY
<br>
drwxrwxr-x. john john unconfined_u:object_r:user_home_t:s0 bin
<br>
</blockquote>
...
<br>
<br>
It looks like XAUTHORITY isn't set, which means that you probably don't
have "xauth" in your path (it's probably not installed). Install
xorg-x11-xauth, and then log in again. On your next login, sshd should
create the XAUTHORITY file.
<br>
<br>
Having said that, if xauth is missing, you should see an error stating
that in the output of "ssh -v", which you don't. That's very odd. I'm
fairly certain that the problem is the missing XAUTHORITY variable, I'm
just not sure why it's missing.
<br>
<br>
If xauth is present, try creating a new user on the system, and see if
you have the same problem when you log in to that account.
<br>
<br>
</blockquote>
xorg-x11-xauth was already installed. I created a new user and tried to
login. Here is the output:<br>
<font face="Helvetica, Arial, sans-serif"><br>
[john@LT-02 ~]$ ssh -X tom@lt-01<br>
tom@lt-01's password: <br>
/usr/bin/xauth: creating new authority file /home/tom/.Xauthority<br>
[tom@LT-01 ~]$ gedit<br>
<br>
(gedit:2969): Gtk-WARNING **: cannot open display: localhost:10.0<br>
[tom@LT-01 ~]$ <br>
</font><br>
</body>
</html>