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

[root@kvm-server ~]# 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


[root@kvm-server ~]# 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

Reply via email to