LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2008, 04:46 AM   #1
jani1982
LQ Newbie
 
Registered: Mar 2008
Posts: 29

Rep: Reputation: 15
login as root


how can i log in as root from graphical login screen?

Linux Archive

Last edited by jani1982; 03-31-2008 at 08:59 AM.
 
Old 03-18-2008, 05:14 AM   #2
malcarada
Member
 
Registered: Feb 2008
Distribution: FreeBSD, Debian
Posts: 31

Rep: Reputation: 16
In my distro you type at the command shell:

su

From X, you just enter the user:

root

Last edited by malcarada; 03-18-2008 at 05:16 AM.
 
Old 03-18-2008, 05:43 AM   #3
wificraig
Member
 
Registered: Jan 2008
Location: Southern Oregon
Distribution: Laptop: DesktopBSD1.6, openSuse11, Mandriva, Mepis7, BackTrack3....USB: Mandriva2009, Debian-Lenny,
Posts: 82

Rep: Reputation: 16
Depends on Desktop Environment

In KDE, search for kdmrc file (etc/kde3/kdm/kdmrc ???). Open an editor as su and edit the file. There should be a line "AllowRootLogin=false" change it to true.
 
Old 03-18-2008, 05:50 AM   #4
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
I hope your not planing on running your distro as root! it's not a good idea at all. You should only run xserver in a user environment then if you need to do anything that requires you to be root, you can su from a terminal, use sudo or most GUI apps that need to be run as root will prompt for a root passwd.
 
Old 03-18-2008, 07:49 AM   #5
manustays
LQ Newbie
 
Registered: Mar 2008
Location: India
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
In Gnome, just go to System>Administration>Login Window
There, in Security tab, select "Allow Local System Administrator Login"
Now from ur login screen u can give login id as "root"

U also need to set ur root password from "Users and Groups" under Sstem>Administration.
And i agree to mrrangerman, its not a good idea to work as root...
 
Old 03-18-2008, 08:03 AM   #6
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
root login on Fedora Linux

On Fedora's graphical login screen it is the same as with any other user login: I simply type 'root' into the username, type the password into the password field and that's it.

The system will notify me that it's not a good thing to run everything as root (that is actually true), but even system administrator tasks are easier when done in GUI tools.

Only difference for remote logins via vncserver is that the system has to have remote root login enabled, but that is something that you should really avoid.

In the end it depends on your Distribution. I'm very satisfied with Fedora Linux. It works for me!

Hope this helps,
Regards,
SIMP

Debian User

Last edited by simplicissimus; 04-02-2008 at 05:41 AM.
 
Old 03-18-2008, 01:50 PM   #7
jani1982
LQ Newbie
 
Registered: Mar 2008
Posts: 29

Original Poster
Rep: Reputation: 15
sorry for the incomplete post, actually i am using ubuntu.
 
Old 03-18-2008, 01:57 PM   #8
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
use "sudo" in front of what you want to open from a terminal. It will then ask for your password.
 
Old 03-18-2008, 10:59 PM   #9
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
type sudo i in terminal. For complete reference, go to ubuntu official website
 
Old 03-18-2008, 11:22 PM   #10
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,624
Blog Entries: 4

Rep: Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998Reputation: 2998
As others have said, it is not recommended to do a graphical login as 'root' ... because it's tempting to do everything as 'root' and since it can do anything you'll soon shoot yourself in th
CRITICAL SYSTEM LIBRARY DELETED - SYSTEM HALT

Oops.
 
Old 03-18-2008, 11:45 PM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Using Ubuntu root logins are disabled. So don't do it. Use sudo after logging in as a regular user. Administration programs that need to be run as root will ask for the root password.

Please include your distro in your user profile. It will help solicit answers which may be different due to distro differences.

Last edited by jschiwal; 03-18-2008 at 11:47 PM.
 
Old 03-19-2008, 08:43 PM   #12
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
If you want to start a graphical program as root from the launcher (alt-f2) put "gksu" before the program name.
 
  


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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 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