Hi all,
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
But this returns errors every time that start and stop system ... Which is the correct form to launch x-windows under centos at different runlevels??
Many thanks.
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.
On Nov 18, 2007 9:13 PM, Stephen Harris lists@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@centos.org http://lists.centos.org/mailman/listinfo/centos
Alain Spineux wrote:
On Nov 18, 2007 9:13 PM, Stephen Harris lists@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@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.
On Sun, 2007-11-18 at 20:54 +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
But this returns errors every time that start and stop system ... Which is the correct form to launch x-windows under centos at different runlevels??
x:45:respawn:/etc/X11/prefdm -nodaemon