grub.conf
Gilboa Davara
gilboad at gmail.com
Wed Jul 11 13:28:46 UTC 2007
On Wed, 2007-07-11 at 16:11 +0300, Gilboa Davara wrote:
> On Wed, 2007-07-11 at 12:57 +0000, tony.chamberlain at lemko.com wrote:
> > Hi
> >
> > Right now after our linux system is booted, the customer has to login
> > and then run
> > a program (standard linux procedure).
> >
> > They were asking me whether there was some way to automatically during
> > boot have the system
> > login and run a program? I know bash_profile will take care of part
> > of that, but the customer
> > would still have to log in. Any ideas? Probably with grub.conf?
> > Tony
>
> Simple:
>
> As root:
> Change initdefault (int /etc/inittab) to 3. (No X).
> Then edit rc.local and add "su -c 'xinit'"
>
> Now, as user X, create a new file /home/X/.xinitrc and add something
> like that.
>
> # You need a simple Window manager. MWM in this case.
> mwm &
> # Client application.
> client_software &
> # Add a screen saver just in-case.
> xscreensaver &
>
> - Gilboa
... Replace 'su -c' with 'su user_x -c 'xinit''
- Gilboa
More information about the fedora-list
mailing list