Score:-1

'Failed to initialize monitor' when trying to run any wine applications

de flag

The following error is being produced when trying to run any application through wine, including winecfg:

0050:err:x11drv:X11DRV_InitMonitor Failed to initialize monitor
0050:err:x11drv:X11DRV_InitMonitor Failed to initialize monitor

For some reason it's writing it twice. The audio is still being played, so if it's a game I can hear it, but it's not detecting a display. Running echo $DISPLAY gives me :0.0. Just checked Proton through Steam, and it doesn't appear to have an issue.

Running on (x)Ubuntu 20.04, wine version 6.0.2, often multiple monitors but sometimes just one. This began happening with wine 5.0.4, and I upgraded to 6.0.2 to see if that would fix the issue, and it didn't. Any ideas?

Score:0
de flag

I had to 'fix' this by deleting the original .wine directory. Running winecfg again prompted wine to rebuild the directory back to default settings, now no longer getting the initialize monitor error message.

This method might not be optimal for anyone else suffering this problem, so make a backup of the original .wine directory before deleting it. You'll at least having a working wine configuration.

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.