Hi Alberto,
Thanks for your detail advice. --- Alberto TreviƱo <[EMAIL PROTECTED]> wrote: > On Monday 28 July 2008 10:06:32 am you wrote: > > I ran above command direct on the server as root (not remotely on > > desktop) > > > > It just hangs there on Xterm. > > As it should. :-) At that point, the VM is running. It is a process > on the > system. When the VM is powered off, the process will end and your > XTerm > will return to a bash prompt. If you want your KVM to run in the > background, run with the -daemonize option: > > kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0 > -daemonize > > > I expect clarifying following points; > > > 1) I don't run X on the server. There are no X packages installed. > > 2) The CD on the CD-Drive is Ubuntu6.06 installer, NOT its iso > image > > Check. > > > Can I use the above command? TIA > > Yep. However, I think at you this point you are not sure what's > going on or > how to proceed. > > When you run the above command on the server, KVM is going to start > the > Virtual Machine. It will assign the first hard drive to the > ubuntu6.06.img > file (which should have already been created using qemu-img), attach > the CD > drive to the Virtual Machine, assign it 512 MB of memory, and attach > the > virtual video output (what the monitor on a normal computer would > display), > keyboard and mouse to a VNC server. At that point, the VM will > perform a > BIOS POST and attempt to boot from the CD drive. > > At this stage, you need to connect to the virtual keyboard, mouse and > > monitor via VNC from your desktop (not the server). To do that, you > use a > VNC viewer to connect to your server (that means your server firewall > needs > to accept connections to port 5900). Once you connect, your VNC > session > will display the video output of the VM. > > As a side note, I would recommend you don't use the -daemonize option > until > you are ready to leave the VM running. If your need to "reset" the > virtual > machine, you can use Ctrl-C to kill it and rerun the last command to > restart > it. Be aware that using Ctrl-C is the equivalent of pulling the > power cord > on a regular machine, so use with care. My problem here I don't have vnc-viewer running on the local desktop. Nor I know which package I need. Can I install vnc-client on the server. Let the local desktop to start it remotely and forward it to the desktop as vncviewer. The desktop can ssh-connect the server w/o problem. If YES please advise how to do it. TIA B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
