Find the answer to your Linux question:
Results 1 to 6 of 6
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Tunnel Applications?


    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?

    Edit:
    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:
    Code:
    ssh -2 -c blowfish -X user@address
    Though I have no idea what it does. I think that it should tunnel a app? (But what one? were will that be defined?)
    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?

    Anyhow, Cheers.
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    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?
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    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.

  4. #4
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    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?

    Thanks alot.
    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  5. #5
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    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.

  6. #6
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Ok, thanks alot.
    You saved my life ^^ (you have no idea to have far that is true )
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •