Home Page Home Page
 Home | Linux Administration | Corporate Services | Resources | About Us Support Center
Monthly Server Management One-time Server Services Other Services
Network Administration Network Monitoring Network Security High Availability Load Balancing Data Backup and Recovery
Linux HOWTOs Linux Guides Linux Articles New RFCs Vulnerability list Linux Journal
Testimonials Partners Careers Contact Us Site Map
XFree86

6. XFree86

To boot up into XFree86, grab and install the normal XFree packages. Grab and install the XF86Config file from http://www.compsoc.man.ac.uk/~falken/T1500/XF86Config. Use a line like

xinit -- -bpp 16 &

In rc.local (or your distributions equiv.) to start it up automaticly. To do the safe thing and run X as a user, create the user and use something like the following to start and stop it (I placed this in the init.d dir. and linked from rc.4). Change 'mplayer' on line 5 to your username.

#! /bin/sh 
case "$1" in 
start)
	echo -n "Automatically logging into X" 
	su -c 'cd ~mplayer && xinit -- -bpp 16' - mplayer & 
	echo "." 
	;; 
stop|restart) 
	;; 
*)    
	echo "Usage: /etc/init.d/mplayer {start|stop|restart}" 
	exit 1 
esac 

exit 0