Vmware, Windows XP, VNC  What a confusion!...

Posted on 2007-08-10
Last Modified: 2013-11-30
Vmware, Windows XP, VNC  What a confusion!...

I installed Vmware Workstation on my Windows XPs PC, using as Vmwares networking option, Network Bridging. Networking between my Virtual Machine (Guest)'s XP and Real Machine (Host)'s XP did not work, until I reconfigured Host's XP network connections in order to disable DHCP  (Dynamic Host Configuration Protocol  - the protocol for automating the configuration of computers that use TCP/IP). Since all TCP/IP settings were manually configured, networking between my Virtual Machine (Guest)'s XP and Real Machine (Host)'s XP is finally working! However, I have 2 problems, and they are the reason for posting this question  when I am working inside XP VM, I need to see the SCREEN and the CPU LOAD of the RM, in real-time. I installed a VNC Server (I have already tried the 3 main VNC services  TightVNC, UltraVNC and RealVNC) on RM, and the respective VNC Viewer (Client) on VM  What did I get? -  VNC Viewer (Client), installed on VM, shows the screen of the VM itself (it is a confusion because I am seeing my own screen  it is like installing VNC Server and Viewer (Client) on the same machine and typing localhost = in the Viewer (Client)... Then I tried the reverse process  VNC Server on VM and Viewer on RM  and then, everything OK  I could see the VM's screen from my RM. Why this happens? How can I solve this?? Routing? Port forwarding (redirecting)? DNS Server that distinguishes Internal from External IP (which?)?
In what refers to the second problem  I do not know what application allows me to real-time monitor the CPU load of the RM when I am inside the VM. I tried many freeware applications, some pure binary (.exe + .dll) and others web-based using Windows' Active Desktop (http://Internal_IP_of_RM:port) on VM. This web-based applications to monitor CPU load are programmed using web programming languages (HTML, PHP, ASP, JavaScript); they install a HTTP (Web) server in the local machine (RM), and using a http-web-browser we can see it working, typing http://IP:port...
Thanks in advance!
Best regards.
Question by:asgarcymed
    LVL 2

    Expert Comment

    I think I am interpreting correctly that you want to work within the VMWare virtual machine, but be able to monitor CPU load, etc of the underlying physical host. The simplest way I can think of is to run the VM in windowed mode (i.e. not full screen) and to run Task Manager on the host. Task Manager will always try to be the topmost window, so you will have to either manipulate window sizes to make the VM window and the Task Manager window visible side-by-side or with a slight overlap. Or just minimise Task Manager if you just need a visual indication in the host's notification area. Will this do, or do you need something more sophisticated?

    Author Comment

    When I am inside a machine (RM or VM) I need to see it in full-screen mode. It is not productive to work on VM not in full-screen.
    LVL 2

    Accepted Solution

    Re your comment about productivity/full screen: I guess it depends on the size/resolution of your physical screen and whether you use Windows keyboard shortcuts when working within the VM...

    Anyway, how about a solution like Cacti/RRDTool? Both components are open source.

    ...or Remote Task Manager (£25-ish for a single licence):

    I have not been able to figure out a way of using VNC to get at the underling host machine without displaying what the host is doing (i.e. running VMWare!).

    Expert Comment

    With which Version of VMware Workstation are you working?

    VMware himself can display the screen in VNC-Protocol. Maybe its a confusion with
    the ports (Std. VNC Port 5900). Try to set a diffrent port in the VNC-Server on the host.

    Try performance monitor (PERFMON.EXE, a windows tool) to show the CPU-Load in VM.

    Author Comment

    askrabbit  your last comments were very, very important to me! Thank you a lot!

    >> (...) about productivity/full screen: I guess it depends on the size/resolution of your physical screen (...)

    *) I ask you  Is there any way to get a screen resolution (SR) higher than 800 x 600, but lower than 1027 x 768 (800x600 <SR<1027x768)? - To run VM not in full-screen mode, I feel that 800 x 600 is a too low resolution (screen's window is too little), but 1027 x 768 is a too high resolution (screen does not fit the window; screen exceeds the window, so it is necessary to make horizontal and vertical scroll, what is very unproductive). The only thing I found to get around this, is to see the VM's screen by a VNC Viewer (Client) rather than seeing the own VMware Workstation's window. Do you have new ideas?

    >> Cacti/RRDTool

    *) It is very complicated to install, configure and use  it is a tool not for beginners nor intermediate users; only for experts (I think)...

    >> Remote Task Manager
    *) This is a superb application!! It makes exactly what I need!!

    >> I have not been able to figure out a way of using VNC to get at the underling host machine without displaying what the host is doing (i.e. running VMWare!). 

    *) Damn, you are right! I had never thought the correct way until reading your comment... It is (looply/redundantly) impossible...
    Is it obligatory to have a second monitor? - Having two monitors, one for RM and other for VM, seems to be a perfect solution. But I think in the near future I will work with a VMware's Team, with 2 VM; so I would need to have 3 monitors, and so on...
    And one more question  if the host (RM) is a laptop=notebook, is it possible to attach a second monitor?
    LVL 2

    Assisted Solution

    To get windowed VM in non-standard window, try this:
    - launch VM in window (not full-screen)
    - from the VMWare View menu, uncheck Autofit Window
    - manually resize the VMWare window to what you want
    - from the VMWare View menu, select Fit Guest Now

    Regarding multiple monitors, it just depends on exactly what you need to view at the same time!

    Another possibility is to use a separate workstation and RDC onto the VM. That way it can be minimised on the host. (From the separate workstation, use "mstsc.exe /console" - that way you are connecting to the console session and not opening up a second, new session.)

    Regarding your last question, it depends on the laptop. Most laptops have a VGA socket so that an external monitor can be attached. Whether or not you can use the "internal" and external screen to display different things depends on the video driver.

    Author Comment

    Thank you!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now