Run a VM from prompt , but with GUI

SBSP

Senior Member
Joined
Sep 7, 2007
Messages
667
Reaction score
16
Hi Anyone know VMware well enough to accomplish the following.

I have a Laptop HP8550w with 8GB and a 500GB HDD.
currently my company only allows me to install Windows XP32bit from a sysprep disk.
I can load other OSes using VMware for testing but things get terribly slow.


XP only makes use of 3GB Ram and and extra 1GB goes to the Nvidia Quadro Card.
XP is also encrypted with Sophos Safeguard, so duel booting becomes an issue.


So I want to be able to launch XP from a Linux prompt using Vmware
and if i wanted to launch Windows8 using vmware.

So all i want to be able to do is this.

Boot Laptop, which lands on a prompt, from there just launch an OS from vmware into X11
 
XP is also encrypted with Sophos Safeguard, so duel booting becomes an issue.

Not sure I understand what you want since you will need X, as you know, and to get X you will need to have a base install of Linux first. Running from a LiveCD and then launching a VM, I don't know if that will work all that well, may take a huge performance knock.

Maybe someone can offer a different solution, or are you only allowed to use VMWare? Why do you need another OS?
 
Actually I have 2 ESXi servers for production and test both has 48GB of RAM but then i dont have mobility.

Basically i want to boot to the prompt of a linux console then launch vmware from there , and yes i'm aware for the graphics part of it i will need X

But atleast X without gnome, KDE, is still pretty quick.
I dont need to run anything of a Live disk.

Instead of installing Windows XP on the laptop i do the Linux thing "which is not entirely allowed"


Anyway,

So then i install XP with the encryption in the VM, and Windows 8/7/2008 or what ever for testing.
 
Well, then I assume you know how to install and configure everything?

Install Linux base, xorg and vmware. Configure X and register the vmware module.

Now all you need is to find out the executable for the specific session you need. I do not use VMWare but tested this on VirtualBox and it works beautifully

Code:
#!/bin/bash                                                                                                                                                                                                            
/usr/lib/virtualbox/VirtualBox --comment "XP" --startvm "e29b95b5-f091-4477-aa40-e3f019b5d3f3"
Safe that as xp and chmod +x xp

Now from terminal:
Code:
xinit ./xp

That is it. Exititing the program will kill X. You can have multiple session running at once, just Alt+Fx between them.

You can launch only the program as well from X:
Code:
xinit VirtualBox

Hope this is what you are looking for.
 
Well, then I assume you know how to install and configure everything?

Install Linux base, xorg and vmware. Configure X and register the vmware module.

Now all you need is to find out the executable for the specific session you need. I do not use VMWare but tested this on VirtualBox and it works beautifully

Code:
#!/bin/bash                                                                                                                                                                                                            
/usr/lib/virtualbox/VirtualBox --comment "XP" --startvm "e29b95b5-f091-4477-aa40-e3f019b5d3f3"
Safe that as xp and chmod +x xp

Now from terminal:
Code:
xinit ./xp

That is it. Exititing the program will kill X. You can have multiple session running at once, just Alt+Fx between them.

You can launch only the program as well from X:
Code:
xinit VirtualBox

Hope this is what you are looking for.

exactly what i want thanks.
this is how i used to run quake3 back in the day.
I booted using a trimmed down version of SLAX then executed Quake3 using xinit. Bringing back some memories :)
 
Top
Sign up to the MyBroadband newsletter
X