Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-05 Thread Derek Homeier
On Tuesday, November 5, 2002, at 01:57 AM, Martin Costabel wrote:


I
have also heard from people who use /usr/sbin/sshd for X forwarding
without problems, yet I never got it to work with any of our Macs.


There were problems with X forwarding in the earlier 10.0 versions of 
MacOSX. Since a long time now I haven't had any problem with X 
forwarding and either fink's or Apple's ssh and sshd.

Ha, you're right. I _did_ hear that it was supposed to work as of 
10.0.4 or 5 or 10.1 at least (that's what I was referring to), and it 
did improve in so far as it would actually set DISPLAY to 
localhost:10.0 or something, but trying to launch any X program would 
always just produce this kind of error message:

 xload
debug1: client_input_channel_open: ctype x11 rchan 3 win 4096 max 2048
debug1: client_request_x11: request from 128.192.19.18 49522
debug1: fd 7 setting O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug1: X11 connection uses different authentication protocol.
debug1: X11 rejected 1 i1/o16
debug1: channel 1: read failed
debug1: channel 1: input open - drain
debug1: channel 1: close_read
debug1: channel 1: write failed
debug1: channel 1: output open - closed
debug1: channel 1: close_write
debug1: X11 closed 1 i2/o128
^Cdebug1: channel 1: rcvd eof
debug1: channel 1: FORCE input drain
^\Quit

With both Apple's and Fink's sshd. When I finally got this sorted out, 
it would work with
/sw/sbin/sshd on most machines, but not with /usr/sbin/sshd. After that 
I found out about the problem with the old .Xauthority files, removal 
of which fixed it on the remaining systems that did not work before, 
but I guess I never tried the Apple sshd after that. Turned out this 
one works now just as well...
Morale: purge your old authentication certificates first, if you see 
errors like this!

Thanks,
Derek



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-04 Thread hodelas
Stupid questions are often the most valuable; yes, I did check that 
DISPLAY was set on my
home machine (I can never get client and Server straight in my head, 
but I think this is
the server, the physical display, and DISPLAY is set to :0

[localhost:~] hodelas% echo $DISPLAY
:0
[localhost:~] hodelas% ssh $cube
[EMAIL PROTECTED]'s password:
Last login: Sun Nov  3 15:32:43 2002 from adsl-157-133-20
Welcome to Darwin!
[mymachine:~] hodelas% echo $DISPLAY
DISPLAY: Undefined variable.

On Monday, November 4, 2002, at 12:33 AM, Martin Costabel wrote:

[EMAIL PROTECTED] wrote:


[]
be to blame.  I can
remote log in, but the DISPLAY variable is still missing.


Sorry for the stupid question, but nobody asked before: Are you sure 
that you did set DISPLAY in the window from which you are doing your 
ssh?

-- Martin





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-04 Thread hodelas
[mymachine:~] hodelas% find .[a-z]* -type f -exec grep DISPLAY {} \; 
-print
echo $DISPLAY
.bash_history
echo $DISPLAY
.tcsh_history

.cshrc only souces /sw/bin/init.csh, so I'm at a loss of where else to 
look.

On Monday, November 4, 2002, at 01:58 AM, Hisashi T Fujinaka wrote:

And now that I think about it, doesn't ssh check your environment and
execute your shell commands? Make sure something else isn't hosing your
DISPLAY.

On Mon, 4 Nov 2002, Martin Costabel wrote:


[EMAIL PROTECTED] wrote:


[]
be to blame.  I can
remote log in, but the DISPLAY variable is still missing.


Sorry for the stupid question, but nobody asked before: Are you sure
that you did set DISPLAY in the window from which you are doing your 
ssh?



--
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-04 Thread hodelas
On Sunday, November 3, 2002, at 10:11 PM, Derek Homeier wrote:


Finally, I never got X11 forwarding to work with OS X's openssh 
daemon, so you may want to make sure that it is actually /sw/sbin/sshd 
that's running and nothing else. As a last diagnostic tool, you can 
start the daemon manually with 'sudo /sw/sbin/sshd -ddd' and watch out 
for debug messages on the server side.

This appears to be a part of the problem:

[mymachine:~] hodelas% /sw/sbin/sshd -ddd
debug1: sshd version OpenSSH_3.5p1
Could not load host key: /sw/etc/ssh/ssh_host_key
Could not load host key: /sw/etc/ssh/ssh_host_rsa_key
Could not load host key: /sw/etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

These host key files were not installed by fink install openssh.  Under 
10.1 I was able to copy these files from /etc, but they don't seem to 
be working with  10.2 for some reason.  Will do some hunting to see 
what;s up.



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-04 Thread Derek Homeier
On Monday, November 4, 2002, at 11:16 AM, [EMAIL PROTECTED] wrote:


Finally, I never got X11 forwarding to work with OS X's openssh 
daemon, so you may want to make sure that it is actually 
/sw/sbin/sshd that's running and nothing else. As a last diagnostic 
tool, you can start the daemon manually with 'sudo /sw/sbin/sshd 
-ddd' and watch out for debug messages on the server side.

This appears to be a part of the problem:

[mymachine:~] hodelas% /sw/sbin/sshd -ddd
debug1: sshd version OpenSSH_3.5p1
Could not load host key: /sw/etc/ssh/ssh_host_key
Could not load host key: /sw/etc/ssh/ssh_host_rsa_key
Could not load host key: /sw/etc/ssh/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

These host key files were not installed by fink install openssh.  
Under 10.1 I was able to copy these files from /etc, but they don't 
seem to be working with  10.2 for some reason.  Will do some hunting 
to see what;s up.

They should be created automatically the first time you launch it via 
the StartupItem you can install with 'daemonic enable ssh' -- you can 
do that manually with
'sudo /Library/StartupItems/daemonic-ssh/daemonic-ssh start' if you 
have not rebooted yet.
Although I have had no problems using the keys copied from /etc over to 
/sw/etc/ssh (or maybe I copied them the other way round) with both 
OpenSSH 3.4 and 3.5. Saves you dealing with changed hostkeys and all 
the associated warnings, security alerts, alarm code red etc. but YMMV 
-- I have also heard from people who use /usr/sbin/sshd for X 
forwarding without problems, yet I never got it to work with any of our 
Macs.

Derek




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-04 Thread Martin Costabel
Derek Homeier wrote:


[]




I
have also heard from people who use /usr/sbin/sshd for X forwarding
without problems, yet I never got it to work with any of our Macs.


There were problems with X forwarding in the earlier 10.0 versions of 
MacOSX. Since a long time now I haven't had any problem with X 
forwarding and either fink's or Apple's ssh and sshd.

--
Martin




---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread hodelas
in /sw/etc/ssh/sshd_config and /etc/sshd_config

X11Forwarding yes

all other values as installed.

Another possible culprit (I need to check) are the MATLAB-installed 
changes to X11R6 under Jaguar.  I did a re-install of X11R6 while at 
work tonight; I'll try it out again when I get home to see if things 
behave.  After I get some sleep, that is.

Thanks,

ash

On Sunday, November 3, 2002, at 01:18 AM, Martin Costabel wrote:

[EMAIL PROTECTED] wrote:


I just upgraded my office machine to Jaguar and am no longer able to 
run
X-apps from home due to X-forwarding problems.

I've set ForwardX11 to yes in both /etc/ssh_config and (after 
installing
openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried logging

And in sshd_config?

--
Martin



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread Hisashi T Fujinaka
I usually start deleting .Xauthority until things work.

On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:

 in /sw/etc/ssh/sshd_config and /etc/sshd_config

 X11Forwarding yes

 all other values as installed.

 Another possible culprit (I need to check) are the MATLAB-installed
 changes to X11R6 under Jaguar.  I did a re-install of X11R6 while at
 work tonight; I'll try it out again when I get home to see if things
 behave.  After I get some sleep, that is.

 Thanks,

 ash

 On Sunday, November 3, 2002, at 01:18 AM, Martin Costabel wrote:

  [EMAIL PROTECTED] wrote:
 
  I just upgraded my office machine to Jaguar and am no longer able to
  run
  X-apps from home due to X-forwarding problems.
 
  I've set ForwardX11 to yes in both /etc/ssh_config and (after
  installing
  openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried logging
 
  And in sshd_config?
 
  --
  Martin
 
 
 
  ---
  This SF.net email is sponsored by: ApacheCon, November 18-21 in
  Las Vegas (supported by COMDEX), the only Apache event to be
  fully supported by the ASF. http://www.apachecon.com
  ___
  Fink-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/fink-users
 



 ---
 This SF.net email is sponsored by: ApacheCon, November 18-21 in
 Las Vegas (supported by COMDEX), the only Apache event to be
 fully supported by the ASF. http://www.apachecon.com
 ___
 Fink-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/fink-users


-- 
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread hodelas
Thanks.  Neither than nor my Matlab X11R6 patch idea seemed to have any 
effect.

On Sunday, November 3, 2002, at 03:12 AM, Hisashi T Fujinaka wrote:

I usually start deleting .Xauthority until things work.

On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:


in /sw/etc/ssh/sshd_config and /etc/sshd_config

X11Forwarding yes

all other values as installed.

Another possible culprit (I need to check) are the MATLAB-installed
changes to X11R6 under Jaguar.  I did a re-install of X11R6 while at
work tonight; I'll try it out again when I get home to see if things
behave.  After I get some sleep, that is.

Thanks,

ash

On Sunday, November 3, 2002, at 01:18 AM, Martin Costabel wrote:


[EMAIL PROTECTED] wrote:


I just upgraded my office machine to Jaguar and am no longer able to
run
X-apps from home due to X-forwarding problems.

I've set ForwardX11 to yes in both /etc/ssh_config and (after
installing
openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried 
logging

And in sshd_config?

--
Martin



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



--
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread Hisashi T Fujinaka
Now that I read your message, I think my fix isn't valid. You also need to
make sure you restart sshd after editing the file (or 'kill -HUP' it to
have it re-read the config file) and then do some hunting by starting ssh
with some -v's like: ssh -v -v -v [EMAIL PROTECTED]

On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:

 Thanks.  Neither than nor my Matlab X11R6 patch idea seemed to have any
 effect.

 On Sunday, November 3, 2002, at 03:12 AM, Hisashi T Fujinaka wrote:

  I usually start deleting .Xauthority until things work.
 
  On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:
 
  in /sw/etc/ssh/sshd_config and /etc/sshd_config
 
  X11Forwarding yes
 
  all other values as installed.
 
  Another possible culprit (I need to check) are the MATLAB-installed
  changes to X11R6 under Jaguar.  I did a re-install of X11R6 while at
  work tonight; I'll try it out again when I get home to see if things
  behave.  After I get some sleep, that is.
 
  Thanks,
 
  ash
 
  On Sunday, November 3, 2002, at 01:18 AM, Martin Costabel wrote:
 
  [EMAIL PROTECTED] wrote:
 
  I just upgraded my office machine to Jaguar and am no longer able to
  run
  X-apps from home due to X-forwarding problems.
 
  I've set ForwardX11 to yes in both /etc/ssh_config and (after
  installing
  openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried
  logging
 
  And in sshd_config?
 
  --
  Martin
 
 
 
  ---
  This SF.net email is sponsored by: ApacheCon, November 18-21 in
  Las Vegas (supported by COMDEX), the only Apache event to be
  fully supported by the ASF. http://www.apachecon.com
  ___
  Fink-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/fink-users
 
 
 
 
  ---
  This SF.net email is sponsored by: ApacheCon, November 18-21 in
  Las Vegas (supported by COMDEX), the only Apache event to be
  fully supported by the ASF. http://www.apachecon.com
  ___
  Fink-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/fink-users
 
 
  --
  Hisashi T Fujinaka - [EMAIL PROTECTED]
  BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte
 
 
 
  ---
  This SF.net email is sponsored by: ApacheCon, November 18-21 in
  Las Vegas (supported by COMDEX), the only Apache event to be
  fully supported by the ASF. http://www.apachecon.com
  ___
  Fink-users mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/fink-users
 


-- 
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread hodelas
ssh -X -v -v -v ${mymachine} yields;

[skipped output not related to X11]

debug2: x11_get_proto /usr/X11R6/bin/xauth list :0 2/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Sun Nov  3 15:31:35 2002 from adsl-157-133-20
Welcome to Darwin!

So it looks like it's trying to set up X11 forwarding, but the DISPLAY 
variable remains unset.
I wonder if some parameter in the Jaguar network/sharing preferences may 
be to blame.  I can
remote log in, but the DISPLAY variable is still missing.

On Sunday, November 3, 2002, at 11:22 AM, Hisashi T Fujinaka wrote:

Now that I read your message, I think my fix isn't valid. You also need 
to
make sure you restart sshd after editing the file (or 'kill -HUP' it to
have it re-read the config file) and then do some hunting by starting 
ssh
with some -v's like: ssh -v -v -v [EMAIL PROTECTED]

On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:

Thanks.  Neither than nor my Matlab X11R6 patch idea seemed to have any
effect.

On Sunday, November 3, 2002, at 03:12 AM, Hisashi T Fujinaka wrote:


I usually start deleting .Xauthority until things work.

On Sun, 3 Nov 2002 [EMAIL PROTECTED] wrote:


in /sw/etc/ssh/sshd_config and /etc/sshd_config

X11Forwarding yes

all other values as installed.

Another possible culprit (I need to check) are the MATLAB-installed
changes to X11R6 under Jaguar.  I did a re-install of X11R6 while at
work tonight; I'll try it out again when I get home to see if things
behave.  After I get some sleep, that is.

Thanks,

ash

On Sunday, November 3, 2002, at 01:18 AM, Martin Costabel wrote:


[EMAIL PROTECTED] wrote:


I just upgraded my office machine to Jaguar and am no longer able 
to
run
X-apps from home due to X-forwarding problems.

I've set ForwardX11 to yes in both /etc/ssh_config and (after
installing
openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried
logging

And in sshd_config?

--
Martin



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



--
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





--
Hisashi T Fujinaka - [EMAIL PROTECTED]
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users





---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread Derek Homeier
On Sunday, November 3, 2002, at 04:38  PM, [EMAIL PROTECTED] wrote:


ssh -X -v -v -v ${mymachine} yields;

[skipped output not related to X11]

debug2: x11_get_proto /usr/X11R6/bin/xauth list :0 2/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Sun Nov  3 15:31:35 2002 from adsl-157-133-20
Welcome to Darwin!

So it looks like it's trying to set up X11 forwarding, but the DISPLAY 
variable remains unset.
I wonder if some parameter in the Jaguar network/sharing preferences 
may be to blame.  I can
remote log in, but the DISPLAY variable is still missing.

Looks exactly as here. Just to verify, you did delete any old .Xauth* 
files on both client and server machines?
What I can think of: explicitly create a new .Xauthority on the client 
machine with
'xauth generate :0', and add the following to the ~/.ssh/rc on the Mac:

if read proto cookie  [ -n $DISPLAY ]; then
 if [ `echo $DISPLAY | cut -c1-10` = 'localhost:' ]; then
 # X11UseLocalhost=yes
 /usr/X11R6/bin/xauth add unix:`echo $DISPLAY |
 cut -c11-` $proto $cookie
 else
 # X11UseLocalhost=no
 /usr/X11R6/bin/xauth add $DISPLAY $proto $cookie
 fi
fi

(this helped me to get rid of authentication errors, though it's 
probably just a slim hope in your case, as DISPLAY doesn't seem to be 
set in the first place and there never is any authentication going on). 
BTW, have you tried setting DISPLAY=localhost:10.0 manually and run an 
X11 program?
Finally, I never got X11 forwarding to work with OS X's openssh daemon, 
so you may want to make sure that it is actually /sw/sbin/sshd that's 
running and nothing else. As a last diagnostic tool, you can start the 
daemon manually with 'sudo /sw/sbin/sshd -ddd' and watch out for debug 
messages on the server side.

HTH,
			Derek



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-03 Thread Martin Costabel
[EMAIL PROTECTED] wrote:


[]
be to blame.  I can
remote log in, but the DISPLAY variable is still missing.


Sorry for the stupid question, but nobody asked before: Are you sure 
that you did set DISPLAY in the window from which you are doing your ssh?

--
Martin




---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-02 Thread hodelas
I just upgraded my office machine to Jaguar and am no longer able to run 
X-apps from home due to X-forwarding problems.

I've set ForwardX11 to yes in both /etc/ssh_config and (after installing 
openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried logging 
in with

ssh -X [EMAIL PROTECTED]

However,
echo $DISPLAY
on my work machine gives the message:
DISPLAY: undefined variable

I'm stumped.  And now I'm going back to the office to finish up some 
things.  :-(



---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] ssh/ForwardX11/DISPLAY problem

2002-11-02 Thread Martin Costabel
[EMAIL PROTECTED] wrote:


I just upgraded my office machine to Jaguar and am no longer able to run
X-apps from home due to X-forwarding problems.

I've set ForwardX11 to yes in both /etc/ssh_config and (after installing
openssh from fink) in /sw/etc/ssh/ssh_config.  I've also tried logging


And in sshd_config?

--
Martin



---
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users