[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