LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   booting directly into desktop (https://www.linuxquestions.org/questions/mandriva-30/booting-directly-into-desktop-244690/)

streetmagic 10-19-2004 12:33 PM

booting directly into desktop
 
i was wondering if it is possible to boot mandrake directly into the desktop (KDE) without going through the boot loader, and automatically login as root. as i am a :newbie: please keep it as simple as possible.
Thanks in advanced for you help
streetmagic

leadsling 10-19-2004 01:07 PM

I'm sure that there is a way to totally bypass LILO but I don't know it offhand. You can lower the time it takes LILO to start booting the default OS to about 1/10 second. You can also have the system automatically boot into KDE and log in a user. Start the Mandrake Control Center and then select boot. You can change both items there. Now about automatically logging in as root..........

:tisk: DON'T DO IT!!! :tisk:

If there is something you need to run as root, it is better to open a terminal and type:

su followed by the root password. You can then run a program as root. For example, you want to edit your /etc/fstab file. Open a terminal such as Konsole, then type su, root password, then kwrite (or your favorite editor) The program will run and you can from there open up your file to edit. When you are finished, you close your program and everything else is still as a user. The problem with logging in as root is that it is way to easy in a root GUI to screw up your system. A couple of wrong clicks and you're toast!

mtaylor57 10-19-2004 01:47 PM

I dont' think you want to bypass LILO...I think what you're trying to ask is how to auto-login from the KDM(?) login screen?

Click on your "Start" button (usually a star), and click system => configure your computer.
Enter root password
Click on Boot
Click on Auto Login, choose your options.

Done.

opjose 10-19-2004 06:27 PM

By default you cannot autologin as root as this is considered a huge security risk.

However if you are fairly confident in your own ability not to do something stupid, (I'm not, as a 20 year unix veteran, I've managed to accidentally type rm -rf xxx * omitting an important backslash!) you CAN enable this.

To do so you'll have to edit the kdmrc file and add root to the appropriate entries.

NewKreation 07-07-2005 09:29 AM

Quote:

Originally posted by opjose
...To do so you'll have to edit the kdmrc file and add root to the appropriate entries.
Can you elaborate please?

I am very new to this and do not know what the appropriate entries are to automatically login as root.

BTW, Windows makes it very easy to automatically login as administrator.:cool:

opjose 07-09-2005 12:51 PM

If you look in the kdmrc file, it's pretty obvious.

The parameter names describe what you need to change.

XavierP 07-09-2005 03:56 PM

Quote:

Originally posted by NewKreation
Can you elaborate please?

I am very new to this and do not know what the appropriate entries are to automatically login as root.

BTW, Windows makes it very easy to automatically login as administrator.:cool:

Being able to log in automatically as Administrator or as Root is a very bad thing. If your system is cracked by a malicious outsider, or booted up by someone who does not care if they damage your system, you could lose everything or be taken over.

Linux makes you create a limited user account for a very good reason - to try to help prevent you having to wipe your system clean after an attack.

RoofRabbit 07-10-2005 10:16 PM

Quote:

Originally posted by NewKreation
BTW, Windows makes it very easy to automatically login as administrator.:cool:
Please don't confuse Linux security with micro$oft illusions of security.

NewKreation 07-12-2005 10:05 AM

These are some great forums!

I found the entries in the /usr/share/config/kdm/kdmrc file and it works!

"Obvious" Entries:
AutoLoginEnable=true
AutoLoginUser=root

tkedwards 07-14-2005 02:08 AM

Quote:

BTW, Windows makes it very easy to automatically login as administrator
mtaylor57 told you the easy way to set this up using the GUI, so I would say that its just as easy to setup auto-login in Linux as it is in Windows. The only things is by default Linux won't let you auto-login as root because its a big security risk. Also you'll find that Mandrake has deliberately altered the default settings on the root account to make it difficult to use the GUI, to discourage you from logging in as root.

NewKreation 07-14-2005 11:43 AM

Quote:

Originally posted by tkedwards
mtaylor57 told you the easy way to set this up using the GUI, so I would say that its just as easy to setup auto-login in Linux as it is in Windows.
I agree, it was easy...after trying several other convoluted methods posted on LinuxQuestions prior to finding this one.

tkedwards 07-14-2005 08:42 PM

Haha, that's Linuxquestions for you - you get told 5 to 10 different ways to do something but only one is the best or easiest way. :cool:


All times are GMT -5. The time now is 10:06 PM.