Re: [Users] test day help -- console

2014-02-13 Thread Michal Skrivanek

On Feb 12, 2014, at 18:20 , Greg Sheremeta gsher...@redhat.com wrote:

 
 
 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: Greg Sheremeta gsher...@redhat.com, users users@ovirt.org
 Sent: Wednesday, February 12, 2014 12:16:42 PM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 12 Feb 2014, at 10:09, Yedidyah Bar David d...@redhat.com wrote:
 
 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 10:43:18 AM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
 
 I'm having a tough time getting a VM console working via VNC. I set a VM
 to
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot
 find guest domain /var/tmp/console.vv
 
 Old virt-viewer. Where did you get it from?
 
 It's built into current debian, I use it too. Does it support vv files?
 Didn't know that. The same package also has 'remote-viewer', which works
 for me with:
 remote-viewer vnc://host:port
 
 Yep. For some reason only remote-viewer works. No idea why
 
 
 
 2. Using a VNC client to connect to the host with the password in the .vv
 file just immediately disconnects it -- no error message.
 
 For vv files I use the following script:
 
 =
 #!/bin/sh
 
 LOG=$HOME/vv1.log
 echo = $(date)  $LOG
 echo params $@  $LOG
 
 vvfile=$1
 host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' $vvfile)
 port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' $vvfile)
 echo $host  $LOG
 echo $port  $LOG
 sed -n 's/^password=\(.*\)/\1/p' $vvfile | vncviewer -autopass
 ${host}::${port} 
 
 sleep 2
 /bin/rm -f $vvfile
 =
 
 Verified now that it works (I seldom use it because the default is spice
 which works for me).
 
 Remote-viewer should work the same for VNC. For cclient of choice yes, your
 script is the one to use
 
 
 
 Did you make it in 120s?
 
 That was the main reason for this script :-)
 
 Certificates?
 
 Didn't bother with that.
 
 Alon would be happy to hear that I'm sure:-D
 I agree, in reality noone bothers.
 
 
 It's a pretty invasive thing, IMHO. If I see that I need to install a browser 
 certificate for something, first thing I'm going to do is look for the 
 alternative. :/ It's worse than digging out my 2 factor auth token!!

I agree
alternative is to use the native client or plugin:)
you have 3 choices, unfortunately each needs some action/installation.
But hopefully one out of three should work for everyone

