LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2003, 02:35 PM   #1
Neb
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat, SuSe
Posts: 29

Rep: Reputation: 15
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
 
Old 08-12-2003, 02:38 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

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

startx



Notice the period before the file name.
 
Old 08-12-2003, 03:04 PM   #3
veteq99
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
edit your /etc/inittab
and change

id:5:initdefault:

to

id:3:initdefault:

5 - graphic interface (startX)
3 - text interface
 
Old 08-12-2003, 03:14 PM   #4
Neb
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat, SuSe
Posts: 29

Original Poster
Rep: Reputation: 15
Dude! That was easy. Thank you!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Startx auto start of programs (With Fluxbox) jimdaworm Slackware 4 12-03-2003 05:55 PM
can't run startx avram Debian 5 10-20-2003 03:49 PM
Startx cannot run twice esael Slackware 2 10-11-2002 09:06 AM
cannot run startx juno Linux - General 8 10-03-2002 01:57 PM
Auto Logon and Auto Run OKCHelpDesk Linux - General 0 05-03-2002 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration