Question

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

Was it helpful?

Solution

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!

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top