<div dir="ltr">There is no UI on the machine. There is no X. Hence I have to use vm-install to get going.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 11, 2015 at 2:12 AM, DJ-Pfulio <span dir="ltr"><<a href="mailto:DJPfulio@jdpfu.com" target="_blank">DJPfulio@jdpfu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't know anything about SLES ... or default firewall rules on it.<br>
<br>
Why not use virt-manager when you are just starting? It will help you create,<br>
start, stop, manage VMs with a GUI that can be accesses over an ssh tunnel from<br>
anywhere in the world.<br>
<br>
Run virt-manager from any Linux desktop to control any libvirt supported<br>
hypervisor local or remote and to get console access. Console access may be a<br>
GUI as well - the GUI session will be tunnelled thru ssh.<br>
<div><div class="h5"><br>
<br>
On 03/10/2015 08:54 PM, Narahari 'n' Savitha wrote:<br>
> Friends:<br>
><br>
> I installed KVM on SLES 11SP3. I then tried to create a VM with KVM. The host<br>
> ip is 25.16.214.41<br>
><br>
> vm-install --os-type "other" --name "ASB_CD_VM1" --vcpus 2 --memory 3072<br>
> --max-memory 3072 --disk<br>
> /var/lib/kvm/images/ASB_CD_VM1/hda,0,disk,w,21000,sparse=0 --disk<br>
> /tmp/SLES11SP2_.x86_64-0.0.3.install.iso,1,cdrom --nic<br>
> mac=52:54:00:05:11:11,model=virtio --graphics cirrus --config-dir<br>
> "/etc/libvirt/qemu"<br>
><br>
><br>
> It starts the VM creation but then I see this error.<br>
><br>
> Preparing to start the installation...<br>
><br>
><br>
> Installing...<br>
><br>
><br>
> Failed to display the VM's console because DISPLAY is not set. Please<br>
> connect a VNC viewer to localhost:5900.<br>
><br>
><br>
> It says that I should be able to connect to port number 5900 using vnc. I went<br>
> to my windows box and used vncviewer<br>
> vncviewer 25.16.214.41<br>
><br>
> However I get connection refused.<br>
><br>
> I did the following.<br>
><br>
> I see<br>
> virtual@chris-adp-sec:~> telnet localhost 5900<br>
> Trying 127.0.0.1...<br>
> Connected to localhost.<br>
> Escape character is '^]'.<br>
> RFB 003.008<br>
><br>
> but if I type<br>
> roselcdv0068958:~ nlakshmi$ telnet 25.16.214.41 5900<br>
> Trying 25.16.214.41...<br>
</div></div>> telnet: connect to address 25.16.214.41 <<a href="http://25.16.214.41" target="_blank">http://25.16.214.41</a>>: Connection refused<br>
<span class="im HOEnZb">> telnet: Unable to connect to remote host<br>
><br>
> So the VM install cannot be seen or interacted with, this is causing issues.<br>
><br>
> My host machine is also a SLES 11SP3 but does not have a display aka 'X' on it<br>
> so I have to use vm-install to install but I have to connect to the console<br>
> using VNC but port is not exposed to outside the machine.<br>
><br>
> Can you folks help and suggest any ideas ?<br>
><br>
> -N<br>
><br>
><br>
</span><span class="im HOEnZb">> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Got Linux? Used on smartphones, tablets, desktop computers, media centers, and<br>
servers by kids, Moms, Dads, grandparents and IT professionals.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br></div>