On Mon, 28 Mar 2005 12:19:53 -0800, John Myers
<[EMAIL PROTECTED]> wrote:
> On Sunday 27 March 2005 15:11, Mark Knecht wrote:

> 
> Don't forget to start the X server (Xfree, Xorg, or Xnest) on :2 before
> running that. You shouldn't need to use xhost,  ssh takes care of that for
> you. Also, you might need to use -Y on the ssh line.
> 
> >    Is this possibly because I don't have specific ports open?
> No, since the connection is tunneled through SSH
> 
> >
> >    Not sure about the Xnest suggestion as this is a network of both
> > Gentoo and FC2 machines and my FC2 machines do not seem to have Xnest.
> 
> It doesn't matter if the other systems have it. Since it's just an X server,
> it only runs on the local system. Clients don't care what kind of server they
> connect to.
> 
> Here's a little shell script I wrote to do this just now. It should work at
> least on Gentoo clients. Note that I had a problem when sshing to localhost
> that it would unset DISPLAY, but it worked when sshing to my server. YMMV

Hi John,
   Thanks for working on this. I set rXs up as a bash file, gave it
execute rights and fired it off, first against a local FC2 remote
machine and second against a distant Gentoo remote machine. In both
cases the script seems to fail looking for my password.

   I think this must be assuming the 'passwordless X session that Jeff
Smelser talked about yesterday? I'll have to go look for how to do
that. I presume that it's an sshd config option at the far end. That
scares me a bit as it would seem to open up the machine to who knows
what problems. I watch the logs on one of these boxes and I see all
sorts of kiddie scripts trying to hack into Windows boxes. I don't
want that sort of problem showing up at this time.

Thanks,
Mark
--
[email protected] mailing list

Reply via email to