LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   When i reboot and log in im still in command prompt (https://www.linuxquestions.org/questions/slackware-installation-40/when-i-reboot-and-log-in-im-still-in-command-prompt-278098/)

RynoFly 01-15-2005 11:23 AM

When i reboot and log in im still in command prompt
 
hello,
i installed slackware 10 and everything when just fine. I boot up my comp via LILO on a floppy and i log in as root. Now usually after login my old redhat would go ahead into the desktop. Do i have to set it up to go to a desktop envornment? How do i get here? did i install wrong? I'm still new to linux :)

druuna 01-15-2005 11:30 AM

Hi,

In your /etc/inittab file change this:

id:3:initdefault:

to

id:4:initdefault:

Hope this helps.

RynoFly 01-15-2005 11:39 AM

umm how do i change it? im still new to linux.lol. aso what will that do? Is it somthing i did wrong during installation?

mastermindNYC 01-15-2005 11:42 AM

1- At your command prompt type xwmconfig and select your window manager/desktop environment from the list of options.

2- After that's done, type startx and it will go to the desktop.

RynoFly 01-15-2005 11:47 AM

i'll try that thank you. i'll post a new reply after i try it. :)

druuna 01-15-2005 12:00 PM

Hi,

Quote:

umm how do i change it?
Being root do the following:

To make sure you have a backup of the original file:
cp /etc/inittab /etc/inittab.org

If any of the below does not work and render your /etc/inittab useless you can always replace it by the original by doing cp /etc/inittab.org /etc/inittab.

vi /etc/inittab

Goto the line that reads id:3:initdefault: using your arrow keys and put your cursor on the 3.

Press r4
Press wq

You should have exited vi and returned to the commandline.

To check if the line was indeed changed: grep initdefault /etc/inittab
The line shown should show a 4 instead of a 3.

After the next reboot you should end up in a GUI environment.

For X related info:
http://www.slackware.org/config/x.php

Quote:

aso what will that do?
There are different runlevels (RL) and what they are used for:

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

In simple, human readable terms: 3 will give you commandline mode and 4 a gui.

Quote:

Is it somthing i did wrong during installation?
Nope.

RL 3 is the default runlevel for Slackware (and should be for other linux/unix distro's).

More and more disrtro's (RH, Suse, knoppix etc) start in gui mode, which is RL 5 (or 4 in Slackware's case). Officialy 5 is for GUI mode and 4 is free/reserved.

Hope this clears things up a bit.

RynoFly 01-15-2005 03:50 PM

wow thank you for that walkthrough and that info. This will be a big help because i'll actually know what im doing! I'm glad i made this post.

RynoFly 01-15-2005 10:43 PM

everything works im in kde and i got a desktop now i just gotta figure out how to get linux to get onto the internet. i ran netconfig and everything

masand 01-16-2005 10:59 PM

use KPPP to connect to the internet if u have kde


All times are GMT -5. The time now is 07:04 PM.