How to fix the font for virt-manager via X forwarding

December 24, 2011

I’ve installed the virt-manager on one of my servers (RHEL/Centos/SL) and tried to access the virt-manager via X forwarding but I just got following:

Other programs like xclock or xterm worked without problem .. after some searching and debugging I solved the problem with following command:

yum install dejavu-lgc-sans-fonts

Hope this solution spares someone-other some minutes. 😉

52 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Yepp it did! Thanks a lot! 🙂

    Comment by Marius — January 16, 2012 #

  2. wonderfull …. this time you save me to get crazy ….

    Comment by Fabio — April 12, 2012 #

  3. Its dejavu-lgc-sans-mono-fonts on rhel 6.3 🙂

    Comment by markitoxs — September 5, 2012 #

  4. Thank you very much!

    Comment by Evgeniy — December 11, 2012 #

  5. This saved me lots of time digging in to this strange issue. Why on earth the virt-manager package doesn’t require the fonts package is a mystery.

    Thanks!

    Comment by GrateFul Guy — January 27, 2013 #

  6. Thanks!

    Comment by milameber — February 28, 2013 #

  7. Thank you very much, saved me a lot of time

    Comment by Nikolay Dimitrov — March 11, 2013 #

  8. Thank you for this post. This fixed my bacula admin tool problem.

    I thought it would have to do with fonts, but did not know which to consider. How did you know it was looking for dejavu?

    Comment by John — April 23, 2013 #

  9. You saved my day.
    Thank you!

    Comment by Maxym — July 16, 2013 #

  10. Thank you very much!

    In my case (displaying virt-manager from CentOS 6.4 to OSX 10.8.4/XQuartz 2.7.4, I needed the following package:
    dejavu-lgc-sans-mono-fonts

    Comment by chrismarget — August 2, 2013 #

  11. Hi Thank you so much, works perfect for me.

    Comment by Johannes Thoma — October 24, 2013 #

  12. Thank you!!

    Comment by Oele — December 10, 2013 #

  13. OMFG, you saved my server!

    Comment by sin — January 15, 2014 #

  14. Thank you very much. In my case (Fedora 19 – future Centos 7) it is:
    yum install dejavu-sans-fonts.noarch
    because I don’t need Latin-Greek-Cyrilic fonts 😉

    Comment by OnkelPony — May 6, 2014 #

  15. Thanks!

    Comment by Javier Cruz — May 17, 2014 #

  16. You are a God amongst men.

    Comment by sirkojac — July 24, 2014 #

  17. Thanks for this!

    Comment by Martin K — December 1, 2014 #

  18. Thanks a lot for this!

    Comment by Shahzad Ali — December 15, 2014 #

  19. Many thanks, it helped!

    Comment by Anton Sk — February 6, 2015 #

  20. GREAT IT WORKS! Thanks a lot !

    Comment by bILLY — April 18, 2015 #

  21. Now how to fix the missing icons?

    Comment by Nick — April 30, 2015 #

  22. Thanks a lot, saved some hours! )))

    Comment by Valera — August 6, 2015 #

  23. TNX

    Comment by gehrke — October 3, 2015 #

  24. Thank you it saved me lots of time and it worked on the first time. Although on RHEL7 I simply needed to install dejavu-sans-fonts.noarch which pulls one additional package.

    Comment by Saul Alanis — October 6, 2015 #

  25. Amazing, thank you!

    Comment by Ollie — November 19, 2015 #

  26. aaah now my spyder ide displays the font. Executed this on a centos server on amazon ec3, thank you!

    Comment by dude — December 14, 2015 #

  27. I tired to install but unable to find the font in RHEL 7.2
    [root@UA-KVM1 ~]# yum install dejavu-lgc-sans-fonts
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    No package dejavu-lgc-sans-fonts available.
    Error: Nothing to do
    [root@UA-KVM1 ~]#

    But the below fonts just works .
    [root@UA-KVM1 ~]# yum install ghostscript-fonts.noarch urw-fonts.noarch

    Comment by Lingesh — December 17, 2015 #

  28. Great post, saved me quite a lot of time, thanks!!!!!

    Comment by ethermeister — July 6, 2016 #

  29. It works! You saved me some time. Thanks!

    Comment by Frank — July 13, 2016 #

  30. Great, thanks a lot!

    Comment by matias — October 5, 2016 #

  31. Save a lot of time, thanks!

    Comment by Sandro — January 14, 2017 #

  32. Thank you very much.

    Comment by nirmala — February 2, 2017 #

  33. Thanks a lot you saved my time ..

    Comment by vinoth — February 10, 2017 #

  34. It worked, thanks much

    Comment by Bert — March 1, 2017 #

  35. Thanks, you beautiful bastard! 🙂

    Comment by Jocke — March 8, 2017 #

  36. That saved me tearing out what little hair I’ve left. Muy Gracias

    Comment by Skrynesaver — March 22, 2017 #

  37. Wonderful, thank you for this post. And thank you also to Lingesh

    Comment by Vincent — April 5, 2017 #

  38. its worked , Thank you very much.Its save my day

    Regards
    Solomon

    Comment by Solomon — April 6, 2017 #

  39. Nightmare/electron not rendering html on a headless Centos 7 server was kicking my ass. I solved many of the issues but this font issue was the most obscure. Thanks for saving my long weekend.

    Comment by Todd — April 13, 2017 #

  40. Comment #27 for RHEL 7.2 worked for me. Thanks!

    [root@test ~]# yum install ghostscript-fonts.noarch urw-fonts.noarch
    Loaded plugins: product-id, search-disabled-repos, subscription-manager

    Comment by Robert — June 12, 2017 #

  41. The original font is not available on RHEL 7.2 but what Robert listed (ghostscript-fonts.noarch urw-fonts.noarch) worked just great. Thanks !!

    Comment by Kevin — July 28, 2017 #

  42. Thank you very much! This fixed my font issue when running apps via X11-Forwarding over SSH.

    Comment by Chris — August 22, 2017 #

  43. WOW!!! You are a live saver!!

    Thank you so much.
    kisses

    Comment by Sandy — September 8, 2017 #

  44. Brilliant – thanks! First hit from google for “virtmanager garbled font” 🙂

    Comment by Orlando — October 22, 2017 #

  45. It worked for me. 🙂 Two things are great here. One is you sharing this trick and 2nd is the Google who helped to reach the trick to sufferers like us. I think it would take a month to find the solution if this kind of problems appears decade ago. Crazy problem solved in minutes now. Thanks.

    Comment by Lakshmi Toleti — November 7, 2017 #

  46. Thank you very much, it worked for me.

    Comment by Virat Raoy — December 19, 2017 #

  47. thank you you fix my virtualbox x11 forwading text annoying eror cant read

    Comment by Fakieh Maulana — February 14, 2018 #

  48. Thanks !!!! (CentOs in Debian/VirtualBox, corrupted Chrome)

    Comment by Mirek — April 24, 2018 #

  49. Thanks, Worked for Oracle grid installer launcher.

    Comment by Babin Lonston — May 21, 2018 #

  50. Thank you!!! Fixed the Kubernetic tool running on CentOS 7.4, forwarding to Debian

    Comment by Fred Rogers — July 10, 2018 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Powered by WordPress
Entries and comments feeds. Valid XHTML and CSS. 38 queries. 0.083 seconds.