Thanks,
michal

 
 
 
 3. noVNC just gives me an empty popup with a gray background.
 
 You didn't import the engine's CA, did you?
 
 
 Any ideas?
 
 The Console Downloads page has all the info to get it work, did you check
 it
 out? (linked from main landing page, display options, user portal...so you
 shouldn't moss it;)
 
 You refer to 'Console Client Resources', which links to [1]?
 I had to do some manual work to get spice-xpi working on Debian as it's not
 packaged for it (and iirc neither are some of the dependencies).
 
 Yes. If you have some handy tips for Debian please feel free to update the
 page
 
 
 [1] http://www.ovirt.org/Console_Client_Resources
 --
 Didi
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-13 Thread Jiri Belka
On Wed, 12 Feb 2014 12:10:47 -0500 (EST)
Greg Sheremeta gsher...@redhat.com wrote:

 
 
 - Original Message -
  From: Jiri Belka jbe...@redhat.com
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users users@ovirt.org
  Sent: Wednesday, February 12, 2014 4:17:29 AM
  Subject: Re: [Users] test day help -- console
  
  On Tue, 11 Feb 2014 17:57:52 -0500 (EST)
  Greg Sheremeta gsher...@redhat.com wrote:
  
   I'm having a tough time getting a VM console working via VNC. I set a VM 
   to
   use VNC, and I installed virt-viewer.
   
   1. When I try to open a .vv file with virt-viewer, I get an error Cannot
   find guest domain /var/tmp/console.vv
   2. Using a VNC client to connect to the host with the password in the .vv
   file just immediately disconnects it -- no error message.
   3. noVNC just gives me an empty popup with a gray background.
  
  virt-viewer works ok even on my OpenBSD machine at home.
  
  First check version, if old, compile/upgrade yourself. Updating to
  latest spice-gtk, gtk-vnc, virt-viewer recently solved virt-viewer
  core dumps when I had RHEL with GNOME and qxl driver.
  
  j.
  
 
 What version do you have?
 
 Greg

Latest today or some days ago (checking project's website) is 0.6.0.

j.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Frantisek Kobzik
Hi Greg,
ad 1,2: what virt-viewer version are you using? old clients don't have support 
for connecting with .vv file.
ad 3: have you websocket proxy up and running on your engine? in case you 
configured websocket proxy in engine-setup, have you imported engine's CA in 
your browser?

Also - did SPICE web browser plugin invocation work for you?

Cheers,
Frank.


- Original Message -
From: Greg Sheremeta gsher...@redhat.com
To: users users@ovirt.org
Sent: Tuesday, February 11, 2014 11:57:52 PM
Subject: [Users] test day help -- console

I'm having a tough time getting a VM console working via VNC. I set a VM to use 
VNC, and I installed virt-viewer.

1. When I try to open a .vv file with virt-viewer, I get an error Cannot find 
guest domain /var/tmp/console.vv
2. Using a VNC client to connect to the host with the password in the .vv file 
just immediately disconnects it -- no error message.
3. noVNC just gives me an empty popup with a gray background.

Any ideas?

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Jiri Belka
On Tue, 11 Feb 2014 17:57:52 -0500 (EST)
Greg Sheremeta gsher...@redhat.com wrote:

 I'm having a tough time getting a VM console working via VNC. I set a VM to 
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot 
 find guest domain /var/tmp/console.vv
 2. Using a VNC client to connect to the host with the password in the .vv 
 file just immediately disconnects it -- no error message.
 3. noVNC just gives me an empty popup with a gray background.

virt-viewer works ok even on my OpenBSD machine at home.

First check version, if old, compile/upgrade yourself. Updating to
latest spice-gtk, gtk-vnc, virt-viewer recently solved virt-viewer
core dumps when I had RHEL with GNOME and qxl driver.

j.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 3:43:18 AM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
 
  I'm having a tough time getting a VM console working via VNC. I set a VM to
  use VNC, and I installed virt-viewer.
  
  1. When I try to open a .vv file with virt-viewer, I get an error Cannot
  find guest domain /var/tmp/console.vv
 
 Old virt-viewer. Where did you get it from?
 

It came with F20. I'm on F20 and don't think many other people are. Is it a 
regression?

greg@dauntless:~$ yum list installed virt-viewer
Loaded plugins: langpacks, refresh-packagekit
google-chrome   
3/3
google-talkplugin   
1/1
Installed Packages
virt-viewer.x86_64  0.5.7-2.fc20
   installed

greg@dauntless:~$ sudo yum install virt-viewer
Loaded plugins: langpacks, refresh-packagekit
Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version
Nothing to do

I don't see RPMs anywhere for 0.6, and compiling it didn't work for me. 
(configure: error: At least one of spice or vnc must be used)


  2. Using a VNC client to connect to the host with the password in the .vv
  file just immediately disconnects it -- no error message.
 
 Did you make it in 120s? 

Sorry, what?

 Certificates?

Did not touch any certs. But, see my reply to #1.

 
  3. noVNC just gives me an empty popup with a gray background.
 
 You didn't import the engine's CA, did you?
 

You got me, but it should certainly give some error message, no?

  
  Any ideas?
 
 The Console Downloads page has all the info to get it work, did you check it
 out? (linked from main landing page, display options, user portal...so you
 shouldn't moss it;)
 
 Thanks,
 michal
  
  Greg Sheremeta
  Red Hat, Inc.
  Sr. Software Engineer, RHEV
  Cell: 919-807-1086
  gsher...@redhat.com
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Jiri Belka jbe...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 4:17:29 AM
 Subject: Re: [Users] test day help -- console
 
 On Tue, 11 Feb 2014 17:57:52 -0500 (EST)
 Greg Sheremeta gsher...@redhat.com wrote:
 
  I'm having a tough time getting a VM console working via VNC. I set a VM to
  use VNC, and I installed virt-viewer.
  
  1. When I try to open a .vv file with virt-viewer, I get an error Cannot
  find guest domain /var/tmp/console.vv
  2. Using a VNC client to connect to the host with the password in the .vv
  file just immediately disconnects it -- no error message.
  3. noVNC just gives me an empty popup with a gray background.
 
 virt-viewer works ok even on my OpenBSD machine at home.
 
 First check version, if old, compile/upgrade yourself. Updating to
 latest spice-gtk, gtk-vnc, virt-viewer recently solved virt-viewer
 core dumps when I had RHEL with GNOME and qxl driver.
 
 j.
 

What version do you have?

Greg
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote:

 
 
 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 3:43:18 AM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
 
 I'm having a tough time getting a VM console working via VNC. I set a VM to
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot
 find guest domain /var/tmp/console.vv
 
 Old virt-viewer. Where did you get it from?
 
 
 It came with F20. I'm on F20 and don't think many other people are. Is it a 
 regression?
 
 greg@dauntless:~$ yum list installed virt-viewer
 Loaded plugins: langpacks, refresh-packagekit
 google-chrome 
   3/3
 google-talkplugin 
   1/1
 Installed Packages
 virt-viewer.x86_64  0.5.7-2.fc20  
  installed
 
 greg@dauntless:~$ sudo yum install virt-viewer
 Loaded plugins: langpacks, refresh-packagekit
 Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version
 Nothing to do
 
 I don't see RPMs anywhere for 0.6, and compiling it didn't work for me. 
 (configure: error: At least one of spice or vnc must be used)
 

Strange. I think it's in 0.5.6. 
Oh, remote-viewer, did you try that one?

 
 2. Using a VNC client to connect to the host with the password in the .vv
 file just immediately disconnects it -- no error message.
 
 Did you make it in 120s? 
 
 Sorry, what?

The security ticket is valid for 120s only

 
 Certificates?
 
 Did not touch any certs. But, see my reply to #1.
 
 
 3. noVNC just gives me an empty popup with a gray background.
 
 You didn't import the engine's CA, did you?
 
 
 You got me, but it should certainly give some error message, no?

Not when you don't trust the cert authority. Unfortunately. That's why we added 
the page to such a prominent place:)

Thanks,
michal
 
 
 Any ideas?
 
 The Console Downloads page has all the info to get it work, did you check it
 out? (linked from main landing page, display options, user portal...so you
 shouldn't moss it;)
 
 Thanks,
 michal
 
 Greg Sheremeta
 Red Hat, Inc.
 Sr. Software Engineer, RHEV
 Cell: 919-807-1086
 gsher...@redhat.com
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Frantisek Kobzik fkob...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 3:31:56 AM
 Subject: Re: [Users] test day help -- console
 
 Hi Greg,
 ad 1,2: what virt-viewer version are you using? old clients don't have
 support for connecting with .vv file.

See my reply to Michal, but ...

greg@dauntless:~$ sudo yum install virt-viewer
Loaded plugins: langpacks, refresh-packagekit
Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest version
Nothing to do


 ad 3: have you websocket proxy up and running on your engine? in case you
 configured websocket proxy in engine-setup, 

I did

 have you imported engine's CA in
 your browser?

I have not -- but I see no error telling me to. There should be an error.

 
 Also - did SPICE web browser plugin invocation work for you?
 

It worked from the engine machine, but not from a remote third machine. It says 
Unable to connect to the graphic server (null)

Thanks,
Greg

 Cheers,
 Frank.
 
 
 - Original Message -
 From: Greg Sheremeta gsher...@redhat.com
 To: users users@ovirt.org
 Sent: Tuesday, February 11, 2014 11:57:52 PM
 Subject: [Users] test day help -- console
 
 I'm having a tough time getting a VM console working via VNC. I set a VM to
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot
 find guest domain /var/tmp/console.vv
 2. Using a VNC client to connect to the host with the password in the .vv
 file just immediately disconnects it -- no error message.
 3. noVNC just gives me an empty popup with a gray background.
 
 Any ideas?
 
 Greg Sheremeta
 Red Hat, Inc.
 Sr. Software Engineer, RHEV
 Cell: 919-807-1086
 gsher...@redhat.com
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 12:12:27 PM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote:
 
  
  
  - Original Message -
  From: Michal Skrivanek mskri...@redhat.com
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users users@ovirt.org
  Sent: Wednesday, February 12, 2014 3:43:18 AM
  Subject: Re: [Users] test day help -- console
  
  
  
  On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
  
  I'm having a tough time getting a VM console working via VNC. I set a VM
  to
  use VNC, and I installed virt-viewer.
  
  1. When I try to open a .vv file with virt-viewer, I get an error Cannot
  find guest domain /var/tmp/console.vv
  
  Old virt-viewer. Where did you get it from?
  
  
  It came with F20. I'm on F20 and don't think many other people are. Is it a
  regression?
  
  greg@dauntless:~$ yum list installed virt-viewer
  Loaded plugins: langpacks, refresh-packagekit
  google-chrome
  3/3
  google-talkplugin
  1/1
  Installed Packages
  virt-viewer.x86_64
  0.5.7-2.fc20
  installed
  
  greg@dauntless:~$ sudo yum install virt-viewer
  Loaded plugins: langpacks, refresh-packagekit
  Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest
  version
  Nothing to do
  
  I don't see RPMs anywhere for 0.6, and compiling it didn't work for me.
  (configure: error: At least one of spice or vnc must be used)
  
 
 Strange. I think it's in 0.5.6.
 Oh, remote-viewer, did you try that one?
 

Yeah, same results.

Let me try connecting from a different Fedora 20 machine, maybe mine's broken.

  
  2. Using a VNC client to connect to the host with the password in the .vv
  file just immediately disconnects it -- no error message.
  
  Did you make it in 120s?
  
  Sorry, what?
 
 The security ticket is valid for 120s only

Yes, I beat that.

 
  
  Certificates?
  
  Did not touch any certs. But, see my reply to #1.
  
  
  3. noVNC just gives me an empty popup with a gray background.
  
  You didn't import the engine's CA, did you?
  
  
  You got me, but it should certainly give some error message, no?
 
 Not when you don't trust the cert authority. Unfortunately. That's why we
 added the page to such a prominent place:)

Not even Authentication failure ?

 
 Thanks,
 michal
  
  
  Any ideas?
  
  The Console Downloads page has all the info to get it work, did you check
  it
  out? (linked from main landing page, display options, user portal...so you
  shouldn't moss it;)
  
  Thanks,
  michal
  
  Greg Sheremeta
  Red Hat, Inc.
  Sr. Software Engineer, RHEV
  Cell: 919-807-1086
  gsher...@redhat.com
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 10:09, Yedidyah Bar David d...@redhat.com wrote:

 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 10:43:18 AM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
 
 I'm having a tough time getting a VM console working via VNC. I set a VM to
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot
 find guest domain /var/tmp/console.vv
 
 Old virt-viewer. Where did you get it from?
 
 It's built into current debian, I use it too. Does it support vv files?
 Didn't know that. The same package also has 'remote-viewer', which works
 for me with:
 remote-viewer vnc://host:port

Yep. For some reason only remote-viewer works. No idea why

 
 
 2. Using a VNC client to connect to the host with the password in the .vv
 file just immediately disconnects it -- no error message.
 
 For vv files I use the following script:
 
 =
 #!/bin/sh
 
 LOG=$HOME/vv1.log
 echo = $(date)  $LOG
 echo params $@  $LOG
 
 vvfile=$1
 host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' $vvfile)
 port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' $vvfile)
 echo $host  $LOG
 echo $port  $LOG
 sed -n 's/^password=\(.*\)/\1/p' $vvfile | vncviewer -autopass 
 ${host}::${port} 
 
 sleep 2
 /bin/rm -f $vvfile
 =
 
 Verified now that it works (I seldom use it because the default is spice
 which works for me).

Remote-viewer should work the same for VNC. For cclient of choice yes, your 
script is the one to use

 
 
 Did you make it in 120s?
 
 That was the main reason for this script :-)
 
 Certificates?
 
 Didn't bother with that.

Alon would be happy to hear that I'm sure:-D
I agree, in reality noone bothers.

 
 
 3. noVNC just gives me an empty popup with a gray background.
 
 You didn't import the engine's CA, did you?
 
 
 Any ideas?
 
 The Console Downloads page has all the info to get it work, did you check it
 out? (linked from main landing page, display options, user portal...so you
 shouldn't moss it;)
 
 You refer to 'Console Client Resources', which links to [1]?
 I had to do some manual work to get spice-xpi working on Debian as it's not
 packaged for it (and iirc neither are some of the dependencies).

Yes. If you have some handy tips for Debian please feel free to update the page

 
 [1] http://www.ovirt.org/Console_Client_Resources
 -- 
 Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Michal Skrivanek


On 12 Feb 2014, at 18:15, Greg Sheremeta gsher...@redhat.com wrote:

 
 
 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 12:12:27 PM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote:
 
 
 
 - Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Greg Sheremeta gsher...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 3:43:18 AM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
 
 I'm having a tough time getting a VM console working via VNC. I set a VM
 to
 use VNC, and I installed virt-viewer.
 
 1. When I try to open a .vv file with virt-viewer, I get an error Cannot
 find guest domain /var/tmp/console.vv
 
 Old virt-viewer. Where did you get it from?
 
 It came with F20. I'm on F20 and don't think many other people are. Is it a
 regression?
 
 greg@dauntless:~$ yum list installed virt-viewer
 Loaded plugins: langpacks, refresh-packagekit
 google-chrome
 3/3
 google-talkplugin
 1/1
 Installed Packages
 virt-viewer.x86_64
 0.5.7-2.fc20
 installed
 
 greg@dauntless:~$ sudo yum install virt-viewer
 Loaded plugins: langpacks, refresh-packagekit
 Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest
 version
 Nothing to do
 
 I don't see RPMs anywhere for 0.6, and compiling it didn't work for me.
 (configure: error: At least one of spice or vnc must be used)
 
 Strange. I think it's in 0.5.6.
 Oh, remote-viewer, did you try that one?
 
 Yeah, same results.
 
 Let me try connecting from a different Fedora 20 machine, maybe mine's broken.
 
 
 2. Using a VNC client to connect to the host with the password in the .vv
 file just immediately disconnects it -- no error message.
 
 Did you make it in 120s?
 
 Sorry, what?
 
 The security ticket is valid for 120s only
 
 Yes, I beat that.
 
 
 
 Certificates?
 
 Did not touch any certs. But, see my reply to #1.
 
 
 3. noVNC just gives me an empty popup with a gray background.
 
 You didn't import the engine's CA, did you?
 
 You got me, but it should certainly give some error message, no?
 
 Not when you don't trust the cert authority. Unfortunately. That's why we
 added the page to such a prominent place:)
 
 Not even Authentication failure ?

Nope, nothing. For 3.5 we're looking into enabling the debug console so you 
have something to look at...:)

 
 
 Thanks,
 michal
 
 
 Any ideas?
 
 The Console Downloads page has all the info to get it work, did you check
 it
 out? (linked from main landing page, display options, user portal...so you
 shouldn't moss it;)
 
 Thanks,
 michal
 
 Greg Sheremeta
 Red Hat, Inc.
 Sr. Software Engineer, RHEV
 Cell: 919-807-1086
 gsher...@redhat.com
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: Greg Sheremeta gsher...@redhat.com, users users@ovirt.org
 Sent: Wednesday, February 12, 2014 12:16:42 PM
 Subject: Re: [Users] test day help -- console
 
 
 
 On 12 Feb 2014, at 10:09, Yedidyah Bar David d...@redhat.com wrote:
 
  - Original Message -
  From: Michal Skrivanek mskri...@redhat.com
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users users@ovirt.org
  Sent: Wednesday, February 12, 2014 10:43:18 AM
  Subject: Re: [Users] test day help -- console
  
  
  
  On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
  
  I'm having a tough time getting a VM console working via VNC. I set a VM
  to
  use VNC, and I installed virt-viewer.
  
  1. When I try to open a .vv file with virt-viewer, I get an error Cannot
  find guest domain /var/tmp/console.vv
  
  Old virt-viewer. Where did you get it from?
  
  It's built into current debian, I use it too. Does it support vv files?
  Didn't know that. The same package also has 'remote-viewer', which works
  for me with:
  remote-viewer vnc://host:port
 
 Yep. For some reason only remote-viewer works. No idea why
 
  
  
  2. Using a VNC client to connect to the host with the password in the .vv
  file just immediately disconnects it -- no error message.
  
  For vv files I use the following script:
  
  =
  #!/bin/sh
  
  LOG=$HOME/vv1.log
  echo = $(date)  $LOG
  echo params $@  $LOG
  
  vvfile=$1
  host=$(sed -n 's/^host=\([a-zA-Z0-9-]*\).*/\1/p' $vvfile)
  port=$(sed -n 's/^port=\([0-9]*\).*/\1/p' $vvfile)
  echo $host  $LOG
  echo $port  $LOG
  sed -n 's/^password=\(.*\)/\1/p' $vvfile | vncviewer -autopass
  ${host}::${port} 
  
  sleep 2
  /bin/rm -f $vvfile
  =
  
  Verified now that it works (I seldom use it because the default is spice
  which works for me).
 
 Remote-viewer should work the same for VNC. For cclient of choice yes, your
 script is the one to use
 
  
  
  Did you make it in 120s?
  
  That was the main reason for this script :-)
  
  Certificates?
  
  Didn't bother with that.
 
 Alon would be happy to hear that I'm sure:-D
 I agree, in reality noone bothers.
 

It's a pretty invasive thing, IMHO. If I see that I need to install a browser 
certificate for something, first thing I'm going to do is look for the 
alternative. :/ It's worse than digging out my 2 factor auth token!!

  
  
  3. noVNC just gives me an empty popup with a gray background.
  
  You didn't import the engine's CA, did you?
  
  
  Any ideas?
  
  The Console Downloads page has all the info to get it work, did you check
  it
  out? (linked from main landing page, display options, user portal...so you
  shouldn't moss it;)
  
  You refer to 'Console Client Resources', which links to [1]?
  I had to do some manual work to get spice-xpi working on Debian as it's not
  packaged for it (and iirc neither are some of the dependencies).
 
 Yes. If you have some handy tips for Debian please feel free to update the
 page
 
  
  [1] http://www.ovirt.org/Console_Client_Resources
  --
  Didi
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] test day help -- console

2014-02-12 Thread Greg Sheremeta


- Original Message -
 From: Greg Sheremeta gsher...@redhat.com
 To: Michal Skrivanek mskri...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, February 12, 2014 12:15:44 PM
 Subject: Re: [Users] test day help -- console
 
 
 
 - Original Message -
  From: Michal Skrivanek mskri...@redhat.com
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users users@ovirt.org
  Sent: Wednesday, February 12, 2014 12:12:27 PM
  Subject: Re: [Users] test day help -- console
  
  
  
  On 12 Feb 2014, at 18:08, Greg Sheremeta gsher...@redhat.com wrote:
  
   
   
   - Original Message -
   From: Michal Skrivanek mskri...@redhat.com
   To: Greg Sheremeta gsher...@redhat.com
   Cc: users users@ovirt.org
   Sent: Wednesday, February 12, 2014 3:43:18 AM
   Subject: Re: [Users] test day help -- console
   
   
   
   On 11 Feb 2014, at 23:57, Greg Sheremeta gsher...@redhat.com wrote:
   
   I'm having a tough time getting a VM console working via VNC. I set a
   VM
   to
   use VNC, and I installed virt-viewer.
   
   1. When I try to open a .vv file with virt-viewer, I get an error
   Cannot
   find guest domain /var/tmp/console.vv
   
   Old virt-viewer. Where did you get it from?
   
   
   It came with F20. I'm on F20 and don't think many other people are. Is it
   a
   regression?
   
   greg@dauntless:~$ yum list installed virt-viewer
   Loaded plugins: langpacks, refresh-packagekit
   google-chrome
   3/3
   google-talkplugin
   1/1
   Installed Packages
   virt-viewer.x86_64
   0.5.7-2.fc20
   installed
   
   greg@dauntless:~$ sudo yum install virt-viewer
   Loaded plugins: langpacks, refresh-packagekit
   Package virt-viewer-0.5.7-2.fc20.x86_64 already installed and latest
   version
   Nothing to do
   
   I don't see RPMs anywhere for 0.6, and compiling it didn't work for me.
   (configure: error: At least one of spice or vnc must be used)
   
  
  Strange. I think it's in 0.5.6.
  Oh, remote-viewer, did you try that one?
  
 
 Yeah, same results.
 
 Let me try connecting from a different Fedora 20 machine, maybe mine's
 broken.
 

Sure enough, connecting using remote-viewer on a fresh Fedora 20 vm works fine. 
Looks like my machine is messed up.

Sorry for the noise.

   
   2. Using a VNC client to connect to the host with the password in the
   .vv
   file just immediately disconnects it -- no error message.
   
   Did you make it in 120s?
   
   Sorry, what?
  
  The security ticket is valid for 120s only
 
 Yes, I beat that.
 
  
   
   Certificates?
   
   Did not touch any certs. But, see my reply to #1.
   
   
   3. noVNC just gives me an empty popup with a gray background.
   
   You didn't import the engine's CA, did you?
   
   
   You got me, but it should certainly give some error message, no?
  
  Not when you don't trust the cert authority. Unfortunately. That's why we
  added the page to such a prominent place:)
 
 Not even Authentication failure ?
 
  
  Thanks,
  michal
   
   
   Any ideas?
   
   The Console Downloads page has all the info to get it work, did you
   check
   it
   out? (linked from main landing page, display options, user portal...so
   you
   shouldn't moss it;)
   
   Thanks,
   michal
   
   Greg Sheremeta
   Red Hat, Inc.
   Sr. Software Engineer, RHEV
   Cell: 919-807-1086
   gsher...@redhat.com
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
   
  
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] test day help -- console

2014-02-11 Thread Greg Sheremeta
I'm having a tough time getting a VM console working via VNC. I set a VM to use 
VNC, and I installed virt-viewer.

1. When I try to open a .vv file with virt-viewer, I get an error Cannot find 
guest domain /var/tmp/console.vv
2. Using a VNC client to connect to the host with the password in the .vv file 
just immediately disconnects it -- no error message.
3. noVNC just gives me an empty popup with a gray background.

Any ideas?

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users