[NTLUG:Discuss] X over SSH again...

Stephen Davidson gorky at freenet.carleton.ca
Mon Sep 29 14:48:55 CDT 2003


Hi Brad, Thomas.

Ok, now we know that somebody is confused.  The question is who, what, and why.

Gorky is the name of the machine I am logged into, from a host named "davidson".  So it looks like it is doing the equivalant of setting DISPLAY=localhost:10.0.

I should probaby mention that when I log into "davidson" from gorky, DISPLAY=localhost:10.0 is what is set, and that does work.  However, DISPLAY=localhost:10.0 gives the authentication exception (an earlier thread) when 
logging in from "davidson" to "gorky".

A quick overview of network in question;
gorky = laptop
davidson = workstation with 20" monitor

Logging into davidson (workstation) from gorky (laptop) - GUIs work.
Logging into gorky(laptop) from davidson(workstation) - GUIs do NOT work.

Help?

Regards,
Steve

brad angelcyk wrote:
> Try a "host gorky" command.  It might not be able to
> reverse that hostname.  What you may need to do is a
> "export DISPLAY='<ipaddress>:10.0'".  Or add "gorky"
> to your /etc/hosts file.
> 
> Brad
> 
> 
> 
> --- Stephen Davidson <gorky at freenet.carleton.ca>
> wrote:
> 
>>Hi Brad.
>>
>>Your command returns;
>>declare -x DISPLAY="gorky:10.0"
>>
>>Regards,
>>Steve
>>
>>brad angelcyk wrote:
>>
>>>If you do a "export | grep DISPLAY", what does it
>>>return?  BASH will autoset this environment
>>
>>variable
>>
>>>if you use the -X switch on the ssh command.
>>>
>>>Brad
>>>
>>>
>>>--- Stephen Davidson <gorky at freenet.carleton.ca>
>>>wrote:
>>>
>>>
>>>>Greetings.
>>>>
>>>>My X over SSH is acting up again.  I did not
>>
>>change
>>
>>>>anything, so I have no idea what the problem is.
>>>>
>>>>Now, I am getting;
>>>>Error: Couldn't find per display information
>>>>
>>>>If anyone could give me a hint as to what is the
>>>>problem, and where, it would be greatly
>>
>>appreciated.
>>

-- 
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741





More information about the Discuss mailing list