Hi
I have been trying to get answers to this mystery at [EMAIL PROTECTED] before
someone referred me here. I have Redhat 7.1 installed on a local system running
X. when I ssh to a remote machine running Redhat 6.2 (protocol 2) it seems ssh
does everything required for x-forwarding (ie sets the correct DISPLAY and
XAUTHORITY) but doesn't seem to run xauth / add the cookie. The file pointed to
by XAUTHORITY exists but is blank. xauth is in the default location, and I tried
specifying it in sshd_config as well on the remote machine. The only time xauth
seems to run is when I add a command after the ssh (ie ssh remote.machine
/usr/X11R6/bin/xclock) - then everything works! In this case, the XAUTHORITY file
has a MIT-MAGIC-COOKIE and things work. If i replace xclock with a shell, say
bash, then again I can use x-apps. Without the command however, x forwarding does
not work. I do not have an /etc/sshrc or a ~/.ssh/rc file - the only 2 files that
the sshd man pages indicate would run instead of xauth. I have, in turn, removed
/etc/profile, /etc/bashrc, ~/.bashrc and ~/.bash_profile to see if anything in
those files would affect x-forwarding but it had no effect. Can anybody suggest a
reason / solution for this bizarre behaviour? Thanks.
--Raj.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]