[Fink-users] ssh/ForwardX11/DISPLAY problem
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
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
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
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
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
[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
On Sunday, November 3, 2002, at 10:11 PM, Derek Homeier wrote: [munch] 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. It looks like I'll have to try the diagnostic output of sshd: [mymachine:~] hodelas% which sshd /sw/sbin/sshd Aha! I should have seen this before: hodelas% ps x | grep ssh 14632 ?? S 0:00.04 /usr/sbin/sshd 14649 std R+ 0:00.00 grep ssh It's running the wrong ssh daemon. I thought I'd manually killed it and restarted with the fink sshd, but I guess not. I'll do a system reboot later once I clear out some weekend batch jobs. I'm guessing this is the culprit. Thanks very much to you, M. Costabel, and M. Fujinaka for your many suggestions. --- 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
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