ts-7000
[Top] [All Lists]

Re: [ts-7000] Auto Run

To:
Subject: Re: [ts-7000] Auto Run
From: John Gray <>
Date: Wed, 07 Oct 2009 18:28:00 +0100
On 06/10/09 23:22:47, njar09 wrote:
> I would like to get some help on the following:
> 
> I have a program called display that is using gtk (graphics)
> 
> 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
> 
> Now I would like to auto start my program display.
> I added at the bottom:
> ds::wait:/home/eclipse/libx-gtk-examples/display/display
> 
I think that you can just specify the client program on the end of the 
startx command line normally, so you could try:

x::wait:/usr/bin/startx /home/eclipse/libx-gtk-examples/display/display

(assuming that this way of starting X works OK). I haven't tried this 
on a TS platform, it's just general X procedure. You can alternatively 
list one or more applications in .xintrc in the user's home directory 
if you use startx.

Regards

John


------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU