The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Working with my home PC from afar with VNC - psuedo-update!, now with FTP/Apache

contrabandcontraband Registered User regular
edited July 2007 in Help / Advice Forum
Interacting with my home PC from a laptop with VNC interests me. Do both computers have to be on a network? If so, would running a program such as Hamachi suffice? Also, is it possible to directly transfer files from the home PC to my laptop over VNC, or would I have to use another method?

sigxw0.jpg
contraband on

Posts

  • whuppinswhuppins Registered User regular
    edited July 2007
    It will work over a network, but it's not required. When you connect, you can type in either a network location or an IP. File transfer isn't part of VNC though, at least not in the last build I downloaded.

    Edit: I should also add that while VNC is the popular choice, the default XP remote connection functionality is actually better in terms of performance. They've really made some significant improvements to it; I want to say that it supports drag-and-drop file transfers but I can't be sure. Definitely worth checking out if both machines run XP, though.

    whuppins on
  • embrikembrik Registered User regular
    edited July 2007
    If you want VNC with file transfer, just use UltraVNC. It's quite a nice version of VNC, and it's free, of course.

    Otherwise, whuppins has it right. Windows Remote Desktop works beautifully. When you connect, you can choose whether to share out drives, printers and serial ports, as well as sound. However, only the computer you're connecting to has to have XP Professional or Vista Business/Ultimate. (Can't be home, etc) There are RDP (Remote Desktop Protocol) clients for pretty much every OS, including older versions of Windows, an ActiveX version, and versions for Linux, MacOS and others.

    Edit: to explain the drive sharing, if you choose to share drives when connecting, they'll show up in Windows Explorer on the host PC as additional drives, so you can drag and drop files to/from these drives. However, transfer rates are generally pretty slow, since bandwidth is also being used to display the remote computer, etc. You can drop video display quality, etc, before you connect to help speed things up.

    embrik on
    "Damn you and your Daily Doubles, you brigand!"

    I don't believe it - I'm on my THIRD PS3, and my FIRST XBOX360. What the heck?
  • TychoCelchuuuTychoCelchuuu PIGEON Registered User regular
    edited July 2007
    This link right here is the Microsoft-powered alternative.

    TychoCelchuuu on
  • contrabandcontraband Registered User regular
    edited July 2007
    That sounds pretty nice actually, but the laptop will be running OS X. With any of these programs, is it possible to wake the remote computer from sleep mode, if the program is already running?

    contraband on
    sigxw0.jpg
  • RaereRaere Registered User regular
    edited July 2007
    You'd need a network adapter on the PC with WOL capabilities enabled in the BIOS and in Windows, and software to send the 'magic packet' to wake it up. Google it, your PC should have it.

    Raere on
    Raere.png
  • contrabandcontraband Registered User regular
    edited July 2007
    If I have WOL capabilities in my BIOS, would that mean my NIC supports it also? If not, how can I check?

    contraband on
    sigxw0.jpg
  • RaereRaere Registered User regular
    edited July 2007
    Is the NIC built into the motherboard? If it is, it's safe to say that your BIOS would not have features that your motherboard doesn't.

    Raere on
    Raere.png
  • contrabandcontraband Registered User regular
    edited July 2007
    That was just a guess brought on by some Googleing, but I just rebooted in BIOS and I found a few power options.

    I had the option to enable/disable power on by an RTC Alarm, external modems, or a PCI device. I also could choose a PS/2 mouse or keyboard, but I don't think they'd be of much use in this situation. Are any of those devices what I'm looking for?

    contraband on
    sigxw0.jpg
  • contrabandcontraband Registered User regular
    edited July 2007
    Does anyone else have advice on configuring my PC to support wake on LAN?

    contraband on
    sigxw0.jpg
  • embrikembrik Registered User regular
    edited July 2007
    This guide should help you getting WOL set up, and also explains how to set it up over a WAN, if you choose. There's a lot of things to look at when doing WOL over the net, so it's easier to post this guide, rather than explaining everything. Page two of the guide covers most of your questions about enabling it in the BIOS, etc.

    embrik on
    "Damn you and your Daily Doubles, you brigand!"

    I don't believe it - I'm on my THIRD PS3, and my FIRST XBOX360. What the heck?
  • contrabandcontraband Registered User regular
    edited July 2007
    Very helpful. Thanks!

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    Just a thought: You may want to look into cygwin/ssh combined with windows remote desktop.

    Since you're on a mac, you'd only need to download RDC - but then you set up the home PC to accept SSH connections, and you can connect securely to the box remotely. It also enables you to use scp to transfer files securely as well.

    Legoman05 on
  • RhinoRhino TheRhinLOL Registered User regular
    edited July 2007
    Yea, that's how I have mine setup: VNC tunneled though SSH.

    SSH includes encryption and compression (and also has other security features).

    Personally I like TightVNC (seems a bit faster) - but your taste my vary.

    If your running MacOSX at home then you should be able to build SSHD on it (since it's unix based).
    If running windows, you could can versions of sshd "natively", but like the above poster said; cygwin/ssh is probably the easiest way to build it.

    SSH is also good for [secure and fast] remote transfer of files. Use scp (on Unix/OSX) or FileZilla (on Windows).

    Rhino on
    93mb4.jpg
  • contrabandcontraband Registered User regular
    edited July 2007
    What is the purpose of tunneling with SSH as well? Encrypting my VNC session? Or..? UltraVNC offers file exchange and encryption already...

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    Mostly encryption - but it sounds like UltraVNC takes care of the basics for you already then. It has the added benefit of giving you the power of command-line linux from afar - which is nice.

    I just wouldn't trust moving any information over the connection that you wouldn't be horrified if the world saw.

    Legoman05 on
  • contrabandcontraband Registered User regular
    edited July 2007
    If I wanted to use SSH, would any commands have to be made from the remote PC? Can I just establish a SSH tunnel client-side (the laptop), and be done with it?

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    It would take no more work than setting up any other sort of network service. You just set it up to run and accept connections with a preset Username/Password.

    Then - from your remote machine - you're going to add something like this to your .ssh/config:

    Host home
    <tab>Hostname http://yourname.no-ip.com
    <tab>User <username>
    <tab>ForwardAgent yes
    <tab>Port <22 - but you could change it if you wanted to be safer and run on a non-standard port.>
    <tab>LocalForward 3389 home:3389 # (The RDC port, replace with 5900 for VNC)
    <tab>Protocol 2

    From there - all you have to do to start it up is open your terminal, type 'ssh home' - and you'll be prompted for your password. Once done, just point your RDC at localhost:3389, and you're off to the races.

    You'll want to set your router to disallow access to anything on port 3389 - since you'll be running the server on that port - but you'll be forwarding through ssh, so it won't cause problems for you.

    Legoman05 on
  • contrabandcontraband Registered User regular
    edited July 2007
    What exactly do you mean by ".ssh/config?" I don't have a machine running OSX on me currently, but my friend is letting me borrow his old Powerbook tomorrow, so I'll have a chance to test this out myself. Just to be clear, I'm letting "remote machine" mean my home PC running XP Pro, while my client computer is my laptop running OS X.

    edit: I'm still a little new about "network services," so setting it up to run and accept connections with a preset username/password isn't exactly obvious to me... I'll do some Googling.

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    Ok: A basic 'Nix primer - on your PC, you have a C: that holds everything. On your Linux box (which includes OSX) - you'll have everything mounted under / - which is your root. From this, you'll get different folders like /Users and /Applications.

    In your Users directory is your home folder. In your home folder, there is a hidden folder called .ssh. (The leading . denotes hidden-nature) Within that folder is a file called config, that holds settings for the different hosts (remote computers) you want to connect to with ssh. It's basically a shortcut - the end result is that you have to type only "ssh home" to connect, instead of "ssh -l Username -p Port -R 3389:3389 http://yourname.no-ip.com&quot; - you're just saving your preferences for later.

    Setting up Remote Desktop is easy.

    Setting up ssh on your remote machine is also easy, but a bit more keystrokes.

    Legoman05 on
  • contrabandcontraband Registered User regular
    edited July 2007
    Hate to drag up an old thread, but I'm at a bit of an impasse here. I have my friend's powerbook running right now, and I'm connected to my home machine. I have VNC running fine (UltraVNC on my home WinXP box--Chicken of the VNC running on his OSX Powerbook), I just have one question left. How do I transfer files directly from my home machine to the laptop, using just the laptop? Time is of the essence, he didn't have a spare charger, and when this battery dies, this whole shindig goes kaput. :(

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    Not simply through VNC - you could, however, use the connection through the laptop to set up another file-transfer service on the remote machine.


    This guide will show you how to enable FTP.

    Legoman05 on
  • contrabandcontraband Registered User regular
    edited July 2007
    There aren't any drag-and-drop alternatives? Even with a different VNC client? My only downfall, I think, is that there's no UltraVNC for OS X, or Chicken of the VNC doesn't support file transfer...

    edit: So now it looks like I want to use Apache. Would this solve my problem? Even if it's overkill for what I want to do, I would feel very accomplished if I configured it correctly...

    contraband on
    sigxw0.jpg
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    contraband wrote: »
    There aren't any drag-and-drop alternatives? Even with a different VNC client? My only downfall, I think, is that there's no UltraVNC for OS X, or Chicken of the VNC doesn't support file transfer...

    edit: So now it looks like I want to use Apache. Would this solve my problem? Even if it's overkill for what I want to do, I would feel very accomplished if I configured it correctly...

    Cygwin would also work - it comes packaged with the scp utility to copy files.

    It would also allow you to tunnel your connection through ssh for security and an overall feeling of haxorness.

    Note that this was my original suggestion ;D.

    Legoman05 on
  • contrabandcontraband Registered User regular
    edited July 2007
    I am totally new to Cygwin, unfortunately. Is it newbie-friendly? Or should I putz around for a walkthrough? Would I need to enable Cygwin on both computers in order to facilitate file transfer?

    contraband on
    sigxw0.jpg
  • iTunesIsEviliTunesIsEvil Cornfield? Cornfield.Registered User regular
    edited July 2007
    I might be confused here but if you're wanting to access the PC from the laptop (which runs OS X, ja?), you can still use Microsoft's Remote Desktop. Microsoft's Mac client for Remote Desktop connections.

    [edit] And you can secure the RDP connection by requiring the connecting client to use a password as well as encrypting the traffic. Decent guide for XP can be found here.

    iTunesIsEvil on
Sign In or Register to comment.