Net/ssh question

Can I use net/ssh to connect to a remote server, start a X
application, and have the application’s display show up on my
computer?

Joe

On 30/09/06 Joe Van D. said:

Can I use net/ssh to connect to a remote server, start a X
application, and have the application’s display show up on my
computer?

Can it use X portforwarding? If so, then yes, if you’re running a local
X
server.

Mike

On 9/29/06, Michael P. Soulier [email protected] wrote:

On 30/09/06 Joe Van D. said:

Can I use net/ssh to connect to a remote server, start a X
application, and have the application’s display show up on my
computer?

Can it use X portforwarding? If so, then yes, if you’re running a local X
server.

I don’t know if it can or not. :slight_smile: Why I’m asking.

On Sat, 30 Sep 2006, Joe Van D. wrote:

Can I use net/ssh to connect to a remote server, start a X
application, and have the application’s display show up on my
computer?

Joe

-a

On 9/29/06, Paul L. [email protected] wrote:

server.

I don’t know if it can or not. :slight_smile: Why I’m asking.

The answer depends on whether the remote and local machines are properly
configured

Yes

both running the same version of X windows

Yes

and whether the SSH connection between the local and remote machines is made with the appropriate options.

My question is whether net/ssh supports these appropriate options, and
whether an application’s display can be sent over an opened ssh
channel.

Joe Van D. wrote:

I don’t know if it can or not. :slight_smile: Why I’m asking.
The answer depends on whether the remote and local machines are properly
configured, both running the same version of X windows, and whether the
SSH
connection between the local and remote machines is made with the
appropriate options.

But this sort of SSH connection requires so much cooperation between the
local and remote X windows environments that it is generally better
carried
out directly, not by way of Ruby.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs