RE: shh -X forwarding problem under breezy
- From: "Billy Verreynne \(JW\)" <VerreyB@xxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 07:52:13 +0200
Rainer Gutkas wrote:
> ssh -X 99.99.99.199 firefox
>
> one out of ten times I get:(firefox-bin:9981):
> Gtk-WARNING **: cannot open display:
Rainer, it should work..
The times that it does not work usually means a misconfig somewhere.
Or a very weird firewall..
Try the following. ssh into that platform, e.g.
# ssh -X 99.99.99.199
Now look at what the X Display is set to. ssh should set it - however,
ssh sets the environment before the .profile is executed and it in
turn can unset/overwrite the display environment variable.
# echo $DISPLAY
The $DISPLAY var should contain something like:
localhost:10.0
Which means ssh is listening on localhost (127.0.0.1) for X-client
display calls and tunneling that back to the ssh client's X-Server. If
the $DISPLAY reads something else (e.g. just :0.0), then the $DISPLAY
setting was either not set by ssh or was overwritten by something like
a .profile.
Oh yeah - weird firewall. Firewalls usually do not firewall localhost
traffic. They will allow all 127.0.0.1 traffic through (it is after
all, all just local stuff). But I will not be surprised seeing one
where a bright spark actually went and firewalled localhost, denying a
range of ports.
--
Billy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Prev by Date: RE: AMD Dual Core CPU's
- Next by Date: Re: AMD Dual Core CPU's & HT Tech
- Previous by thread: Re: ssh -X forwarding problem under breezy
- Next by thread: Gnugpg
- Index(es):
Relevant Pages
|