* vnc-listen="0.0.0.0" not supported anymore?
@ 2016-04-22 19:01 Fabrice Delente
2016-04-25 9:23 ` George Dunlap
0 siblings, 1 reply; 8+ messages in thread
From: Fabrice Delente @ 2016-04-22 19:01 UTC (permalink / raw)
To: xen-devel
Hello,
This command allowed me to vnc into any virtual machine from anywhere
on my network.
This doesn't work anymore, I can only vnc into a VM if I am on the
server itself: being on the server, 'vncviewer 127.0.0.1:5905' works,
but being on another machine 'vncviewer xenserver:5905' gives me
'connection refused'.
How can I solve this issue, since xend-config.sxp is not used anymore? Thanks!
F. Delente
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-22 19:01 vnc-listen="0.0.0.0" not supported anymore? Fabrice Delente
@ 2016-04-25 9:23 ` George Dunlap
2016-04-25 9:52 ` Fabrice Delente
0 siblings, 1 reply; 8+ messages in thread
From: George Dunlap @ 2016-04-25 9:23 UTC (permalink / raw)
To: Fabrice Delente; +Cc: xen-devel
On Fri, Apr 22, 2016 at 8:01 PM, Fabrice Delente <delentef@gmail.com> wrote:
> Hello,
>
> This command allowed me to vnc into any virtual machine from anywhere
> on my network.
>
> This doesn't work anymore, I can only vnc into a VM if I am on the
> server itself: being on the server, 'vncviewer 127.0.0.1:5905' works,
> but being on another machine 'vncviewer xenserver:5905' gives me
> 'connection refused'.
>
> How can I solve this issue, since xend-config.sxp is not used anymore? Thanks!
Can you please attach your guest config file?
Could you also provide the output of `netstat -nl`?
Thanks.
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 9:23 ` George Dunlap
@ 2016-04-25 9:52 ` Fabrice Delente
2016-04-25 10:02 ` Wei Liu
0 siblings, 1 reply; 8+ messages in thread
From: Fabrice Delente @ 2016-04-25 9:52 UTC (permalink / raw)
Cc: xen-devel
I have made several tests, I could finally get the old behavior back,
but I had to put
vnc=1
vnclisten="0.0.0.0"
vncpasswd="xxxxx"
in each of my config files, instead of
vfb = [ 'type=vnc,vnc=1,vnclisten=0.0.0.0,vncpasswd=xxxxx' ]
so this vfb=[] must not be supported anymore?
netstat -nl showed clearly that the vnc ports opened by xen where
127.0.0.1 with the vfb=[...] stanza, and they show as 0.0.0.0 with the
separate vnc... lines.
Sorry for the noise, and thanks for xen which I find is an awesome
piece of software!
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 9:52 ` Fabrice Delente
@ 2016-04-25 10:02 ` Wei Liu
2016-04-25 10:03 ` Fabrice Delente
0 siblings, 1 reply; 8+ messages in thread
From: Wei Liu @ 2016-04-25 10:02 UTC (permalink / raw)
To: Fabrice Delente; +Cc: xen-devel, Wei Liu
On Mon, Apr 25, 2016 at 11:52:29AM +0200, Fabrice Delente wrote:
> I have made several tests, I could finally get the old behavior back,
> but I had to put
>
> vnc=1
> vnclisten="0.0.0.0"
> vncpasswd="xxxxx"
>
> in each of my config files, instead of
>
> vfb = [ 'type=vnc,vnc=1,vnclisten=0.0.0.0,vncpasswd=xxxxx' ]
>
> so this vfb=[] must not be supported anymore?
>
> netstat -nl showed clearly that the vnc ports opened by xen where
> 127.0.0.1 with the vfb=[...] stanza, and they show as 0.0.0.0 with the
> separate vnc... lines.
>
Is this a pv or hvm guest? Mind pasting in the whole guest config?
I remember I wrote patch to deal with problem in this area long time
ago. Maybe there is something I missed.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 10:02 ` Wei Liu
@ 2016-04-25 10:03 ` Fabrice Delente
2016-04-25 10:35 ` Wei Liu
0 siblings, 1 reply; 8+ messages in thread
From: Fabrice Delente @ 2016-04-25 10:03 UTC (permalink / raw)
Cc: xen-devel
Here is the config file for one of machines:
builder = 'hvm'
memory = 2048
videoram = 8
vcpus = 1
name = "antivirus"
vif = [ 'bridge=xen-bridge' ]
disk = [ 'phy:/dev/vg0/antivirus,hda,w' ]# ,
'file:/root/windows7pro64bits.iso,hdc:cdrom,r' ]
acpi = 1
#device_model = 'qemu-dm'
boot = "c" # d"
sdl = 0
vnc = 1
serial = 'pty'
vfb = [ 'type=vnc,vnc=1,vnclisten=0.0.0.0,vncpasswd=xxxxx' ]
usbdevice = 'tablet'
keymap = "fr"
vnc=1
vnclisten='0.0.0.0'
vncpasswd='xxxxx'
Best regards,
F. Delente
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 10:03 ` Fabrice Delente
@ 2016-04-25 10:35 ` Wei Liu
2016-04-25 10:43 ` Fabrice Delente
2016-04-25 10:58 ` George Dunlap
0 siblings, 2 replies; 8+ messages in thread
From: Wei Liu @ 2016-04-25 10:35 UTC (permalink / raw)
To: Fabrice Delente; +Cc: xen-devel, Wei Liu
On Mon, Apr 25, 2016 at 12:03:00PM +0200, Fabrice Delente wrote:
> Here is the config file for one of machines:
>
> builder = 'hvm'
Oh right, so this is HVM guest.
A snippet from the manpage of xl.cfg for vfb=[] options:
This option does not control the emulated graphics card presented to an HVM guest. See
"Emulated VGA Graphics Device" below for how to configure the emulated device. If "Emulated
VGA Graphics Device" options are used in a PV guest configuration, xl will pick up vnc,
vnclisten, vncpasswd, vncdisplay, vncunused, sdl, opengl and keymap to construct
paravirtual framebuffer device for the guest.
So I think xl ignoring vfb= for hvm guest is the expected behaviour.
P.S. Please use reply-all button in gmail in the future.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 10:35 ` Wei Liu
@ 2016-04-25 10:43 ` Fabrice Delente
2016-04-25 10:58 ` George Dunlap
1 sibling, 0 replies; 8+ messages in thread
From: Fabrice Delente @ 2016-04-25 10:43 UTC (permalink / raw)
To: Wei Liu; +Cc: xen-devel
OK, thanks for everything, I had overlooked that part.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: vnc-listen="0.0.0.0" not supported anymore?
2016-04-25 10:35 ` Wei Liu
2016-04-25 10:43 ` Fabrice Delente
@ 2016-04-25 10:58 ` George Dunlap
1 sibling, 0 replies; 8+ messages in thread
From: George Dunlap @ 2016-04-25 10:58 UTC (permalink / raw)
To: Wei Liu; +Cc: xen-devel, Fabrice Delente
On Mon, Apr 25, 2016 at 11:35 AM, Wei Liu <wei.liu2@citrix.com> wrote:
> On Mon, Apr 25, 2016 at 12:03:00PM +0200, Fabrice Delente wrote:
>> Here is the config file for one of machines:
>>
>> builder = 'hvm'
>
> Oh right, so this is HVM guest.
>
> A snippet from the manpage of xl.cfg for vfb=[] options:
>
> This option does not control the emulated graphics card presented to an HVM guest. See
> "Emulated VGA Graphics Device" below for how to configure the emulated device. If "Emulated
> VGA Graphics Device" options are used in a PV guest configuration, xl will pick up vnc,
> vnclisten, vncpasswd, vncdisplay, vncunused, sdl, opengl and keymap to construct
> paravirtual framebuffer device for the guest.
>
> So I think xl ignoring vfb= for hvm guest is the expected behaviour.
/me wonders if it would make sense to have xl warn about ignored
settings (particularly settings which are valid in another mode).
-George
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-04-25 10:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 19:01 vnc-listen="0.0.0.0" not supported anymore? Fabrice Delente
2016-04-25 9:23 ` George Dunlap
2016-04-25 9:52 ` Fabrice Delente
2016-04-25 10:02 ` Wei Liu
2016-04-25 10:03 ` Fabrice Delente
2016-04-25 10:35 ` Wei Liu
2016-04-25 10:43 ` Fabrice Delente
2016-04-25 10:58 ` George Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.