LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   login as root (https://www.linuxquestions.org/questions/linux-newbie-8/login-as-root-628873/)

jani1982 03-18-2008 03:46 AM

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

Linux Archive

malcarada 03-18-2008 04:14 AM

In my distro you type at the command shell:

su

From X, you just enter the user:

root

wificraig 03-18-2008 04:43 AM

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.

mrrangerman 03-18-2008 04:50 AM

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.

manustays 03-18-2008 06:49 AM

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

simplicissimus 03-18-2008 07:03 AM

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

jani1982 03-18-2008 12:50 PM

sorry for the incomplete post, actually i am using ubuntu.

sleekmason 03-18-2008 12:57 PM

use "sudo" in front of what you want to open from a terminal. It will then ask for your password.

andreas_skw 03-18-2008 09:59 PM

type sudo i in terminal. For complete reference, go to ubuntu official website

sundialsvcs 03-18-2008 10:22 PM

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.

jschiwal 03-18-2008 10:45 PM

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.

oskar 03-19-2008 07:43 PM

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


All times are GMT -5. The time now is 03:48 PM.