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. -- CL Martinez carlopmart {at} gmail {d0t} com
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 -nodaemonThe 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
Ignacio Vazquez-Abrams
2007-Nov-19 03:26 UTC
[CentOS] Launching X-Windows at different runelvels
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 -- Ignacio Vazquez-Abrams <ivazqueznet at gmail.com> PLEASE don't CC me; I'm already subscribed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20071118/97dabc32/attachment-0005.sig>