Hi, I wonder.
Is it possible to install eg Firefox on one PC and then tunnel it to another PC?
I thought I read something about it once. But I aint sure.
Well, can this be done?
And if so, how or were can I get documents?
So, basicly I am asking.
Can I run a server that only runs applications for other Pcs.
Eg. App. Server has Firefox on it.
From my local pc (or the one at work) I run a command.
And then I tunnel Firefox though a tunnel to my local PC or to my work.
after looking around abit I think this can be done with SSH. But well I dont know how or when.
Or will I have to tunnel the entire X11 thought that tunnel to get Firefox? (Since I cant use that)
I remember having seen that xeyes was tunneled.
I also have seen a Code like this:
Though I have no idea what it does. I think that it should tunnel a app? (But what one? were will that be defined?)
ssh -2 -c blowfish -X user@address
And, I tryed that already a couple of times. But I dont know if I should run that on the app server or on the client..
Can somebody help me? :(
bump, I am still looking for it. I still dont get it.
I have searched. But bad luck.
Does anyone have a idea how this works?
ssh tunneling with X forwarding means that you can run an application on a remote machine, and forward X (your xserver) output to the client/guest machine. You need a functioning X server on the client machine. For instance if you start an ssh session with the -X switch X is forwarded to the client. Then you run the command firefox. Normally the command would error as there is no X server connected. When you forward X it opens on the remote client for you to interact with but it is actually being processed on the host.
the command above runs as follows
- ssh ssh command
- -2 force use of ssh2 protocol
- -c specify the cypher (encryption) type
- blowfish the encryption type
- -X use X forwarding
- user@address username at hostname
The command only opens an ssh session. You launch whatever command you like afterwards.
So if I understand it correcly.
I can install firefox, thunderbird, ooffice, abiword and gnucash on App Server.
I can install x11, xfce on Client PC.
Now I init the Server to 3 and the Client to 5.
I run that command on the Client pc with user@address as user = localuse at the appserver and address is ip of Appserver.
Then I can just enter firefox in the cli and I get firefox in my Client box right?
That's exactly right. Applications render on the client as if you were looking at the host. If you run konqueror or nautilus you can actualy browse the remote filesystem, but needless to say not drag and drop from it.
Ok, thanks alot.
You saved my life ^^ (you have no idea to have far that is true ;))