[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Tue, Jul 26, 2011 at 9:46 AM, Tapas Mishra <mightydreams gmail com> wrote:
> On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W
> <jeffrey w kirkpatrick 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 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?
>
 Try to use the -Y switch instead of the -X switch or put
ForwardX11Trusted=yes in your ssh_conf file
http://x.cygwin.com/docs/ug/using-remote-apps.html


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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]