UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Somewhere there's a configuration file that enables you to login as root.
I know it because approximately one year ago I installed Kubuntu 6.06 for the first time, and I do remember that I once edited a file somewhere with this line: enable root login true/false.
Now I thought to find it in the System Administration section of the System Settings, in the login manager window.
But it's not there.
If you know an answer to this little problem, please let me know.
#sudo su -
You are required to change your password immediately (root enforced)
su: Authentication token is no longer valid; new one required.
(Ignored)
root@ubuntu:~#
And now? I mean I want to login as root in a shell and then start the x-server...
I can perform all kinds of admin tasks with the help of System Settings, just by entering my user password. That I want to change.
For some tasks it is easier to run KDE as root.
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83
Rep:
In the default Ubuntu setup you can do that with your regular password. Type
sudo su after logging in with your regular user. Your password will be required once again. Then you'll have a root shell. Try start the X server from there.
sudo passwd root allows you to specify the root password and that way 'enables' the root account.
Not sure how to enable graphical root login in kubuntu. In Ubuntu, you can enable it in gdm.conf (section security > AllowRoot).
Ooops... Just realized that people have answered to the initial question...
I will agree with deepclutch though... It is an extremely bad idea to login to X as root. It is like converting your ubuntu box into windows... (well, not THAT bad but quite similar...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.