qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] VNC port conflict


From: Mahmood Naderan
Subject: [Qemu-discuss] VNC port conflict
Date: Sun, 22 Jan 2017 16:21:37 +0330

Hi,
Recently, as I run the qemu command to bring up windows guest, it
aborts with a vnc error

$ qemu -m 3000 -cpu Opteron_G5 -hda qemu-vm/win2xpsp3_32_c.img -hdb
qemu-vm/win2xpsp3_32_d.img -boot c  -usbdevice tablet -enable-kvm
-device e1000,netdev=host_files -netdev
user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/mahmood,smbserver=10.0.2.4
-vnc :1
qemu: -vnc :1: Failed to start VNC server: Failed to bind socket:
Address already in use

It seems that another user is using his own guest with vnc :1

saremi   31191  5.4  4.7 3624016 3133112 pts/31 Sl+ 12:00  14:10 qemu
-m 3000 -cpu Opteron_G5 -hda qemu-vm/win2xpsp3_32_c.img -hdb
qemu-vm/win2xpsp3_32_d.img -boot c -usbdevice tablet -enable-kvm
-device e1000,netdev=host_files -netdev
user,net=10.0.2.0/24,id=host_files,restrict=off,smb=/home/saremi,smbserver=10.0.2.4
-vnc :1


The same error exists for :2 but :3 is free.
That mean, I have to ask all users which port they are using. Any idea?
-- 
Regards,
Mahmood



reply via email to

[Prev in Thread] Current Thread [Next in Thread]