
-----Original Message----- From: Ryan Harper [mailto:ryanh@us.ibm.com] Sent: Friday, December 02, 2011 23:15 PM To: Itamar Heim Cc: 'Adam Litke'; 'Phattanon Duangdara'; users@ovirt.org Subject: Re: [Users] How to connect VNC console ?
* Itamar Heim <iheim@redhat.com> [2011-12-02 14:25]:
From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Adam Litke ...
On Sat, Dec 03, 2011 at 01:10:55AM +0700, Phattanon Duangdara wrote:
I just finished setup oVirt on FC16 (same host run vdsmd)
I can start VM but cannot connect console using VNC. No information for connecting VNC available. Although I can figure out which port VNC running, I don't know password and it cannot be set or view from webadmin or userportal console.
VDSM has a SetVmTicket API that you can use to set a VNC password. If your host has the vdsClient program installed, try:
vdsClient 0.0.0.0 setVmTicket <vm UUID> abc123 60
This will set the password to 'abc123' for 60 seconds. That being said, I think the oVirt supported display mode is spice. You may have an easier time connecting via spice.
The user portal and webadmin don't support VNC currently. You can use the REST API of ovirt engine to set the ticket (vnc password) and connect.
Btw, is there a reason you prefer vnc to spice?
vnc client already installed? I'm positive I've got a vnc client for my current distro and pretty sure I don't have a spice client installed.
(ff3k) ~ % cat /etc/issue Ubuntu 11.04 \n \l
(ff3k) ~ % apt-cache search spice xserver-xorg-video-qxl - X.Org X server -- QXL display driver chiark-scripts - chiark system administration scripts gnucap - GNU Circuit Analysis package gspiceui - A graphical user interface for gnucap and ngspice gwave - a waveform viewer eg for spice simulators oregano - tool for schematical capture of electronic circuits easyspice - A graphical frontend to the Spice simulator ngspice - A Spice circuit simulator ngspice-doc - Documentation for the ngspice circuit simulator tclspice - NGspice library for Tcl tclspice-dev - NGspice library for Tcl
is one of those the spice client? (QXL looks like the xserver backend support).
Qxl is the geust driver (i.e., to get better spice support when connecting to the guest). cc-ing spice-devel mailing list to check if they have insight about the spice client and xpi status for Ubuntu.