LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configure x from command line? (https://www.linuxquestions.org/questions/linux-newbie-8/configure-x-from-command-line-44087/)

tumnus 02-04-2003 03:14 PM

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

acid_kewpie 02-04-2003 03:21 PM

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.

tumnus 02-04-2003 03:28 PM

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

heck 02-13-2003 05:15 PM

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.

Texicle 02-13-2003 05:23 PM

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. :)

heck 02-13-2003 05:32 PM

lol... duh.

Thanks!


All times are GMT -5. The time now is 02:04 AM.