Re: grub.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-07-11 at 12:57 +0000, tony.chamberlain@xxxxxxxxx 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






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux