s1dest3pnate
2009-Aug-20 02:21 UTC
[Wine] Running a Windows dedicated server with Wine through ssh
I want to use Wine to run a dedicated server. The dedicated server uses a config file and is completely invisible; the dedicated server doesn't try to open any windows and simply runs in the background. When I try to run it, Wine gives an error stating that the application tried to create a Window and tells me to make sure my X server is running and that $DISPLAY is correct. The dedicated server does not try to open a window so why am I getting this error? Can the dedicated server be ran without an X server? I'm looking for the simplest solution here. If I need an X server, what is a good one and how do I install it? Secondly, what command (with parameters) should be using to run my dedicated server appropriately. OS: CentOS 5.2 64Bit I'm currently attempting to run the dedicated server with: wine lfs.exe /cfg=setup.exe and I've also tried: wineconsole lfs.exe /cfg=setup.exe Both give the same error mentioned above. I do not know the difference between running wine or wineconsole. Thanks in advance!
James McKenzie
2009-Aug-20 02:38 UTC
[Wine] Running a Windows dedicated server with Wine through ssh
s1dest3pnate wrote:> I want to use Wine to run a dedicated server. The dedicated server uses a config file and is completely invisible; the dedicated server doesn't try to open any windows and simply runs in the background. When I try to run it, Wine gives an error stating that the application tried to create a Window and tells me to make sure my X server is running and that $DISPLAY is correct. >Wine needs X11 running in order to start. No X11, no Wine processes. Are you trying to run a text based program? You might be better off with other products. James McKenzie
s1dest3pnate
2009-Aug-20 02:43 UTC
[Wine] Re: Running a Windows dedicated server with Wine through ssh
It isn't a text based program, it is a dedicated server for a game (a host so that people can connect to it and play together). What's the easier way to install the latest version of X11? And command should I use to run my application with Wine? Thanks in advance.
dblade
2009-Aug-21 18:10 UTC
[Wine] Re: Running a Windows dedicated server with Wine through ssh
on Solaris, I usually use an X virtual frame buffer for situations when X is required by certain dependent libraries, but not necessarily for the task at hand. I haven't tried that on linux and therefore not with wine. http://en.wikipedia.org/wiki/Xvfb