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

Kirkpatrick, Jeffrey W jeffrey.w.kirkpatrick at bankofamerica.com
Tue Jul 26 13:21:02 UTC 2011


Yes I have the DISPLAY set. The virt-viewer GUI actually does display back to my desktop, though the fonts are jumbled and after a few minutes it dies.

I tried the -Y flag. Virt-viewer launched, but it immediately gave me an error that I can't read because the font is jumbled and then closed.

Best Regards,

Jeffrey W. Kirkpatrick, RHCE
VP, Virtualization Platform Engineering
Bank of America - 469.201.0440 
Email:  Jeffrey.W.Kirkpatrick at bankofamerica.com


-----Original Message-----
From: Tapas Mishra [mailto:mightydreams at gmail.com] 
Sent: Monday, July 25, 2011 11:28 PM
To: virt-tools-list at redhat.com
Cc: Kirkpatrick, Jeffrey W
Subject: Re: [virt-tools-list] virt-viewer via ssh -X

On Tue, Jul 26, 2011 at 9:46 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
> 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?
>
 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

----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Sender. Subject to applicable law, Sender may intercept, monitor, review and retain e-communications (EC) traveling through its networks/systems and may produce any such EC to regulators, law enforcement, in litigation and as required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this EC may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you consent to the foregoing.




More information about the virt-tools-list mailing list