How to fix a broken CAPTCHA in the login screen: EventLog Analyzer on Linux

How to fix a broken CAPTCHA in the login screen: EventLog Analyzer on Linux

Issue description 

When you have enabled a CPATCHA on the login page of Linux using EventLog Analyzer's Logon Settings, you might face an issue where the CAPTCHA image seems to be broken. This article provides step-by-step instructions to fix the issue.

Possible causes 

  1. The broken CAPTCHA image issue is often the result of either a browser cache problem or missing fonts required for rendering the CAPTCHA. Since Linux distributions typically do not include Microsoft fonts by default, you may need to install them manually.

Prerequisites 

  1. Access to the EventLog Analyzer user interface.
  2. Access to the Linux server on which EventLog Analyzer is installed with root or similar permission to install package.

Steps to follow 

Step 1: Access the EventLog Analyzer user interface in an incognito/private browser window to check if the issue is related to the browser cache. If so, clear the browser cache to resolve the issue.

Step 2: If the issue persists, it is likely caused by missing fonts required for rendering. To install the necessary fonts, open the terminal and run the following commands:
  1. sudo apt install fontconfig  
  1. This command installs Fontconfig, a library and command-line utility used by Linux systems to manage and configure fonts. It enables font discovery, font substitution, and automatic fallback for missing fonts.
  1. sudo apt install ttf-mscorefonts-installer  
  1. This installs a set of Microsoft TrueType core fonts, such as:
    • Arial
    • Verdana
  1. sudo fc-cache -f  
    1. This command forces a refresh of the font cache used by Fontconfig.
    • -f indicates "force" the rebuild, even if no changes are detected.
    • This ensures that any newly installed fonts (like the Microsoft fonts) are detected and available to applications.
Step 3: Once the required libraries and fonts are installed, restart the Linux server once to have them applied.
Step 4: Reload the login page in a private/incognito browser window to verify.

Tips 

  1. To verify if the fonts have been successfully installed, run the below command 
    fc-match Arial
  2. This tries to find a font on your system that matches Arial. If the exact font isn't available, it returns the closest fallback (e.g., Liberation Sans, DejaVu Sans, etc.).
    fc-match Verdana
  3. This is same as the above command, which checks for Verdana.

 How to reach support

  1. A screenshot of the EventLog Analyzer license page.
  2. A screenshot of the login page showing the broken CAPTCHA issue captured from an incognito/private browser window.
  3. A screenshot of the Console tab from the browser's developer tools.
      • To access it: Right-click on the login page, click Inspect, and go to the Console tab.
  1. A screenshot of the terminal output for the following commands:
    fc-match Arial
    fc-match Verdana
  2. Product logs:
  1. EventLog Analyzer Serverout logs: <EventLog Analyzer Home>\logs\serverout_20xx-xx-xx.txt (Most recent file)
  2. EventLog Analyzer Catalina logs: <EventLog Analyzer Home>\logs\catalina_20xx-xx-xx.txt (Most recent file)
 
 
 
 
 
 
 

                  New to ADSelfService Plus?