Click to See Complete Forum and Search --> : graphical logins


mitzman
02-11-2000, 05:04 PM
If i want to change from the text based login to a graphical (kdm) login, how do i go about modifying the startups for it.

-d

------------------
You can change your name to Homer Junior. All the kids can call you HoJu.

Thee_Seth
02-11-2000, 07:33 PM
hmmmmmmmmmmmmmmm if I only knew what OS you are using
I know in Redhat you could do
pico /etc/inittab
and put a # in front of the line that starts with :
x:5:respawn:/etc/X11/
ex:
#x:5:respawn:/etc/X11/
and make a new line under it that says
x:5:respawn:/etc/X11/kdm
or make it easier and run Xconfigurator or yast of whatever X config prog you got
and click the option that you desire
OH BTW
the 5 means it will start in console mode
the 3 meane it will start in X login mode
http://www.linuxnewbie.org/ubb/biggrin.gif

[This message has been edited by Thee_Seth (edited 11 February 2000).]

mitzman
02-11-2000, 08:57 PM
so then couldn't i just change the 5 to a 3?

-d

ST-Hack
02-13-2000, 07:50 PM
I'm not absolutly sure about this, but you can use your boot loader command (I'm assuming LILO) to specifiy which "run level" you will start in:

LILO: linux 5

Of course this is only good for that session, but I think it will automatically get you into an X logon screen. The first suggestion will make whichever run level good for all sessions.

ST

:strain:
02-13-2000, 08:30 PM
i'm not using LILO (loadlin) but anyway
i read that the command is linux init 4 (5 if you use redhat)

------------------
::peace::

cisco
02-17-2000, 11:35 AM
The easiest way to change from a text to graphical login or visa versa is to use "linuxconf". you can type it in at the command line you you can open the control panel in gnome and click on the last icon.

go to the section dealing with LILO and one of the areas will have selection box were you can chose a text login with networking or a graphical login. Choose graphical for X based login. If you do this it is best to reboot the PC for the changes to take effect. When you do this you will see the text login screen come up(don't panic) and about 2 seconds later X will come up. You can also change the manger you want at this login screen. If you don't use Gnome you can still install linuxconf. :-)

kuit
02-24-2000, 08:13 PM
Thank You !

I've been struggling with this prob for a few days, too. With Mandrake the setup utillity likes to change this setting on you.

http://www.linuxnewbie.org/ubb/smile.gif http://www.linuxnewbie.org/ubb/smile.gif http://www.linuxnewbie.org/ubb/cool.gif

Goran
06-14-2001, 12:28 AM
How would you do this for Mandrake 7.2? I installed it once and got a graphical login which allowed me to select the user as well as which windows manager I wanted. :mad:

Xsecrets
06-14-2001, 12:56 AM
For every linux distro I've used you can change that in the inittab by changing your runlevel.

1=single
3=multiuser text
5=multiuser graphical
6=reboot (although I still haven't figured out the use for this exept to really anoy someone.) :eek:

Craig McPherson
06-14-2001, 01:13 AM
Debian doesn't do that.

In Debian, runlevels 2-5 are all identical unless you customize them.

Don't forget runlevel 0: shutdown. Similar to reboot, except that it shuts down instead of rebooting.

Runlevel 6 (and 0) is extremely important. All that the shutdown command does is switch the system to a different runlevel. Shutdown -r switches to runlevel 6, shutdown -h switches to runlevel 0. If it weren't for runlevel 6, you couldn't reboot your system!

bdg1983
06-14-2001, 04:52 AM
Yes, those of us that like to pretend we're leet just do "init 6" after we install a new kernel (since kernel installs and hardware upgrades are the only reason anyone should ever have to reboot).

Shutdown -r is for the weak. ;)

cga
06-14-2001, 01:33 PM
How would you do this for Mandrake 7.2? I installed it once and got a graphical login which allowed me to select the user as well as which windows manager I wanted

The easiest way, though not glamorous, is to go into the control pannel and run the setup graphics thing. One of the steps ask if you want to use the graphical login.

Xsecrets
06-14-2001, 10:24 PM
sorry craig I wasn't aware that debian didn't diferetiate 2-5 and I use debian, but never use graphical login and when it acidentally installs it I just change the S to K in the ect/init/rc2.d folder for the display manager.

good info to know though.