How to Fix “could not open default font ‘fixed'”

This error pops up while trying to start vncserver services which happened to me in CentOS 6.2
While it is very frustrating when you are in a hurry and these small error starts giving you a headache in the middle of some important work. Well let me give you a very simple solution for this.

Error:
Fatal server error:
could not open default font ‘fixed’

Solution:
This error comes up because the tigervnc services are unable to locate the default font as required to start the services. So you need to manually install those font rpm.
Make sure that this package is installed
# rpm -qa | grep libXfont
If not you can install using yum command as shown below
# yum install libXfont

Now try to restart the services
# service vncserver start
Starting VNC server: 2:root xauth: (stdin):1:  bad display name “test.example:2” in “add” command

New ‘test.example (root)’ desktop is test.example:2

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test.openfire:2.log

                                                           [  OK  ]

For more tutorials follow the below links

Step by Step Linux Boot Process Explained In Detail
Tutorial for Monitoring Tools SAR and KSAR with examples in Linux
How to configure Samba 4 Secondary Domain Controller
How to secure Apache web server in Linux using password (.htaccess)
How to register Red Hat Linux with RHN (Red Hat Network )
Red hat Enterprise Linux 5.5 Installation Guide (Screenshots)
15 tips to enhance security of your Linux machine
Why is Linux more secure than windows and any other OS
What is the difference between “su” and “su -” in Linux?
What is swappiness and how do we change its value?
How to log iptables messages in different log file
What are the s and k scripts in the etc rcx.d directories
How to check all the currently running services in Linux
How to auto start service after reboot in Linux
What is virtual memory, paging and swap space?

1 thought on “How to Fix “could not open default font ‘fixed'””

Leave a Comment

close button