On Thu, 14 Jun 2001, Derek Martin wrote:
> On Thu, Jun 14, 2001 at 06:18:45PM -0400, Tom Rauschenbach wrote:
>
>
> > I'd like to run this app on m2 but have it monitor ppp0 on m1.
>
> I don't think you're going to see this happen... You'd probably need
> a client-server application to do this for you. There may be such a
> thing out there already, but I don't know of one.
That's the beauty part. All X applications are client server.
>
>
> > Another approach to solving this would be to run the app on m1 and
> > tell it that its display is m2:0.0 (however that would be spelled)
> > but I don't know how to do that either.
>
> Use ssh. It does that for you, if it's configured properly. Just
> make sure you have X installed on both machines, and make sure you
> have this line in your /etc/ssh/sshd_config file:
>
> X11Forwarding yes
That's probably better than what I did, but what I did works. I'll try to do it
right as you suggest...
>
> Usually, this line already exists but by default is set to "no" in
> most packages of OpenSSH that I've seen. You also need to make sure
> your client is configured to forward X sessions, by adding a line to
> either your /etc/ssh/ssh_config (notice the lack of a 'd' here) or
> a per-user config file in $HOME/.ssh/config, as follows:
>
> ForwardX11 yes
>
> Then, all you need to do is log into m1, and run this:
>
> ssh m2 /path/to/yourapp
>
>
> > I liked some of the suggestions about using a remote sound card
> > though. Then I could use m2's sound card for network alarms while
> > playing stuff on m1.
>
> Depending on how you have things configured, you can do this with ssh
> too. Just do this:
>
> ssh m2 /usr/bin/play /path/to/soundfile
>
> You just need to make sure before hand that the user you're logging in
> as has read and/or write access to the sound hardware (and that you
> can log in with ssh).
>
> Hope that helps.
>
> --
> ---------------------------------------------------
> Derek Martin | Unix/Linux geek
> [EMAIL PROTECTED] | GnuPG Key ID: 0x81CFE75D
> Retrieve my public key at http://pgp.mit.edu
--
---
Tom Rauschenbach [EMAIL PROTECTED]
All your base are belong to us
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************