Results 1 to 4 of 4
Hi folks,
Ubuntu 8.04 desktop amd64
KVM
On host terminal I can create guest .img and start it.
Create guest .img
Code:
# qemu-img create -f qcow2 guest.img 10G
# ...
- 08-10-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Virtualization - KVM - how to view guest on host
Hi folks,
Ubuntu 8.04 desktop amd64
KVM
On host terminal I can create guest .img and start it.
Create guest .imgCode:# qemu-img create -f qcow2 guest.img 10G # kvm -hda guest.img -cdrom /dev/scd0 -m 512 -vnc :0
Start guest.imgCode:# kvm guest.img -vnc :0
But I can't view/operate guest on host. I must run vncviewer on remote machine terminal;
$ vncview 192.168.0.110:0
to view and operate the guest. 192.168.0.110 is host local IP address.
Please advise how to view and operate guest on host. TIA
B.R.
satimis
- 08-10-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Have you tried using localhost or 127.0.0.1 instead of the lan address?
- 08-10-2008 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Hi,
Thanks for your advice.
$ vncviewer localhostCode:[: 6: ==: unexpected operator localhost 5900 /usr/bin/vncviewer: 28: java: not found
$ vncviewer 127.0.0.1Code:[: 6: ==: unexpected operator 127.0.0.1 5900 /usr/bin/vncviewer: 28: java: not found
Also tried as root with the same result.
$ cat /etc/hostsCode:127.0.0.1 localhost.localdomain localhost 127.0.1.1 ubuntu804-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
satimis
- 08-10-2008 #4Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
Solved
Hi bigtomrodney and folks,
Problem solved.
I need "xtightvncviewer" additional to;After installing it. Then "vncviewer 127.0.0.1" works. Thanks.Code:tightvncserver tightvnc-java
Any suggestion on configuring size of the viewer window. TIA
B.R.
satimis


Reply With Quote

