Results 1 to 6 of 6

Thread: ssh - Open aplication on remote computer

  1. #1
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    [SOLVED] ssh - Open aplication on remote computer

    I have a small netbook that I would like to use as a terminal for my main computer, so instead of opening Gnome-terminal on my computer it will run from my netbook.

    what i want to know is how to ssh from my netbook into my main computer and run an application on that computer.

    So i would like to be able to ssh into my computer, and when i type "vlc movie.avi" it will open and run on the REMOTE computer just as if i had opened gnome-terminal and typed the command there.
    Does anyone have an idea on how to do this?

    thx

    Note: I'm not looking for something/anything like "ssh -X" or VNC or Remote Desktop.
    Last edited by Ocxic; March 6th, 2011 at 07:15 AM.
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

  2. #2
    Join Date
    Mar 2010
    Location
    Norway
    Beans
    674

    Re: ssh - Open application on remote computer

    This is something I also desperately want to know the answer to.
    I've tried logging in and doing
    Code:
    export DISPLAY=:0.0
    but it doesn't work. maybe this will work for the OP though.

  3. #3
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: ssh - Open aplication on remote computer

    Howdy,

    First install OpenSSH Server on the desktop and make sure it works:
    $ ssh user@localhost


    Then from the netbook:
    $ ssh -X -C -c blowfish user@desktopipaddress gnome-panel

    or:
    $ ssh -X -C -c blowfish user@desktopipaddress "gedit /etc/fstab"

  4. #4
    Join Date
    Mar 2010
    Location
    Norway
    Beans
    674

    Re: ssh - Open aplication on remote computer

    Quote Originally Posted by HermanAB View Post
    Howdy,

    First install OpenSSH Server on the desktop and make sure it works:
    $ ssh user@localhost


    Then from the netbook:
    $ ssh -X -C -c blowfish user@desktopipaddress gnome-panel

    or:
    $ ssh -X -C -c blowfish user@desktopipaddress "gedit /etc/fstab"
    Hello. This will open the application on the client side, what me and the OP want to do is to launch the application in the X server on the server side.

  5. #5
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: ssh - Open aplication on remote computer

    ^---What he said
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

  6. #6
    Join Date
    Oct 2005
    Location
    Southern Ontario, Canada
    Beans
    1,244
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: ssh - Open application on remote computer

    Quote Originally Posted by Smart Viking View Post
    This is something I also desperately want to know the answer to.
    I've tried logging in and doing
    Code:
    export DISPLAY=:0.0
    but it doesn't work. maybe this will work for the OP though.

    yes this worked,, I can't believe i didn't try that sooner.
    There is an easy way, and a hard way to do things.
    If you're anything like me, you've tried to do things things the hard way,

    and broke something.......

    (\ /)
    (O.o)
    (> <)

Tags for this Thread

Bookmarks

Posting Permissions

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