[CentOS] Launching X-Windows at different runelvels

Alain Spineux aspineux at gmail.com
Sun Nov 18 20:35:12 UTC 2007


On Nov 18, 2007 9:13 PM, Stephen Harris <lists at spuddy.org> wrote:
> 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:...
>

Also X windows expect some service to be started a that runlevel !
Like xfs ! Check them.


> to make them unique.
>
> --
>
> rgds
> Stephen
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you



More information about the CentOS mailing list