This has been bugging me for a long time, but it's supposed to be
simple.

I'd like to get an X app on a remote system to display on my local
workstation tunneling through SSH.  Supposedly, it's supposed to be as
simple as ssh'ing in and running the app.  I _can_ get this to work as
expected on my FreeBSD system, but never on any of my Mandrake boxes.
I think the part that's getting me is the $DISPLAY environment setting.

For example, here's what I get when I ssh into my FreeBSD box:

---
# echo $DISPLAY
pepe.home.gory.org:10.0
---

And here's what I get when I ssh into any of my Mandrake machines:

---
# echo $DISPLAY

---

For local machines behind my firewall, I've resorted to running 'xhost
+<host>' locally, ssh'ing to the other machine, exporting to my display
back to my workstation and then 'xhost -<host>'ing.  AFAIK, it shouldn't
have to be this difficult.  And this doesn't lend itself to exporting
displays through the firewall onto my internal LAN from machines
hundreds of miles away.

Going to the openssh page, there's been a problem with Mandrake 7.2 and
it's Xauthority settings (http://www.openssh.com/faq.html#2.7), but does
this problem still plague the 8.x versions of Mandrake?

I've got the following in my /etc/ssh/sshd_config:

  X11Forwarding yes

And in /etc/ssh/ssh_config:

  ForwardAgent yes
  ForwardX11 yes

What am I missing?

Thanks,

-Charlie
-- 
GPG Key fingerprint = 4F36 EC4F 2F2C 5F59 9690  09E5 4C0F 9DB0 8623 53CE
"The algorithm to do that is extremely nasty.  You might want to mug
someone with it."
                -- M. Devine, Computer Science 340

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to