Manas,
I did the following and it worked for me (although maybe someone else can give you a better/alternative solution). This solution is based on the howto at http://ubuntuforums.org/showthread.php?t=152274 1. Create a file autologin.c and add the following line of code to it: a. int main() { execlp( "login", "login", "-f", "root", 0); } 2. Compile the autologin.c file. This can be done either on the host system with cross-compile or the target system natively. For the target system do: a. gcc autologin.c -o autologin 3. Copy the autologin executable to /usr/local/sbin 4. Open /etc/inittab on the target file system and change the line "con:2345:respawn:/sbin/getty console" to "con:2345:respawn:/sbin/getty -n -l /usr/local/sbin/autologin console" 5. Change directory on the target file system to /root and create a .bash_profile file with the following line: a. startx & I hope this helps. Let me know if it does and I'll add this information to the DaVinci Wiki. Sincerely, Chase Maupin Software Applications Catalog DSP Products e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> phone: (281) 274-3285 ________________________________ From: manas lenka [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2008 2:21 PM To: Maupin, Chase Cc: [email protected] Subject: By passing login for DVEVM and start startX(For X-window ) Hi, I want to by pass the root login as I want my system(DVEVM) to start automatically some application after power-on. I have read in the mailing list about your post (about S88demo script in /etc/init.d).But unfortunately I have formatted my hard disk and right now I am unable to access that script content). Can u send me that script or tell me what to write in the script so as to bypass root login and start X-window by running startX. Thanks In Advance. MANAS KUMAR ________________________________ Bring your gang together. Do your thing. Find your favourite Yahoo! Group. <http://in.rd.yahoo.com/tagline_groups_9/*http:/in.promos.yahoo.com/grou ps/>
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
