l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2003 Feb 06 09:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] can't open display with ssh2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] can't open display with ssh2



On Wed, Feb 05, 2003 at 04:17:42PM -0800, Henry House wrote:
> On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
> > I'm unable to forward X despite the fact that I used the -X option with
> > ssh and ForwardX11 is set to yes in ssh_config on the remote machine (on
> > both machines, actually).  I get the error message
> > 
> > Error: Can't open display:
> > 
> > which evidently means that ssh2 has failed to perform its usual magic in
> > setting up the display.  A wander through google has comforted me with the
> > realization that I am not alone in having this problem, although it has
> > not given me any answers.
> 
> The first thing to check when you get the above error is the contents of the
> DISPLAY environment variable. If SSH's forwarding magic is in place, it
> should be localhost:10.0 or similar. (The number varies but the hostname is
> always localhost.) The trouble could be as simple as some shell
> initialization overriding DISPLAY.

Her DISPLAY variable is empty... the error message says what the 
display variable is...

===
root@star:~# echo $DISPLAY

root@star:~# xeyes
Error: Can't open display: 
root@star:~# export DISPLAY=foo:0
root@star:~# xeyes
_X11TransSocketINETConnect: Can't get address for foo
Error: Can't open display: foo:0
===

  I agree something could be wiping out the display variable... 
going to check the output of her -v against mine.

    TTFN,
      Mike
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!