[virt-tools-list] virt-viewer via ssh -X

Tapas Mishra mightydreams at gmail.com
Tue Jul 26 04:16:36 UTC 2011


On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W
<jeffrey.w.kirkpatrick at bankofamerica.com> wrote:
> I am attempting to run virt-viewer via a CYGWIN X session on my Windows
> laptop, but am getting all sorts of errors when I do.
>
>
>
> From a CYGWIN session, I run startx, then ssh –X to the KVM Host server.
> From there I run the following command:
>
>
>
> [root at kvmhost1 ~]# virt-viewer rhel6guest
>
>
>
> And the virt-viewer window does display, however with no readable font on
> the task bar, just a bunch of rectangles. After a few minutes the
> virt-viewer screen dies, too.
>
>
>
> Below are the errors I get when running the virt-viewer command:
>
>
>
>
>
> Xlib:  extension "RANDR" missing on display "localhost:10.0".
>
>
>
> (virt-viewer:18802): Gdk-WARNING **: Connection to display localhost:10.0
> appears to be untrusted. Pointer and keyboard grabs and inter-client
> communication may not work as expected.
>
>
>
> (virt-viewer:18802): Pango-WARNING **: failed to choose a font, expect ugly
> output. engine-type='PangoRenderFc', script='latin'
>
>
>
> Gdk-ERROR **: The program 'virt-viewer' received an X Window System error.
>
> This probably reflects a bug in the program.
>
> The error was 'BadWindow (invalid Window parameter)'.
>
>   (Details: serial 523 error_code 3 request_code 41 minor_code 0)
>
>   (Note to programmers: normally, X errors are reported asynchronously;
>
>    that is, you will receive the error a while after causing it.
>
>    To debug your program, run it with the --sync command line
>
>    option to change this behavior. You can then get a meaningful
>
>    backtrace from your debugger if you break on the gdk_x_error() function.)
>
> aborting...
>
> Aborted
>
>
>
> Anyone have any insights?
>
Did you set the DISPLAY variable on client machine?

------------------------------
http://mightydreams.blogspot.com
Tapas




More information about the virt-tools-list mailing list