Results 1 to 7 of 7

Thread: Running a webcam stream using SSH

  1. #1
    Join Date
    Aug 2008
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Question Running a webcam stream using SSH

    Hello fellow Ubuntu users,

    Is it possible for me to view my webcam stream from one laptop (running Mac OS Snow Leopard) to my second laptop (running Ubuntu 10.04)? over the internet not LAN? (trying it as a self-learning project)

    I know VLC allows that but how would I go about doing it using the terminal?....

    Background Info: I am a little bit aware that I could use SSH -X to connect to a computer (in this case my Mac laptop)...I have already established this connection but every time I run:

    # open VLC.app
    the VLC opens on my mac instead of my ubuntu laptop; so given that I can't even open vlc on my screen it seems impossible for me to even turn on the webcam!...

    Any Help would be appreciated and please I am self-learning so a step by step tutorial would be even better!

    Cheers

  2. #2
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

  3. #3
    Join Date
    Aug 2008
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Running a webcam stream using SSH

    Thanks inobe, but I was not really looking for an app to do that but rather learn more about SSH and its applications...Should have mentioned before - D'oh!

  4. #4
    Join Date
    Nov 2008
    Location
    United States
    Beans
    2,090
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Running a webcam stream using SSH

    ssh is a remote beast and requires significant skill to maintain security.

    when you start tinkering with things such as that, it takes more than forum advice, in fact, lots of literature, man pages to be exact

    http://www.openssh.org/manual.html

    don't get in over your head.

  5. #5
    Join Date
    Aug 2008
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Running a webcam stream using SSH

    Quote Originally Posted by inobe View Post
    ssh is a remote beast and requires significant skill to maintain security.

    when you start tinkering with things such as that, it takes more than forum advice, in fact, lots of literature, man pages to be exact

    http://www.openssh.org/manual.html

    don't get in over your head.
    I agree it is a beast....I am reading through the literature and not jumping any steps just because I learned about a new command called ssh!...

    Honestly, IMHO it is never a bad idea to ask and see if others have already tried and are willing to help!

    But thanks for your opinion

  6. #6
    Join Date
    Feb 2006
    Location
    uk
    Beans
    Hidden!

    Re: Running a webcam stream using SSH

    issue the ssh command with verbose logging and see what the issue is. as far as i know, os x doesn't run applications using an X server (although you can install X), so that's probably where the problem lies.

    your best bet is probably to broadcast your vlc stream to the LAN the mac is on, and tunnel into your LAN using ssh

  7. #7
    Join Date
    Aug 2008
    Beans
    18
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Running a webcam stream using SSH

    Quote Originally Posted by aeiah View Post
    issue the ssh command with verbose logging and see what the issue is. as far as i know, os x doesn't run applications using an X server (although you can install X), so that's probably where the problem lies.

    your best bet is probably to broadcast your vlc stream to the LAN the mac is on, and tunnel into your LAN using ssh
    You are absolutely spot on!....I have X installed on the mac and tried the ssh command with verbose and everything seems fine, but I guess Mac OS is what Ubuntu is not (very closed )...lol


    As for your tip on broadcasting on lan, can you explain me how that could be accomplished or point to some tutorial page?...So far what I've done is:

    broadcast on localhost:8080
    then port forwarded that using SSH to my port 8080 (Using ssh -R command)
    but when I try to open localhost:8080 on firefox on my own ubuntu, all I get is "Can not open Server"

    and Thanks for this idea...not sure why I didn't thought of that before...lol

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
  •