On Tue, May 23, 2006 at 11:16:46PM +0200, Colin Finck wrote: > I need to restart the X server (XFree86 4.3.0) under Debian Sarge with a > script or program. > On other Linux systems, I now that I can use "init 3" to terminate the X > server and then use "startx" to start it again, but on my Debian system this > does not work.
Debian doesn't use runlevels to detemine when to run X. X is run by using startx[1] or a graphical login manager (xdm,kdm,gdm). > Additionally I have no runlevel 5. On other Linux systems, this runlevel is > used for a graphical X environment, but on Debian it simply does not exist. > Is there a way to add this, because I want to autostart the X server after > login. Debian does have a runlevel 5, it's just the same as 2-4 by default. To autostart X at boot, use a login manager(xdm, kdm, gdm) or run startx in your $HOME/.bash_profile. 1. http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-x 2. http://www.debian.org/doc/manuals/reference/ch-system.en.html#s-runlevels
signature.asc
Description: Digital signature