This article provides a solution to a common issue encountered while running Ubuntu 24.04 as a guest operating system on VirtualBox version 7.1.2 r164945 with Qt6.4.2. When starting the Ubuntu 24.10 virtual machine, an error message appears, indicating that the display parameter cannot be changed. In this article, we will discuss the cause of this issue and the steps to resolve it.
Understanding the Issue
The error message "Failed to change the display parameter" usually appears when there is a mismatch between the VirtualBox Guest Additions installed on the guest operating system and the version of VirtualBox running on the host system. In this case, the guest operating system is Ubuntu 24.10, and the host system is Ubuntu 24.04 with VirtualBox 7.1.2 r164945.
Prerequisites
Before proceeding with the solution, ensure that you have the following prerequisites:
- A stable internet connection
- Ubuntu 24.04 host system with VirtualBox 7.1.2 r164945 installed
- Ubuntu 24.10 guest operating system
Solution
To resolve the issue, follow the steps below:
Step 1: Update VirtualBox on the Host System
The first step is to update VirtualBox on the host system to the latest version. Open a terminal window on the Ubuntu 24.04 host system and run the following commands:
sudo add-apt-repository ppa:virtualbox/virtualbox-6.1
sudo apt update
sudo apt install virtualbox-6.1
This will install the latest version of VirtualBox on the host system.
Step 2: Install the VirtualBox Guest Additions on the Guest Operating System
The next step is to install the VirtualBox Guest Additions on the Ubuntu 24.10 guest operating system. Start the virtual machine and follow these steps:
- Click on "Devices" in the VirtualBox menu and select "Install Guest Additions".
- A CD/DVD icon will appear on the virtual machine desktop. Double-click on it to open the installation window.
- Follow the on-screen instructions to complete the installation.
Once the installation is complete, restart the virtual machine.
Step 3: Update the Guest Additions on the Guest Operating System
After restarting the virtual machine, update the VirtualBox Guest Additions to the latest version. Open a terminal window on the Ubuntu 24.10 guest operating system and run the following commands:
sudo apt update
sudo apt install virtualbox-guest-x11
This will install the latest version of the VirtualBox Guest Additions on the guest operating system.