LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Auto run STARTX (https://www.linuxquestions.org/questions/linux-newbie-8/auto-run-startx-81349/)

Neb 08-12-2003 02:35 PM

Auto run STARTX
 
When I login at the text prompt I subsequently have to type STARTX to get the gui running.

How do I automate this?? I know there's a file I need to modify somewhere, but I haven't been successful at locating it.

Could you indicate which file and what I need to edit?

Thank you,
Neb

contrasutra 08-12-2003 02:38 PM

in your home directory, edit (or create) a .bash_login file and add:

startx



Notice the period before the file name.

veteq99 08-12-2003 03:04 PM

edit your /etc/inittab
and change

id:5:initdefault:

to

id:3:initdefault:

5 - graphic interface (startX)
3 - text interface

Neb 08-12-2003 03:14 PM

Dude! That was easy. Thank you!!!!


All times are GMT -5. The time now is 11:32 PM.