PDA

View Full Version : LFS Server Under BSD and Wine without X (Console only)


DftKing
11th March 2008, 05:06
is it possiabal to run the LFS server under FreeBSD and wine without the X Server i have a beefy dedicated box that i want to host a server on but its a dedi no X and i can compile wine and all that.. but will it run without the X server the box simpley cant run X also why hasent there been a port of the LFS Server to Unix/Linux yet.. this would make things alot simpler for the dedicated side

Lotesdelere
11th March 2008, 06:33
Yep it's possible, we did it two years ago when we still had our own servers.

cd ~/.wine/drive_c/lfs
nohup wine LFS.exe /cfg=cfg.txt &

Done :)

DftKing
11th March 2008, 07:10
OUTPUT:

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.
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.

the_angry_angel
11th March 2008, 08:16
Make sure the /dedicated directive in the cfg file is set to invisible. i.e. /dedicated=invisible

This will prevent the application from opening any GUI.

If you already have that, you may need to recompile Wine without the X libraries, which will disable it's support completely (it's what I've done on the various Debian boxes I've run LFS on).

You might also be interested in knowing that you ideally need to be using a 0.9.39+ (if I remember correctly) version of Wine, which will prevent the server from becoming unresponsive occasionally (the bug fix is listed somewhere in the hosts forum).