[CentOS] Launching X-Windows at different runelvels

Sun Nov 18 20:13:30 UTC 2007
Stephen Harris <lists at spuddy.org>

On Sun, Nov 18, 2007 at 08:54:35PM +0100, carlopmart wrote:
>  I need to launch X-Windows at runlevel 4 and 5. CentOS only start up 
>  x-windows at runlevel by default. I have modified /etc/inittab to 
> accomplish this:
> 
> x:4:respawn:/etc/X11/prefdm -nodaemon
> x:5:respawn:/etc/X11/prefdm -nodaemon

The first character needs to be unique; it's an identifier.  You can't have
multiple lines called "x"

So try
  x4:4:respawn:...
  x5:5:respawn:...

to make them unique.

-- 

rgds
Stephen