[Users] stuck trying to get to VM via VNC
gregrwm
openvz at greatlakedata.com
Tue Aug 20 05:31:53 MSK 2019
simply said, when i simply create and start a VM and connect to it,
vncviewer gets nothing and says "End of stream". perhaps i am missing
something really basic?
possibly related are numerous lines in /var/log/messages saying:
>kernel: pl2303 2-8:1.1: pl2303_vendor_write - failed to write [0000]: -32
pretty sure the port is right, if the port is wrong vncviewer says
"Connection refused" instead.
connect to host, create and start VM:
> $mybox$ ssh -L5938:192.168.1.188:5918 -L5931:127.0.0.1:5916 ovz7box
> #ovz7box# prlctl create gwi -owin --uuid
10000000-0000-0000-0000-000000000186 --no-hdd
>Creating the virtual machine...
>Generate the VM configuration for win.
>Remove the hdd0 device.
>The VM has been successfully created.
> #ovz7box# prlctl set gwi --vnc-mode manual --vnc-port 5916
--vnc-passwd -
>Please, enter VNC console password:
>Configure VNC: Remote display: mode=manual port=5916
>The VM has been successfully configured.
> #ovz7box# prlctl start gwi
>Starting the VM...
>The VM has been successfully started.
the container at 192.168.1.188:5918 is already running, no trouble
connecting thru the tunnel on port 5938:
> $mybox$ vl :38
>VNC Viewer Free Edition 4.1.1 for X - built Feb 25 2015 22:57:51
>Copyright (C) 2002-2005 RealVNC Ltd.
>See http://www.realvnc.com for information on VNC.
>Mon Aug 19 11:34:39 2019
> CConn: connected to host localhost port 5938
> CConnection: Server supports RFB protocol version 3.8
> CConnection: Using RFB protocol version 3.8
>Mon Aug 19 11:34:47 2019
> TXImage: Using default colormap and visual, TrueColor, depth 24.
> CConn: Using pixel format depth 24 (32bpp) little-endian rgb888
> CConn: Using ZRLE encoding
connecting to the VM succeeds but gets nothing and quickly ends:
> $mybox$ vl :31
>VNC Viewer Free Edition 4.1.1 for X - built Feb 25 2015 22:57:51
>Copyright (C) 2002-2005 RealVNC Ltd.
>See http://www.realvnc.com for information on VNC.
>Mon Aug 19 16:30:46 2019
> CConn: connected to host localhost port 5931
> main: End of stream
what i am missing?
mybox:
vnc4viewer 4.1.1+xorg4.3.0-37.3ubuntu2
ovz7box:
vzkernel 3.10.0-957.12.2.vz7.86.2
prlctl-7.0.173.2-1.vz7.x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190819/96c88cc5/attachment-0001.html>
More information about the Users
mailing list