[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] KVM command to to launch console in VNC
From: |
Vincenzo Romano |
Subject: |
Re: [Qemu-discuss] KVM command to to launch console in VNC |
Date: |
Mon, 23 Jan 2017 10:18:13 +0100 |
I use something like this:
... -vnc 127.72.42.2:0
where 127.72.42.2 is the IP where the VNC server will be listening to.
The ":0" is to select the first local console.
--
Vincenzo Romano - NotOrAnd.IT
Information Technologies
--
NON QVIETIS MARIBVS NAVTA PERITVS
2017-01-23 10:10 GMT+01:00 akhilesh rawat <address@hidden>:
> hi,
>
> Could anybody suggest right command to open guest VM console in VNC.
> I tried like below
>
> qemu-kvm -name guest=compute-0 -machine
> pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu Haswell -m 81920 -smp 20
> -no-hpet -no-shutdown -boot n -drive
> file=compute0-disk0.qcow2,format=qcow2,if=none,id=drive-ide0-0-0 -net
> nic,model=virtio -net tap,ifname=vnet3,script=no,downscript=no -vnc
> 127.0.0.1:4
>
>
> But when i open my VNC ,i dont see any console though the process is shown
> running with VNC and also VN port being reserved .
>
> Before
>
> address@hidden ~]# sudo netstat -tunelp | grep LISTEN
> tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
> 1001 14788 2957/Xvnc
> tcp 0 0 127.0.0.1:5903 0.0.0.0:* LISTEN
> 0 32488 3857/qemu-kvm
> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
> 0 27910 1/systemd
> tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN
> 1001 18955 2957/Xvnc
> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> 0 32141 1675/sshd
> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
> 0 15630 1664/cupsd
> tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
> 0 9637 2530/master
> tcp6 0 0 :::5901 :::* LISTEN
> 1001 14789 2957/Xvnc
> tcp6 0 0 :::111 :::* LISTEN
> 0 27909 1/systemd
> tcp6 0 0 :::6001 :::* LISTEN
> 1001 18954 2957/Xvnc
> tcp6 0 0 :::22 :::* LISTEN
> 0 32143 1675/sshd
> tcp6 0 0 ::1:631 :::* LISTEN
> 0 15629 1664/cupsd
> tcp6 0 0 ::1:25 :::* LISTEN
> 0 9638 2530/master
>
>
> AFTER 127.0.0.1:5904
>
>
> address@hidden ~]# sudo netstat -tunelp | grep LISTEN
> tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
> 1001 14788 2957/Xvnc
> tcp 0 0 127.0.0.1:5903 0.0.0.0:* LISTEN
> 0 32488 3857/qemu-kvm
> tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
> 0 27910 1/systemd
> tcp 0 0 127.0.0.1:5904 0.0.0.0:* LISTEN
> 0 792577 10816/qemu-kvm
> tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN
> 1001 18955 2957/Xvnc
> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> 0 32141 1675/sshd
> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
> 0 15630 1664/cupsd
> tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
> 0 9637 2530/master
> tcp6 0 0 :::5901 :::* LISTEN
> 1001 14789 2957/Xvnc
> tcp6 0 0 :::111 :::* LISTEN
> 0 27909 1/systemd
> tcp6 0 0 :::6001 :::* LISTEN
> 1001 18954 2957/Xvnc
> tcp6 0 0 :::22 :::* LISTEN
> 0 32143 1675/sshd
> tcp6 0 0 ::1:631 :::* LISTEN
> 0 15629 1664/cupsd
> tcp6 0 0 ::1:25 :::* LISTEN
> 0 9638 2530/master
>
>
> Any suggestions.
>
> Br akhilesh
>