<div dir="ltr"><div>Boa tarde Pessoal !<br><br></div><div>Preciso de uma ajuda para configurar o tty1 no centos, quero que ele execute um script, ou seja:<br></div><div>Ao ligar o SO irá rodar o servidor X e executar o rdesktop, é somente isso que o usuário irá ver no monitor.<br><br></div>Em outra distro consigo sem problemas só editei o arquivo /etc/init/tty1.conf &quot;exec&quot;<br><div><div><div><br># tty1 - getty<br>#<br># This service maintains a getty on tty1 from the point the system is<br># started until it is shut down again.<br><br>start on stopped rc RUNLEVEL=[2345] and (<br>            not-container or<br>            container CONTAINER=lxc or<br>            container CONTAINER=lxc-libvirt)<br><br>stop on runlevel [!2345]<br><br>respawn<br>#exec /sbin/getty -8 38400 tty1<br><br>exec /root/rdesktop.sh &lt; /dev/tty1 &gt; /dev/tty1 2&gt;&amp;1<br><br clear="all"><br><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0)"><font style="font-size:10pt"><font face="Tahoma">Atenciosamente,</font></font><font style="font-size:10pt"><font face="Tahoma"><br></font></font><font style="font-size:10pt"><font face="Tahoma"><br></font></font><font style="font-size:10pt"><font><font face="Tahoma">Luís Fernando Montes</font></font></font><font><font face="Tahoma"><br>
<font style="font-size:10pt"><i>Tecnólogo em Sistemas para Internet</i></font><br>
<span style="font-size:10pt">LPI ID 000205721</span><span style="font-size:10pt"><br></span></font></font></span><div><span style="color:rgb(0,0,0)"><span style="font-size:10pt"><font><font face="Tahoma">(47) 9967-0196</font></font></span></span></div></div></div>
</div></div></div></div>