Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Help needed with remote RPC and VNC for VM hosts

  1. #1
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Help needed with remote RPC and VNC for VM hosts

    So I have a number of headless windows machines, that have linux VMs running on them. I would like to be able to have BOINCtasks connect to the VMs as well. Maybe even VNC into the VMs too. Is this even possible? If so, how do I tell what would the IP address of the VMs be (as perceived from other computers on my LAN)?
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  2. #2
    Advisor - Stateside Division
    Bok's Avatar
    Join Date
    October 14th, 2010
    Location
    Wake Forest, NC
    Posts
    1,211

    Re: Help needed with remote RPC and VNC for VM hosts

    It actually depends on how you set up networking in the vm's as to whether they have a network accessible IP.

    Log onto one of them in a commandline and type

    ifconfig -a

    and it should tell you it's IP address. Then try to ping it. You may well need to alter the networking part of the VM though, which is simple enough.

    Which VM software is it?

  3. #3
    Past Administrator
    Fire$torm's Avatar
    Join Date
    October 13th, 2010
    Location
    In the Big City
    Posts
    7,938

    Re: Help needed with remote RPC and VNC for VM hosts



    Future Maker? Teensy 3.6

  4. #4
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Help needed with remote RPC and VNC for VM hosts

    Quote Originally Posted by Bok View Post
    It actually depends on how you set up networking in the vm's as to whether they have a network accessible IP.

    Log onto one of them in a commandline and type

    ifconfig -a

    and it should tell you it's IP address. Then try to ping it. You may well need to alter the networking part of the VM though, which is simple enough.

    Which VM software is it?
    It is vbox, and the OS is ubuntu. Which IP address should I be looking at? My LAN is 192.168.1.x, so I am not sure how I could connect to a 10.x.x.x address?




    $ ifconfig -a
    eth0 Link encap:Ethernet HWaddr 08:00:27:8f:04:f1
    inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
    inet6 addr: fe80::a00:27ff:fe8f:4f1/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:2075 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3667 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:930310 (930.3 KB) TX bytes:3622762 (3.6 MB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:6884 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6884 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3504943 (3.5 MB) TX bytes:3504943 (3.5 MB)
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  5. #5
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Help needed with remote RPC and VNC for VM hosts

    Ah, I think I have to choose "bridged" in the network setting of the machine in vbox. Thanks Guys!

    Edit: Okay, follow up question. How do I define a fixed IP address. I looked all over the vbox manager, but no good.
    Last edited by zombie67; 02-15-12 at 09:32 PM.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  6. #6
    Advisor - Stateside Division
    Bok's Avatar
    Join Date
    October 14th, 2010
    Location
    Wake Forest, NC
    Posts
    1,211

    Re: Help needed with remote RPC and VNC for VM hosts

    hmm, not sure, but you can change it once you get in.

    Look in /etc/sysconfig/network-scripts/ifcfg-eth0

  7. #7
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Help needed with remote RPC and VNC for VM hosts

    Quote Originally Posted by Bok View Post
    hmm, not sure, but you can change it once you get in.

    Look in /etc/sysconfig/network-scripts/ifcfg-eth0
    Hrm. /etc/sysconfig/ does not exist. Why can this stuff be the same in all distros?
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  8. #8
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Help needed with remote RPC and VNC for VM hosts

    I am using the DHCP addresses for now. In any case, for the first time in all my years of crunching, I am seeing the tasks from all my machines and VMs in a single GUI manager.

    THIS IS FREAKING AWESOME!!

    AAAAAAWWWWWW YEEEEEAAAAAAAH!

    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


  9. #9
    Advisor - Stateside Division
    Bok's Avatar
    Join Date
    October 14th, 2010
    Location
    Wake Forest, NC
    Posts
    1,211

    Re: Help needed with remote RPC and VNC for VM hosts

    Which distro is it?

  10. #10
    Diamond Member
    zombie67's Avatar
    Join Date
    October 24th, 2010
    Location
    Reno, NV
    Posts
    7,294

    Re: Help needed with remote RPC and VNC for VM hosts

    Quote Originally Posted by Bok View Post
    Which distro is it?
    10.04 LTS, with all the updates.
    "Don't confront me with my failures, I had not forgotten them" - Jackson Browne

    Avatar source


Page 1 of 2 12 LastLast

Posting Permissions

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