Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- SSH and X appl. on new remote host
- Arvin Patel
June 17, 2005, 7:41 pm
rate this thread
How can I start an X aplication on a remote machine that
I am working on remotely through another machine?
I am working on a remote machine through SSH. I login
local> ssh -l <user-name> <host-a>
Then I can start X applications on the remote machine A
and I get the display on my local machine e.g.
host-a> xterm &
Now I from remote machine A, I start a shell on remote machine B.
host-a> rsh <host-b>
My question is now how do I start an X application on machine B
and get the display also on my local machine. e.g.
host-b> xterm &
- Richard E. Silverman
June 18, 2005, 1:32 am
Re: SSH and X appl. on new remote host
Bit> On 17 Jun 2005 21:41:10 +0200, Arvin Patel wrote:
>> How can I start an X aplication on a remote machine that I am
>> working on remotely through another machine?
Bit> Depends on the target shell.
Bit> adding xterm & in .bash_profile, .profile,.... on the target
Bit> machine should do it.
That's not what he's asking.
The SSH protocol request which sets up X forwarding does not include a
way to indicate how the server should listen for X clients, so it's
controlled on the server. You haven't said what software you're using.
If it's OpenSSH, the server variable X11UseLocalhost controls whether it
listens on the loopback (default) or wildcard address, for all X
forwardings. So you would need that set on the SSH server, then set the
DISPLAY variable on the third machine manually to point back to the
forwarded X display.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum