I installed foobar2000 on my Ubuntu Server 18.04 with xubuntu-core (xcfe) GUI installed using the instructions here:
https://www.tecrobust.com/install-foobar2000-linux-ubuntu-latest/
Before installing foobar2000, I had installed WINE 5.0. After installing foobar2000, it wouldn't start, I rebooted, and still no joy.
Here is the terminal output:
marc@PET310S:~$ sudo foobar2000
[sudo] password for marc:
mkdir: cannot create directory ‘/run/user/0’: Permission denied
------------------------------------------------------
Running Wine/winetricks as root is highly discouraged. See https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
------------------------------------------------------
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
Using winetricks 20191224-next - sha256sum: 472eba29dbf056c87afd39a70426886064040e0bc2c3b63c17baf469b0bf2be2 with wine-5.0 and WINEARCH=win32
Executing w_do_call wmp9
Executing load_wmp9
Executing w_do_call wsh57
Executing load_wsh57
Executing mkdir -p /root/snap/foobar2000/common/.cache/winetricks/wsh57
Executing cd /root/snap/foobar2000/common/.cache/winetricks/wsh57
Downloading https://download.microsoft.com/download/4/4/d/44de8a9e-630d-4c10-9f17-b9b34d3f6417/scripten.exe to /root/snap/foobar2000/common/.cache/winetricks/wsh57
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-04-10 00:12:46-- https://download.microsoft.com/download/4/4/d/44de8a9e-630d-4c10-9f17-b9b34d3f6417/scripten.exe
Resolving download.microsoft.com (download.microsoft.com)... 173.222.116.111, 2600:140a:c000:683::e59, 2600:140a:c000:69f::e59
Connecting to download.microsoft.com (download.microsoft.com)|173.222.116.111|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1079152 (1.0M) [application/octet-stream]
Saving to: ‘scripten.exe’
scripten.exe 100%[===================>] 1.03M 1.10MB/s in 0.9s
2020-04-10 00:12:49 (1.10 MB/s) - ‘scripten.exe’ saved [1079152/1079152]
Executing cd /home/marc
Executing cabextract -q -d /root/snap/foobar2000/common/.wine/dosdevices/c:/windows/system32 /root/snap/foobar2000/common/.cache/winetricks/wsh57/scripten.exe
Using native,builtin override for following DLLs: jscript scrrun vbscript cscript.exe wscript.exe
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing wine regsvr32 /S dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
No protocol specified
Setting Windows version to win2k
Executing wine regedit /S C:\windows\Temp\set-winver.reg
------------------------------------------------------
Running /snap/foobar2000/290/wine-platform/wine-stable/bin/wineserver -w. This will hang until all wine processes in prefix=/root/snap/foobar2000/common/.wine terminate
------------------------------------------------------
Executing mkdir -p /root/snap/foobar2000/common/.cache/winetricks/wmp9
Executing cd /root/snap/foobar2000/common/.cache/winetricks/wmp9
Downloading https://web.archive.org/web/20180404022333if_/download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe to /root/snap/foobar2000/common/.cache/winetricks/wmp9
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
--2020-04-10 00:12:55-- https://web.archive.org/web/20180404022333if_/download.microsoft.com/download/1/b/c/1bc0b1a3-c839-4b36-8f3c-19847ba09299/MPSetup.exe
Resolving web.archive.org (web.archive.org)... 207.241.233.214
Connecting to web.archive.org (web.archive.org)|207.241.233.214|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘MPSetup.exe’
MPSetup.exe [ <=> ] 13.30M 1.13MB/s in 15s
2020-04-10 00:13:13 (899 KB/s) - ‘MPSetup.exe’ saved [13951112]
Executing cd /home/marc
Using native override for following DLLs: l3codeca.acm wmp wmplayer.exe wmvcore
Executing wine regedit /S C:\windows\Temp\override-dll.reg
No protocol specified
Using native override for following DLLs when running MPSetup.exe: pidgen
Executing wine regedit /S C:\windows\Temp\override-dll.reg
Executing rm /root/snap/foobar2000/common/.wine/dosdevices/c:/windows/temp/override-dll.reg
Executing cd /root/snap/foobar2000/common/.cache/winetricks/wmp9
Executing wine MPSetup.exe /q
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
------------------------------------------------------
Note: command wine MPSetup.exe /q returned status 43. Aborting.
------------------------------------------------------
002e:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002e:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
marc@PET310S:~$ No protocol specified
xcb_connection_has_error() returned true
Failed to create secure directory (/run/user/0/snap.foobar2000/pulse): No such file or directory
ALSA lib conf.c:3710:(snd_config_hook_load) cannot stat file/directory /usr/share/alsa/cards/aliases.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
0034:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0034:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
I'm not sure if the issue is with foobar2000, snap, or WINE. If it's with snap, or WINE, I'd appreciate it if someone would suggest the best forum to get help with whichever seems to be the issue..
Thanks.