Re: [virt-tools-list] virt-viewer via ssh -X
On Mon, Jul 25, 2011 at 06:11:13PM +, Kirkpatrick, Jeffrey W 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. [...] Anyone have any insights? What's the output of xdpyinfo? It's unfortunate that Gtk is not well tested in the remote case and is often a bit broken. I use a few Gtk apps remotely all the time and tend to notice this. Fonts and icons are usually what breaks. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list
Re: [virt-tools-list] virt-viewer via ssh -X
Here is the output you requested: $ xdpyinfo name of display::0.0 version number:11.0 vendor string:The Cygwin/X Project vendor release number:60899901 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0xad, revert to PointerRoot number of extensions:24 BIG-REQUESTS DAMAGE DEC-XTRAP DOUBLE-BUFFER Extended-Visual-Information GLX LBX MIT-SUNDRY-NONSTANDARD RANDR RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP X-Resource XC-APPGROUP XC-MISC XFIXES XFree86-Bigfont XInputExtension XKEYBOARD XTEST default screen number:0 number of screens:1 screen #0: print screen:no dimensions:1280x1024 pixels (433x347 millimeters) resolution:75x75 dots per inch depths (7):24, 1, 4, 8, 15, 16, 32 root window id:0x3e depth of root window:24 planes number of colormaps:minimum 1, maximum 1 default colormap:0x20 default number of colormap cells:256 preallocated pixels:black 0, white 16777215 options:backing-store NO, save-unders NO largest cursor:32x32 current input event mask:0x4a0004 ButtonPressMask StructureNotifyMask SubstructureNotifyMask PropertyChangeMask number of visuals:4 default visual id: 0x22 visual: visual id:0x22 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x23 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x24 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits visual: visual id:0x25 class:TrueColor depth:24 planes available colormap entries:256 per subfield red, green, blue masks:0xff, 0xff00, 0xff significant bits in color specification:8 bits Best Regards, Jeffrey W. Kirkpatrick, RHCE VP, Virtualization Platform Engineering Bank of America - 469.201.0440 Email: jeffrey.w.kirkpatr...@bankofamerica.com -Original Message- From: Richard W.M. Jones [mailto:rjo...@redhat.com] Sent: Tuesday, July 26, 2011 2:44 AM To: Kirkpatrick, Jeffrey W Cc: virt-tools-list@redhat.com Subject: Re: [virt-tools-list] virt-viewer via ssh -X On Mon, Jul 25, 2011 at 06:11:13PM +, Kirkpatrick, Jeffrey W 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. [...] Anyone have any insights? What's the output of xdpyinfo? It's unfortunate that Gtk is not well tested in the remote case and is often a bit broken. I use a few Gtk apps remotely all the time and tend to notice this. Fonts and icons are usually what breaks. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v -- 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
Re: [virt-tools-list] virt-viewer via ssh -X
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.kirkpatr...@bankofamerica.com -Original Message- From: Tapas Mishra [mailto:mightydre...@gmail.com] Sent: Monday, July 25, 2011 11:28 PM To: virt-tools-list@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 mightydre...@gmail.com wrote: On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W jeffrey.w.kirkpatr...@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 -- 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. ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list
Re: [virt-tools-list] virt-viewer via ssh -X
My mistake. I did not realize no fonts were installed on this build. Once I installed bpg-* fonts and setfont, now the virt-viewer launches successfully. Best Regards, Jeffrey W. Kirkpatrick, RHCE VP, Virtualization Platform Engineering Bank of America - 469.201.0440 Email: jeffrey.w.kirkpatr...@bankofamerica.com -Original Message- From: virt-tools-list-boun...@redhat.com [mailto:virt-tools-list-boun...@redhat.com] On Behalf Of Kirkpatrick, Jeffrey W Sent: Tuesday, July 26, 2011 8:21 AM To: Tapas Mishra; virt-tools-list@redhat.com Subject: Re: [virt-tools-list] virt-viewer via ssh -X 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.kirkpatr...@bankofamerica.com -Original Message- From: Tapas Mishra [mailto:mightydre...@gmail.com] Sent: Monday, July 25, 2011 11:28 PM To: virt-tools-list@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 mightydre...@gmail.com wrote: On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W jeffrey.w.kirkpatr...@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 -- 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
Re: [virt-tools-list] virt-viewer via ssh -X
On Tue, Jul 26, 2011 at 01:17:15PM +, Kirkpatrick, Jeffrey W wrote: Here is the output you requested: $ xdpyinfo name of display::0.0 version number:11.0 vendor string:The Cygwin/X Project vendor release number:60899901 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0xad, revert to PointerRoot number of extensions:24 BIG-REQUESTS DAMAGE DEC-XTRAP DOUBLE-BUFFER Extended-Visual-Information GLX LBX MIT-SUNDRY-NONSTANDARD RANDR RECORD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP X-Resource XC-APPGROUP XC-MISC XFIXES XFree86-Bigfont XInputExtension XKEYBOARD XTEST default screen number:0 number of screens:1 For comparison, here are the extensions available in latest X.org: number of extensions:27 BIG-REQUESTS Composite DAMAGE DOUBLE-BUFFER DPMS DRI2 GLX Generic Event Extension MIT-SCREEN-SAVER MIT-SHM RANDR RECORD RENDER SGI-GLX SHAPE SYNC X-Resource XC-MISC XFIXES XFree86-DGA XFree86-VidModeExtension XINERAMA XInputExtension XKEYBOARD XTEST XVideo XVideo-MotionCompensation I can't see anything important missing from the Cygwin server though. It has all the obvious stuff like RENDER. Dan, doesn't virt-viewer use some funky stuff to do screen scaling? I thought it was GLX (which both servers have) but perhaps it's something else. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list
[virt-tools-list] virt-viewer via ssh -X
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? Best Regards, Jeffrey W. Kirkpatrick, RHCE VP, Virtualization Platform Engineering Bank of America - 469.201.0440 Email: jeffrey.w.kirkpatr...@bankofamerica.commailto:jeffrey.w.kirkpatr...@bankofamerica.com -- 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. ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list
Re: [virt-tools-list] virt-viewer via ssh -X
On Mon, Jul 25, 2011 at 11:41 PM, Kirkpatrick, Jeffrey W jeffrey.w.kirkpatr...@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? -- http://mightydreams.blogspot.com Tapas ___ virt-tools-list mailing list virt-tools-list@redhat.com https://www.redhat.com/mailman/listinfo/virt-tools-list