As mentioned at the start of section 9, developers may want to simply run the X server without installing it. This can save some time and allow you to keep a number of X servers available for testing.
As described in the preceding section, you'll need to create a
configuration file for the new server.
XF86Config file in your
Be sure the
ModulePath option in your XF86Config file
is set correctly.
A simple shell script can be used to start the X server. Here's an example.
#!/bin/sh export DISPLAY=:0 ./XFree86 -xf86config XF86Config & \ sleep 2 fvwm2 & xset b off xmodmap -e "clear mod4" xsetroot -solid "#00306f" xterm -geometry 80x40+0+0You might name this script
start-dri. Put it in your
To test the server run the script:
cd ~/DRI-CVS/build/xc/programs/Xserver ./start-driFor debugging, you may also want to capture the log messages printed by the server in a file. If you're using the C-shell:
./start-dri >& log