Software⏱️ 3 min read📅 2026-06-11

How to Fix: Failed to execute default web browser. input/output error

Failed to execute default web browser. input/output error on Ubuntu 18.04 XFCE.

Quick Answer: Run the installer with elevated privileges using sudo or switch to a non-root user before running the installer.

The 'Failed to execute default web browser. input/output error' issue affects users running an installer on Ubuntu 18.04 XFCE, causing the installation process to stall when attempting to open a web browser for setup and commissioning.

This error can be frustrating as it prevents the user from completing the installation process, which is essential for using the software. However, by following the steps outlined in this guide, users should be able to resolve the issue and successfully complete the installation.

🔍 Why This Happens

  • The primary reason for this error is that the installer is running as root, which prevents it from executing the default web browser. This is due to a security feature in Linux that restricts non-root processes from accessing system resources.
  • Another possible cause could be issues with the permissions of the web browser executable or its dependencies. However, this is less likely given that Firefox and Chromium, two popular browsers, exhibit the same issue.

🚀 How to Resolve This Issue

Changing the Default Web Browser

  1. Step 1: Open a terminal as the user running the installer (not as root). You can do this by right-clicking on the terminal icon in the taskbar and selecting 'Open in Terminal'. Alternatively, you can use the keyboard shortcut Ctrl+Alt+T.
  2. Step 2: Use the command `sudo apt-get install --reinstall firefox` or `sudo apt-get install --reinstall chromium-browser` to reinstall Firefox or Chromium. This will ensure that the browser is installed with correct permissions.
  3. Step 3: After reinstalling the browser, try running the installer again. The browser should now be executed as a regular user, and the installation process should complete successfully.

Using a Different Web Browser

  1. Step 1: Try using a different web browser to see if the issue persists. You can do this by opening a new terminal window and running `firefox` or `chromium-browser` manually.
  2. Step 2: If using a different browser resolves the issue, it's likely that the problem is specific to Firefox or Chromium. In this case, you may need to investigate further into the permissions of these browsers or their dependencies.

✨ Wrapping Up

By following one of the methods outlined in this guide, users should be able to resolve the 'Failed to execute default web browser. input/output error' issue and successfully complete the installation process on Ubuntu 18.04 XFCE.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions