LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-04-2003, 04:14 PM   #1
tumnus
Member
 
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60

Rep: Reputation: 15
configure x from command line?


hi
i was setting up redhat 8, and had just finished package stuff, but the power decided to go out before i could setup the x stuff
so upon rebooting, all i get is the command line

and startx doesnt work because x was never setup :\

is there a way to configure x and get it to start with startx from the command line? and how would i make it autostart x always after it is set up?

thanks
 
Old 02-04-2003, 04:21 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
try xf86config. once it's set up you'll need to change your system to boot into runlevel 5, which you can probably do in one of redhat's tools, but i don't know about them. the "hardcore" way though is to open /etc/inittab and change "id:3:initdefault:" to "id:5:initdefault:" if it's not already.
 
Old 02-04-2003, 04:28 PM   #3
tumnus
Member
 
Registered: Apr 2002
Location: La Jolla, CA
Distribution: Redhat 8.0
Posts: 60

Original Poster
Rep: Reputation: 15
ok
i am actually at a different computer right now
but i will try it out tommorow and see if it works :P

thanks a bunch
 
Old 02-13-2003, 06:15 PM   #4
heck
LQ Newbie
 
Registered: Jan 2003
Location: Canada
Posts: 19

Rep: Reputation: 0
Hi,

I'm trying to have x start automatically also. I'm using Redhat 8 and when i boot... it does directly to the shell prompt.

I tried changing the inittab file but i don't have permission to write the file nor permission to change the permissions on the file.

Any other way of doing this pls?

Thanks.
 
Old 02-13-2003, 06:23 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by heck
Hi,

I'm trying to have x start automatically also. I'm using Redhat 8 and when i boot... it does directly to the shell prompt.

I tried changing the inittab file but i don't have permission to write the file nor permission to change the permissions on the file.

Any other way of doing this pls?

Thanks.
You need to be root in order to do that. Login as root, or type in a terminal:

su -

and enter your root password. After you're logged in as root, follow the instructions provided by acid_kewpie.
 
Old 02-13-2003, 06:32 PM   #6
heck
LQ Newbie
 
Registered: Jan 2003
Location: Canada
Posts: 19

Rep: Reputation: 0
lol... duh.

Thanks!
 
  


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
Who to configure eth0 to use dhco from command line waelaltaqi Linux - Networking 3 11-18-2005 07:36 PM
Configure DNS printer via CUPS command line adagbg Red Hat 0 03-09-2005 11:46 AM
Configure FC1 firewall in command line codyz062003 Linux - Security 1 12-12-2004 10:05 PM
Configure "X" for KDE- From the command line. DeltroX Mandriva 0 11-28-2004 06:34 PM
configure lucent win modem at command line rioguia Linux - Hardware 1 01-26-2003 08:39 AM


All times are GMT -5. The time now is 10:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration