Guide to…Remote Connections

  1. mike632t says:

    Since I first got my Pi I found having to use a seperate keyboard and mouse a bit of a pain so now my Pi is more or less permanantly attached to my laptop via a USB serial cable (for the console) and network cable so I can conenct remotly to the desktop. (see and )

  2. […] discussed previously (in the Guide to…Remote Connections), there is the option of using a (console) TTL-serial cable, however this only provides rather slow […]

  3. Sebastien says:

    Hello Meltwater.

    Thank for your mine of info. I have just found this article through the Raspberry website. It took me several hours to find all this by myself. I have put my experience on my blog where I talk about SSH, and RDC. Especially you left out that once you have SSH, you can easily browse and modify files on your Raspberry Pi very easily using WinSCP for example.

    As for the IP address problem, I think a good way would be to have a small screen or just some LEDs to give you visual feedback. A shutdown button would be usefull as well…

    • Yep, most of the info was out there, but as you say it can take a while to hunt it all down and follow all the dead-ends.

      The network solution is great since if you set-up other things like shared folders (SMB) you can drag and drop files, and backup everything.

      The IP address problem can still be a pain, but being able to set it to a fixed IP via the SDCard (when you need to) helps a lot. As mentioned before, the PI “should” be able to automatically set an IP for direct connections too, and if the “hostname” lookup worked every-time, the IP address set becomes less of a problem.

      We are getting closer to a perfect, easy solution, but we are not there yet (hopefully a few tweaks to the distro and we will be).

      Yes, a safe-shutdown on the RPi, would also help a lot for running headless.

  4. Andy says:

    Interesting to see how you guys have gone about things … and the X11 forwarding looks intriguing … will try it out later.
    However, I notice that you talk about VNC and have a separate X session. That is fine, but I found that annoying.
    I had set Rhythymbox to start automatically to act as my music server. Using tightVNC meant that I would not ordinarily
    be able to control Rhythymbox via tightVNC.
    A bit of searching around and I found x11vnc which was very easy to set up and connects to an existing X session.
    If you would like some notes, let me know.

    • Yes that would be very useful.
      I wasn’t keen on VNC starting each time (if it was needed or not), so I added that to a start up menu, so I could enable it via SSH if required.

      Would be interested to hear more about the x11vnc solution, could be helpful. So far, x11 works great (particularly now I got it working with Tkinter etc) when coupled with shared folders, means you can code directly on PC.

      • Andy says:

        sudo apt-get install x11vnc
        x11vnc -setpasswd
        x11vnc -forever -usepw -display :0

        whcih seems pretty easy.

        I have set x11vnc to start auto-matically on start up.
        Let me know what you reckon.

  5. briti says:

    amazing thank you took a bit of time but was worth it :D

  6. Phil Karn says:

    I strongly recommend installing the “avahi-autoipd” and “avahi-daemon” packages on the Pi so you don’t need to manually configure an address on the Pi or even have a DHCP server on your network (e.g. if you have a direct cable between the Pi and your other computer).

  7. tkinter_starts_to_suck says:

    why [xx] does tkinter need trusted X11 forwarding -.-
    ssh -Y … Enables trusted X11 forwarding

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s