[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2007-08-10
Medium Priority
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
  • 3
  • 3

Expert Comment

ID: 19684379
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

ID: 19691821
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.

Accepted Solution

askrabbit earned 2000 total points
ID: 19692733
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!).
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.


Expert Comment

ID: 19694498
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

ID: 19703904
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?

Assisted Solution

askrabbit earned 2000 total points
ID: 19707840
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

ID: 19708605
Thank you!

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses

872 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