I am new to Linux. I have installed qemu-kvm when I started it shows command

VNC server running on `::1:5901'

Can any one please tell me how can I can access vnc server I have real vnc server and viewer also

有帮助吗?

解决方案

When the shell prompts VNC server running on ::1:5901 you can then use

virt-viewer vnc://localhost:5901

to connect the guest or you can open the remote desktop viewer (a GUI tool) to connect it by vnc protocol and localhost:1. This works in my case, hope it will work for you too!

其他提示

If you want to access you machine over vnc first thing you need to do is configure vnc to listen on all interface. To do that enable/add vnc_listen = "0.0.0.0" in your /etc/libvirt/qemu.conf file and restart libvirtd. Now you can access you guest on yourkvmhostip:5901 through vnc.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top