d/rc5.d /etc/rc.d/rc4.d
Other systems may use other directories; for example, Debian/Ubuntu uses /etc/rc4.d
and /etc/rc5.d.
Next, disable all unnecessary services (this will depend on the kiosk application). For
example, to delete the bluetooth services:
blue# chkconfig bluetooth off
It is a good idea to leave ssh enabled, so that you can log in to the
kiosk remotely for diagnostic and maintenance work.
You can also use your system- or distribution-specific configuration tools, but they
will have the same effect: deleting symlinks from the directory for runlevel 4.
You will then need to modify /etc/inittab to disable character-mode logins in runlevel
4. Here are the affected lines:
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
15.12
15.12 Creating a Video Wall 233
In each line, the character 4 in the second field must be removed:
# Run gettys in standard runlevels
1:235:respawn:/sbin/mingetty tty1
2:235:respawn:/sbin/mingetty tty2
3:235:respawn:/sbin/mingetty tty3
4:235:respawn:/sbin/mingetty tty4
5:235:respawn:/sbin/mingetty tty5
6:235:respawn:/sbin/mingetty tty6
Finally, append a line to this file to configure init to start the kiosk script (and
respawn it if it dies) only in runlevel 4:
ks:4:respawn:/usr/local/kiosk/kiosk.
Pages:
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355