LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change to GUI as default login (https://www.linuxquestions.org/questions/linux-newbie-8/change-to-gui-as-default-login-781761/)

konzo 01-12-2010 01:46 PM

Change to GUI as default login
 
I want to make my system load in GUI to login. I set Login Manager in KDE, and found in google inittab. There maybe I have to change run level from 3 to 4 (X11 with KDE), but I am not sure to change the file. I am afraid to broke my system.

Do I have to change run level in inittab to boot in GUI?

Other way is to make image of the partition and to try it...

GrapefruiTgirl 01-12-2010 01:48 PM

Yes, inittab is usually the way to do what you want.

Edit the file as root, and look for a line like this:

Code:

id:3:initdefault:
And change the 3 to a 4:

Code:

id:4:initdefault:
Sasha

brianL 01-12-2010 01:51 PM

Easiest way is to edit it with kwrite, in the terminal enter:
Code:

kdesu kwrite /etc/inittab
(enter root password)
and change the 3 to 4 in this line:
Code:

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

Faster typers! I'm sick of 'em! :)

konzo 01-12-2010 02:28 PM

Life isn't easy :)

Thank you both!

GrapefruiTgirl 01-12-2010 02:30 PM

Life's not easy, no; but that runlevel fix was, huh?

:) Happy trails.

Sasha

konzo 01-12-2010 02:36 PM

Yeah it was, but it log me automatically. I was thinking that I will have to type user and password. I just want to omit startx.

There is no full happiness :)

GrapefruiTgirl 01-12-2010 02:42 PM

That's something you need to configure in the "Settings" manager somewhere. I am surprised that it defaulted to logging you in automatically :scratch:, but it certainly isn't the way I would leave it.

Using KDE, Go into the settings manager (usually as root, using `kdesu` from a console) and check the settings for your Login Splash and/or Login Manager. It should be relatively easy to find these settings if you poke around enough.

I'm no longer using KDE, or if I were, I'd trace the steps for you. If you cannot find the right items to fix this, let us know. Someone will help.

Sasha

konzo 01-12-2010 03:57 PM

Don't know why, but kdesu don't work in my machine. Anyway I know what you are saying. Auto-login was not default - I am too curious and click every option. Now I fix it and everything is ok.

First time is always hard.


All times are GMT -5. The time now is 05:21 PM.