[CentOS-pt-br] Login automátio tty1

Luis Fernando Montes carreiralinux em gmail.com
Sexta Março 20 17:40:46 UTC 2015


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
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.centos.org/pipermail/centos-pt-br/attachments/20150320/5ef84a68/attachment.html>


Mais detalhes sobre a lista de discussão CentOS-pt-br