I now have a server up running on the linux machine. But server does not report our racing results to the LFSworld server. Is there any ports on the router I have to forward/open to get the server to report to LFSworld??
I have open port 63392 for both UDP and TCP
Must both UDP and TCP be open??
there is no more '.wine/config' configuration file and the winecfg program needs to be used to configure things:
The bad thing for a dedicated linux host is that winecfg works only with a graphic user interface.
Now, I can think of two solutions:
1) Downgrade to an older wine version
2) Install wine to an identical machine with X-Windows enabled, and then copy over the registries files.
However, before I embark on actually doing all this exciting stuff (! ) I thought I would try and ask if anyone else can think of some other, cleaner workaround or solution for console-only wine.
I wish there was a LFS server liveCD/liveUSB (USB most wise because of CFG files and updated) where you could just go, pop the thing in, and have a linux server with wine and all no sweat.
Hmm yes, of course, or even X11. I just skipped this automagically, because of stupid router ACLs between the server and my desktop machine. (And the fact that I would have to restart my X to allow TCP connections )
Will try, though.
Nah, I would want the macine to do other stuff as well and not just LFS Dedi.
Since I have experience with Debian packages, I might try to put together a .deb or two that sets up some stuff right away. I don't make any promises, though.
I have built such a thingy...its called "cdedix" . Made it some months ago, so it still runs patch_Q, but would be no prob to update to newer versions. Also an installation to usb-stick is possible , but not needed because it can update changes to a webserver.
Its based on slax: http://www.slax.org and is modular, that means, a running system can load modules at runtime. I just created the needed modules for a dedi-server with LFSLapper support.
Unfortunately i encountered the same probs as some other linux-wine-dedi installations: after a while ppl cant see each other...but chat...only a restart of the dedi helps then Solution in sight: regular restarts via cronjob, but not already included in the last version of "cdedix". I must downgrade to an older wine version, lets see if that works...
Newer versions will also support the racemanager, includes an insim-gateway, so other insim tools like the LFSLapper and the LFSSpectator can connect simultaneous
I haven't checked out powie.de's init scripts yet, to see if they take that into account. But for those of you who do this manually, be aware of the above thing.
FYI, in my setup, wineconsole did not like 'nohup'. It seemed to need that tty open or something. And if I simply closed the remote shell session, it would start consuming 100% CPU and writing a big log file. Again. With WINEDEBUG=-all. illepall
My hack to make my dedicated server work was to use screen and then detach the terminal.
So my command line now is:
cd <LFS_Directory>
screen -S "$NAME" wineconsole --backend=curses LFS.exe /cfg=$CFG
where
NAME = a meaningful name to display in 'screen -ls', in case a lot of servers are used.
CFG = the config file
Then I do CTRL-A, D to detach from the terminal. (one can also use screen switches: -d -m - Start screen in "detached" mode. This creates a new session but doesn't attach to it. This is useful for system startup scripts.)
I've been running the two [noobs] servers, 'cow' and 'meow' , successfully for two weeks now, using the above workaround. No problems at all!
I find theres a major problem with screen; I have a bad habit of opening them for compiles, lynx, etc. and then forgetting they're open. 2 weeks later I wonder where all the RAM has gone :doh: Rarely will I say a tool is too useful for its own good, but in this case screen is It should be made less useful!!!11oneoneone
To stay on topic, to "reactivate" a screen, you can also use the pid instead of the name, as mentioned above.
man screen
Should help you work it out, if you're not already familiar
I asked for it about a Year ago.
Scaven (Or was it Eric?) told me that they have not enough time to release a Linux Dedicated Host in near future.
But he didnt negotiate it
I'm trying to run LFS on Linux using wine. This is the error I get:
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:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting
Also, I have the following line in my config file:
/dedicated=invisible
Lastly, the command I am running is:
wineconsole LFS.exe /cfg=setup.cfg
I am using the above command temporarily so I can see the error that the server gives me. Please advise.
Actually if you are in a remote machine, you won't be able to see the error this way.
Most probably, what happens is that something is wrong with LFS's configuration file and it wants to open a window to display the error.
Perhaps the easiest way to solve this is to forward the X display to your machine so that you can see the error message that is shown. You can also try substituting "wineconsole" command with simply "wine".