Re: Still Stuck on the Most FAQ
Re: Still Stuck on the Most FAQ
- Subject: Re: Still Stuck on the Most FAQ
- From: R Peter DeLong <email@hidden>
- Date: Thu, 19 Feb 2004 16:06:39 -0500
I have given up on using SSH. I suspect one problem is that xauth and xdm
are incapable of handling X servers like my laptop whose IP addresses and
names keep changing, although see my next comment.
I have edited my /etc/hosts file on my powerbook to include flagfish and
its stable IP address, but I am not able to even get old-fashioned X login
to work right. Even then, I get "connection refused". So, I have resigned
myself for the time being to setting DISPLAY manually on the host, and
using xhost + on my powerbook. At least that works!
I am still curious why the xterm that comes up by double-clicking on
X11.app has no environment variables set. Xterms that I initiate from the
terminal are just fine. What file do I need to edit to fix that?
.xinitrc?
- Pete
P.S. Thanks to those who have tried to help!
Rich Cook
<email@hidden> To: Dominic Dunlop <email@hidden>
cc: R Peter DeLong <email@hidden>, email@hidden,
02/19/2004 01:57 email@hidden
PM Subject: Re: Still Stuck on the Most FAQ
You know, I ran a test and find I am having a similar problem when
logging into remote machines and depending on -X to set my DISPLAY.
DISPLAY is not getting set. I tried removing my .bashrc and .profile
files on the remote machine, and I get no DISPLAY set. Weird. I have
solved the problem with xauth, ifconfig, cut, and grep, :-) but it
would be nice if it worked as it is supposed to.
On Feb 19, 2004, at 1:48 AM, Dominic Dunlop wrote:
> Sorry for mot getting back to you yesterday. It's mainly because I
> don't have much to add.
>
> On 17 Feb 2004, at 20:35, R Peter DeLong wrote:
>> On my laptop, I have DISPLAY=:0.0. I assume this is shorthand, and
>> is okay?
> Yes.
>
>> I am using the default (bash) on my laptop, even though on flagfish
>> my default shell is csh.
>> I have no problems with environment variables in terminal (all are
>> appropriately set).
> Fine.
>
>> On the xterm that comes up with X11.app, no environment variables are
>> set.
> As I said last time, this is odd, and you should investigate. But it
> may not have anything to do with the failure to forward.
>>
>> Here are the results of ssh -v. I have high hopes they will help!
>> ...
>> debug1: channel 0: new [client-session]
>> debug1: Entering interactive session.
>> debug1: channel 0: request pty-req
>> debug1: Requesting X11 forwarding with authentication spoofing.
>> debug1: channel 0: request x11-req
>> debug1: channel 0: request shell
>> debug1: channel 0: open confirm rwindow 0 rmax 32768
>> Last login: Mon Feb 16 16:06:55 2004 from pcp171792pcs.ss
>
> For what it's worth, I was seeing just this apparently successful
> negotiation of forwarding when the /etc/ssh_config on the remote
> system was set up not to allow forwarding, and it didn't change when I
> corrected the configuration problem and got things working. Even the
> highest levels of verbosity (-vvv) didn't show anything amiss. So,
> whatever's wrong, I fear the logging information doesn't help.
> Neither, in my experience, does Mac OS X's /private/var/log/system.log
> on the remote system. Maybe Solaris' log is more helpful, so it's
> worth checking.
> --
> Dominic Dunlop
> _______________________________________________
> x11-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/x11-users
> X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
> Report issues, request features, feedback:
> http://developer.apple.com/bugreporter
> Do not post admin requests to the list. They will be ignored.
>
>
--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-451 Rm-2043, Mail Stop L-561
7000 East Avenue, Livermore, CA, 94550, USA
phone (925) 423-9605 (work) fax (925) 423-8704
---
Information Management & Graphics Grp., Services & Development Div.,
Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.