Alain Spineux wrote:
On Nov 18, 2007 9:13 PM, Stephen Harris <[EMAIL PROTECTED]> 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@centos.org
http://lists.centos.org/mailman/listinfo/centos




Ok, problem solved. I have modified inittab's file like this:

x:45:respawn:/etc/X11/prefdm -nodaemon

and all works ok. Many thanks to all for your help.

--
CL Martinez
carlopmart {at} gmail {d0t} com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to