I tried to start my new installation of foobar2000. below is the terminal output.
marc@PET310S:~$ sudo foobar2000
[sudo] password for marc:
********************** Sophos Anti-Virus Alert ***********************
Error scanning file
"/run/snapd/lock/foobar2000.lock".
Access to the file has been denied
**********************************************************************
mkdir: cannot create directory ‘/run/user/0’: Permission denied
------------------------------------------------------
Running Wine/winetricks as root is highly discouraged. See wiki.winehq.org/FAQ
------------------------------------------------------
Failed to Fopen file /etc/wgetrc
Failed to Fopen file /etc/wgetrc
wget: Cannot read /etc/wgetrc (Permission denied).
------------------------------------------------------
Your version of wine 3.0.4 is no longer supported upstream. You should upgrade to 4.x
------------------------------------------------------
Using winetricks 20191224-next - sha256sum: f36fe4b21b411d67e8261d0b2c507eaf128f46a36ee1e7aa32ee3e77d007b24e with wine-3.0.4 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 download.microsoft.com/.../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-03-27 12:54:49-- download.microsoft.com/.../scripten.exe
Resolving download.microsoft.com (download.microsoft.com)... 23.36.176.218, 2600:140a:c000:69f::e59, 2600:140a:c000:683::e59
Connecting to download.microsoft.com (download.microsoft.com)|23.36.176.218|: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.72MB/s in 0.6s
2020-03-27 12:54:51 (1.72 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
No protocol specified
Executing wine regsvr32 /S dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Setting Windows version to win2k
Executing wine regedit /S C:\windows\Temp\set-winver.reg
------------------------------------------------------
Running /snap/foobar2000/287/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 web.archive.org/.../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-03-27 12:55:04-- web.archive.org/.../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 913KB/s in 14s
2020-03-27 12:55:28 (974 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
002f:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002f: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.
------------------------------------------------------
No protocol specified
0031:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0031: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
003b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
003b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
This thread was automatically locked due to age.