Boa tarde Pessoal !

Preciso de uma ajuda para configurar o tty1 no centos, quero que ele execute um script, ou seja:
Ao ligar o SO irá rodar o servidor X e executar o rdesktop, é somente isso que o usuário irá ver no monitor.

Em outra distro consigo sem problemas só editei o arquivo /etc/init/tty1.conf "exec"

# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
#exec /sbin/getty -8 38400 tty1

exec /root/rdesktop.sh < /dev/tty1 > /dev/tty1 2>&1




--
Atenciosamente,

Luís Fernando Montes
Tecnólogo em Sistemas para Internet
LPI ID 000205721
(47) 9967-0196