l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 16:59

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] X11 forwarding question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] X11 forwarding question

  • Subject: Re: [vox-tech] X11 forwarding question
  • From: Ted Deppner <ted@pMAPSsyber.com>
  • Date: Wed, 31 Jan 2001 07:12:45 -0800
  • References: 20010131005043.A11173@dirac.org

use 'ssh -X machine'.

If you're going from the masqed machine out to a public machine, this
works easily, and you can run X clients from the remote host and display
on your local X server.  If ssh-ing from a public machine into the masqed
machine, you'll need a whole in your firewall/masquerading box.

Once you're sshed in, and there are no errors like "Remote host denied X11
forwarding", you're good to go.  echo your $DISPLAY to make sure it
contains something useful, and check $XAUTHORITY which should point to a
file in /tmp/ssh*.  

If you get they "denied X11 forwarding", you'll need to allow X forwarding
in the remote host's /etc/ssh/sshd.conf.  If you're using a highly
restricted hosts.allow and hosts.deny, you will need to add an entry for
X-forwarding... I don't remember it off the top of my head, but it should
be in the docs (x11-forwarding or something).

You can use -cblowfish for faster streaming, and -C for compression as
option to ssh, which can help alot.  The compression will slow you down if
you're already at 10mbit or above, but on DSL and T1's it can help.  You
might also look at lbx, low bandwidth X, which is another X stream
compressor and differentaitor (available in debian too).  lbx can be
tunneled through and ssh stream (Haven't tried this, but it may be worth
checking out).

On Wed, Jan 31, 2001 at 12:50:43AM -0800, Peter Jay Salzman wrote:
> i think the answer is no, but just to make sure...
> is it possible to run X applications remotely when you're on a machine which
> is masqueraded?   how do you let the remote machine know where to forward X
> packets to if you don't have a real IP address?
> pete

Ted Deppner

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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:
EDGE Tech Corp.
For donating some give-aways for our meetings.