Score:0

unable to launch virtualbox using SSH (Qt FATAL: This application failed to start because no Qt platform plugin could be initialized)

pg flag

I have a Home Assistant virtual machine in Virtual Box. I typically access it using GUI, but now i'm using the device in a headless setup, so i'm trying to open it using ssh access.

The issue I encountered while opening virtualbox ($ virtualbox) with a headless setup:

Qt FATAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

I have tried $ sudo purge virtualbox and $ sudo install virtualbox to reinstall the program.

It didn't help.

I reinstalled oracle extension pack using $ sudo apt install virtualbox-ext-pack and using $ sudo modprobe vboxdrvhere to avoid configuration errors.

I also tried to update packages using $ sudo apt update.

And upgrading them using $ sudo apt upgrade, and also upgrading individual packages listed using $ apt list --upgradable and $ sudo apt-get install --only-upgrade $PACKAGE for remaining 28 packages.

I still can't open virtualbox using ssh.

Note: I'm quite new to all of this so I would greatly appreciate a more detailed answer for a newbie like me.

Score:0
pg flag

Issue is solved by using command DISPLAY=:0 nohup $PROGRAM from this thread. Updating host device version and extension pack I think helped solve some other issues the device was having.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.