[EMAIL PROTECTED] wrote:
>
> I need the system to login automatically as a specific user (like root :).
> The computer has no keyboard, so manual login is not possible.
> Then I have to start X, lauch my realtime system and its GUI, but
> that should be no problem once I'm logged in.
Hi,
I use clusters machine with rtlinux and without any keyboard.
You have 2 solutions (certainly more ...) easy to do:
1) you have a minimal system, in this case, the first thing the kernel
does is calling initrd which use /etc/rc file as booting script. So if
no special thing needed, just write an init script
mounting file systems (if needed)
bringing up network (if needed)
!! don't forget to do ldconfig inside to initialise the elf libraries !!
insmoding rtl modules
insmoding your modules
launching X server
then in your /etc/xinitrc , launch your X-app.
I use this solution and it works fine ... no user logging needed !
2) you have a complete system, in this case, look at /etc/inittab file
which contains (at the middle-end) what to launch on each console
(generally 1:2345:respawn:/sbin/mingetty tty1 ...) then change
/sbin/mingetty with your running script doing what needed.
For X window, I use lwm windows manager which very light (I modified it
to remove the mouse cursor and center the app-window ..) and use xinitrc
file which tell Xserver what to do, to launch automatically your Xapp.
Chris.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/