Ubuntu server dedicated problem with Wine

Questions about Wine on Linux
Locked
Deckz0r
Newbie
Newbie
Posts: 4
Joined: Fri Dec 05, 2014 10:04 am

Ubuntu server dedicated problem with Wine

Post by Deckz0r »

I have installed Ubuntu 12.04 on a dedicated server VPS. I'm trying to start an server via PuTTY for a game of Steam, but when I start the server via Wine gives me this error:

Code: Select all

Application tried to create a window, but no driver could be loaded.Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
fixme:thread:SetThreadIdealProcessor (0x130): stub
ERR:   Executable signature verification failed.
LOG:   Loaded "Z:\root\steam\samhd\Bin\GameEnv_Steam.dll".
INF:   GameEnv API: Steam
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f005800, 0x3f036b20, 0x3f036b18
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f005800, 0x3f036b58, 0x3f036b50
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f005800, 0x3f036ae8, 0x3f036ae0
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f005800, 0x3f036b90, 0x3f036b88
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f005800, 0x3f036bc8, 0x3f036bc0
Setting breakpad minidump AppID = 41010
err:pulse:pulse_contextcallback Context failed: Connection refused
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
LOG:   Loaded "Z:\root\steam\samhd\Bin\SeriousSamHD_TSE_Project.dll".
LOG:     Content/SeriousSamHD_TSE/All_126138.gro: 836 files, signature: OFFICIAL
LOG:     Content/SeriousSamHD_TSE/All_208679.gro: 104 files, signature: OFFICIAL
LOG:     Content/SeriousSamHD_TSE/All.gro: 8476 files, signature: OFFICIAL
LOG:     Content/SeriousSamHD_TSE/CachedShaders_PC.gro: 6176 files, signature: OFFICIAL
LOG:     Content/SeriousSamHD_TSE/All_121332.gro: 207 files, signature: OFFICIAL
LOG:     Content/SeriousSamHD_TSE/DLC_PlayerModelsC.gro: 2 files, signature: OFFICIAL
fixme:dbghelp:elf_search_auxv can't find symbol in module
WRN:   Invalid locale string.
LOG:   Loading translation tables from Content/SeriousSamHD_TSE/Locales/enu/.
LOG:     Content/SeriousSamHD_TSE/Locales/enu/translation.tbl
LOG:   2014/12/01 20:33:53: Crashed! (used process memory: 0 MB, free system memory: 1988 MB)
ERR:   sysStartProcess("Z:\root\steam\samhd\Bin\BugReporter_Win32.exe") - 'No such file or directory'
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x9e0e62
Can anyone help me for this?

It runs on:
Ubuntu 12.04
Wine 1.6.1
Deckz0r
Newbie
Newbie
Posts: 4
Joined: Fri Dec 05, 2014 10:04 am

Re: Ubuntu server dedicated problem with Wine

Post by Deckz0r »

bump
User avatar
L. Rahyen
Moderator
Moderator
Posts: 338
Joined: Fri Feb 22, 2008 9:13 pm

Re: Ubuntu server dedicated problem with Wine

Post by L. Rahyen »

Running Wine without X was already discussed in the past: viewtopic.php?t=1390
Read the thread to better understand the problem. The error you get is easy to understand: your application tried to create a window but could not.

Personally, I use tightvncserver on my private server to run Windows applications with Wine.
Deckz0r
Newbie
Newbie
Posts: 4
Joined: Fri Dec 05, 2014 10:04 am

Re: Ubuntu server dedicated problem with Wine

Post by Deckz0r »

L. Rahyen wrote:Running Wine without X was already discussed in the past: viewtopic.php?t=1390
Read the thread to better understand the problem. The error you get is easy to understand: your application tried to create a window but could not.

Personally, I use tightvncserver on my private server to run Windows applications with Wine.
The problem is not X Server, but ALSA

Code: Select all

err:pulse:pulse_contextcallback Context failed: Connection refused
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Ubuntu server dedicated problem with Wine

Post by dimesio »

Your problem is

Code: Select all

Application tried to create a window, but no driver could be loaded.Make sure that your X server is running and that $DISPLAY is set correctly.
Wine can start without ALSA, it just won't have any sound. It can't start without an X server if the app tries to create any windows, which Steam certainly does.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Ubuntu server dedicated problem with Wine

Post by spoon0042 »

A few things:
Ubuntu's pulse patches aren't supported here. Not sure if that matters though.
1.6.1 is old. It would be best to upgrade to a recent 1.7 wine version.
I see "root" in your paths, if you're running wine as root that's (generally) a bad thing.
If those ERR / LOG / INF lines are coming from some wine wrapper that's not supported here either.

That said...
Deckz0r wrote:

Code: Select all

WRN:   Invalid locale string.
LOG:   Loading translation tables from Content/SeriousSamHD_TSE/Locales/enu/.
LOG:     Content/SeriousSamHD_TSE/Locales/enu/translation.tbl
LOG:   2014/12/01 20:33:53: Crashed! (used process memory: 0 MB, free system memory: 1988 MB)
ERR:   sysStartProcess("Z:\root\steam\samhd\Bin\BugReporter_Win32.exe") - 'No such file or directory'
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x9e0e62
this bit looks suspicious, have you tried setting your locale? Are the environment variables LANG or LC_ALL or similar set, and do they match something from 'locale -a'?

(Assuming you can even run this without X of course...)
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Ubuntu server dedicated problem with Wine

Post by spoon0042 »

Gave this a shot and it seems to work fine in wine 1.7.30 (with DISPLAY unset). Those ERR / WRN lines are coming from the program, and I get the same complaint about the locale but I don't get a crash.
Deckz0r
Newbie
Newbie
Posts: 4
Joined: Fri Dec 05, 2014 10:04 am

Re: Ubuntu server dedicated problem with Wine

Post by Deckz0r »

spoon0042 wrote:Gave this a shot and it seems to work fine in wine 1.7.30 (with DISPLAY unset). Those ERR / WRN lines are coming from the program, and I get the same complaint about the locale but I don't get a crash.
So now what should I do?
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Ubuntu server dedicated problem with Wine

Post by spoon0042 »

Deckz0r wrote:So now what should I do?
The instructions for installing wine on Ubuntu are here: https://www.winehq.org/download/ubuntu

Once you've added the ppa you should be able to 'apt-get install wine1.7'

I can't help you beyond that really, you may want to try the Ubuntu forums if you run into problems.
Locked