← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands-website/encyclopedia into lp:widelands-website

 

Just a short drive by to explain how graphics on the server works: We run Xvfb, a virtual framebuffer that fakes a X11 environment at 800x600 at 32bit resolution that supports opengl through mesa. 

This server runs on ":1" on the server, so running 

export DISPLAY=":1" 

and then running any of the widelands binaries that need graphics will work.

Revelant files:

/etc/init/xvfb.conf: starts the framebuffer
/etc/init/wlwebsite.conf: contains the lines
# Use Xvfb for displaying anything.
export DISPLAY=":1"

before starting anything else, so that the uploading can use wl_map_info. 


-- 
https://code.launchpad.net/~widelands-dev/widelands-website/encyclopedia/+merge/287410
Your team Widelands Developers is subscribed to branch lp:widelands-website.


References