Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH and XForwarding

Reply
Thread Tools Display Modes

SSH and XForwarding

 
 
Dani Camps
Guest
Posts: n/a

 
      02-19-2005, 01:21 PM
I have two questions regarding SSH and XForwarding:

1-Imagine I have an X program called 'xprogram' installed in the
machine A but not installed in the machine B, now from B I do:

B#ssh A
A#xprogram

I get an error, but if I try to do it with a program installed in the
B as well, then it works. Is it normal ? Is not possible to run an X
program installed only on the remote machine ? I think that when you
run XForwarding what SSH actually does is to contact the X server in
the client to make the program appear in the local machine, so it
could make sense not to be able to locally run a program only
installed in the remote machine, is this right ?

2-The other question is about running nautilus using XForwarding, the
nautilus windows opens without problem and I see the files and folders
of the remote directory, but I can not edit the permissions of those
files nor even move the files inside the folders of that directory and
so on, but I can do all that if I connect in 'shell' mode, normal ssh,
it seems like if with nautilus I am using another user, is there any
solution ? The way I call nautilus is once having a shell in th remote
machine I do:
A#nautilus target_directory


Thanks !
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      02-19-2005, 02:03 PM
In comp.os.linux.networking Dani Camps <(E-Mail Removed)>:
> I have two questions regarding SSH and XForwarding:


> 1-Imagine I have an X program called 'xprogram' installed in the
> machine A but not installed in the machine B, now from B I do:


> B#ssh A
> A#xprogram


> I get an error, but if I try to do it with a program installed in the


Please show us the complete error, how do you expect us to help
you if all you say is "I get an error"?

> B as well, then it works. Is it normal ? Is not possible to run an X
> program installed only on the remote machine ? I think that when you


Of course it is possible, that's the purpose behind it. Again
show us the error (cut&paste).

[..]

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 130: new management
 
Reply With Quote
 
alex k.
Guest
Posts: n/a

 
      02-19-2005, 03:28 PM
You start your ssh-session with
#> ssh -X user@host
, do you?

regards,
k.

 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      02-20-2005, 08:01 AM
On 19 Feb 2005 08:28:35 -0800, alex k. <(E-Mail Removed)> wrote:
> You start your ssh-session with
> #> ssh -X user@host
> , do you?


Or in section for that host or wildcard Host * section in ~/.ssh/config:

ForwardX11 yes

I can run SunOS X binaries through ssh to my old IS, displayed in Linux,
even though those binaries would not run on Linux.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11