LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-19-2004, 12:33 PM   #1
streetmagic
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat, XP
Posts: 1

Rep: Reputation: 0
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 please keep it as simple as possible.
Thanks in advanced for you help
streetmagic
 
Old 10-19-2004, 01:07 PM   #2
leadsling
Member
 
Registered: Nov 2003
Location: Savannah, GA
Distribution: Mandriva 2008, Vector 5.8 VM
Posts: 65

Rep: Reputation: 15
Cool

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

DON'T DO IT!!!

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!
 
Old 10-19-2004, 01:47 PM   #3
mtaylor57
Member
 
Registered: Jun 2004
Location: Houston
Distribution: Suse, Redhat
Posts: 48

Rep: Reputation: 15
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.
 
Old 10-19-2004, 06:27 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 07-07-2005, 09:29 AM   #5
NewKreation
LQ Newbie
 
Registered: Mar 2004
Location: Virginia Beach
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 07-09-2005, 12:51 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
If you look in the kdmrc file, it's pretty obvious.

The parameter names describe what you need to change.
 
Old 07-09-2005, 03:56 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
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.
 
Old 07-10-2005, 10:16 PM   #8
RoofRabbit
Member
 
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
Quote:
Originally posted by NewKreation
BTW, Windows makes it very easy to automatically login as administrator.
Please don't confuse Linux security with micro$oft illusions of security.
 
Old 07-12-2005, 10:05 AM   #9
NewKreation
LQ Newbie
 
Registered: Mar 2004
Location: Virginia Beach
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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
 
Old 07-14-2005, 02:08 AM   #10
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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.
 
Old 07-14-2005, 11:43 AM   #11
NewKreation
LQ Newbie
 
Registered: Mar 2004
Location: Virginia Beach
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 07-14-2005, 08:42 PM   #12
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting NT and XP directly--???? ur-unholyness Linux - Newbie 5 10-22-2004 10:00 AM
booting lycoris desktop/lx from lilo combrains Linux - General 2 09-24-2004 09:28 PM
What's involved in having a webcam update directly to my desktop ? jonathanc Linux - General 0 04-16-2004 12:09 PM
Computer locks up after booting SuSE 9.0 to the desktop. massageman Linux - Software 2 01-26-2004 07:56 PM
red hat 9 desktop freezes after booting into it mjp Linux - General 2 11-17-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration