On Thu, 8 Oct 2009, Arie Rechavel wrote:
> There is a file xinitrc (not ~/.xinitrc) in /etc/x11/xinit folder.
> Are you referring to this file? If not in what folder should the file
> ~/.xinitrc be created ?
"~" should be a clue for all but a novice :-)
~ in this context is short for the user's home directory.
check out the man entry for startx. If you don't have a handy full install
of linux somewhere to use (and you should, it makes things so much easier),
then google for it.
> -----Original Message-----
> From: On Behalf
> Of Kevin Cozens
> Sent: Thursday, October 08, 2009 9:56 AM
> To:
> Subject: Re: [ts-7000] Auto Run
>
>
> 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. <http://www.ve3syb.ca/> 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/
|