On 10/06/2009 06:22 PM, njar09 wrote:
> to auto login, I modified the file /etc/inittab as follows:
> #1:2345:respawn:/sbin/getty 38400 tty1
> 1:2345:respawn:/bin/login -f root tty1</dev/tty1>/dev/tty1 2>&1
>
> To autostart x windows I added at the bottom:
> x::wait:/usr/bin/startx
That seems a bit odd but if it works, good. The typical set up would be
to use inittab to set the default run level to 5 and have a line in the
file that would do the startx for runlevel 5.
inittab is not the proper place for starting up an X windows program. In
a typical X Windows system you would create a file called ~/.xinitrc and
put the commands you need to start your application in that file. The
commands should have "&" at the end or only the first command will be run.
--
Cheers!
Kevin.
http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
| Try to assimilate the world!"
#include <disclaimer/favourite> | -Pinkutus & the Borg
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|