http://spring.clan-sy.com/phpbb/viewtop ... =20&t=8403
It has been updated not to rely on an outdated package config:
This guide has Ubuntu 7.10 or 8.04 in mind, but may work on other distributions, but I wouldn't know.
The aim of this guide is to show you how to setup a separate x-server to run spring. This improves spring's performance and allows you 'alt-tab' (or return to your desktop and back) as you would with windows, but better as that didn't always work well even under windows.
Step 1: Giving users the authority to start x-server sessions by editing Xwrapper.config:
First open the terminal and execute this:
Code: Select all
gksudo gedit '/etc/X11/Xwrapper.config'
Code: Select all
allowed_users=console
nice_value=0
Code: Select all
allowed_users=anybody
nice_value=0
Step 2: Making your spring script!:
Open up your favorite text editor and paste this:
Code: Select all
#!/bin/bash
xinit /usr/games/spring $* -- :1
3. Making your spring script an executable:
Code: Select all
cd /to/file/directory
chmod a+x ./spring
Edit:
http://springrts.com/phpbb/viewtopic.php?f=20&t=19252