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 12-22-2008, 02:28 AM   #1
ashwini.naidu
LQ Newbie
 
Registered: Dec 2008
Posts: 13

Rep: Reputation: 0
Root login for GUI


Hello,
I am using Debian machine. I had crashed the GUI. With the help of apt-get i installed the x-window-system (KDE). Using the GUI i am unable to login as root. but on the command prompt it is allowing me to login with same password for root.

if i enter the username as root and password

it displays a warning "ROOT logins are not allowed"

Help needed.

Thank you in advance
 
Old 12-22-2008, 02:53 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
It disallows this because you should never need to run a full gui environment under root. Since you generally only need root permissions for administrative functions, it should be sufficient to su into a root shell or use sudo to do whatever you need from a regular user account. If you need to run a gui program as root, there are ways to do that within your current user's X session, such as launching the program with kdesu.

If you'll tell us exactly what you're trying to do with your root login attempts, I'm sure we can give you some advice on how to accomplish it in a more secure fashion.
 
Old 12-22-2008, 03:13 AM   #3
ashwini.naidu
LQ Newbie
 
Registered: Dec 2008
Posts: 13

Original Poster
Rep: Reputation: 0
It is a server. i need the gui for further use.
 
Old 12-22-2008, 03:17 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Though it is a server, root logins are not allowed in graphical interface. If it is a server and you an administrator, you will need to perform all the admin tasks through terminal only. This is a security thing that debian and some other distros like Ubuntu keep upto to secure your system.
Also, if it is a server why do want to install kde on it and use resources that you might use otherwise for what server is put.

Last edited by linuxlover.chaitanya; 12-22-2008 at 03:19 AM.
 
Old 12-22-2008, 04:39 AM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,591

Rep: Reputation: 162Reputation: 162
GUI as root is like running around your neighborhood without clothing, screaming 'shoot me', repeatedly.
 
Old 12-22-2008, 04:55 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
Now that should explain good way why root logins in GUI are bad or how bad it can be.
 
  


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
root login to GUI Red Barchetta Linux - Newbie 1 03-19-2007 04:58 AM
Couldn't GUI login as any other user than root rugdude Suse/Novell 3 03-19-2007 04:11 AM
Can't login as root in GUI ashutosh mehra Linux - Desktop 3 08-28-2006 06:07 PM
GUI root login? LinuxSeeker Linux - General 6 02-15-2004 09:02 AM
Mandy 9.1 and gui root login??????????? bsm2003 Linux - Distributions 17 05-30-2003 12:23 PM


All times are GMT -5. The time now is 02:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration