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-23-2008, 10:35 AM   #1
dladave
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Question have root password but cant log to desktop


i was given a machine with SuSE 9.0 and was able to boot it but when i get to the user login i cant log to desktop. I know nothing about linux but hope to learn. Also i need to change my resolution so my monitor doesnt go blank when i get to the login page...i do have the root pw...Thanks!
 
Old 12-23-2008, 10:45 AM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Details

How are you logging in?
 
Old 12-23-2008, 10:48 AM   #3
dladave
LQ Newbie
 
Registered: Dec 2008
Posts: 3

Original Poster
Rep: Reputation: 0
when i boot i hit delete and it had no password required to get into system.... i messed around in the bios and was able to get it to the user sign in page
 
Old 12-23-2008, 12:01 PM   #4
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
dladave

when i boot i hit delete and it had no password required to get into system.... i messed around in the bios and was able to get it to the user sign in page
What you are doing there is just entering the bios, this has nothing to do with the OS (Operating System). I don't have a lot of time but I can give you some hints on what to search for, do a search on this site for recovering root password or recover root passwd with live-cd
You can use a live cd to boot to to reset the root password.
 
Old 12-23-2008, 01:48 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
he said he has the root password..

Sounds like the problem is:

1: Graphics issue - can't see the screen once the system reaches the GUI stage of the boot (gdm/kdm/xdm)
2. Needs a normal user account so he can actually log into the GUI. root by default should not be able to log into the desktop.

I would boot the system then hit CTRL+ALT+F2 to get to a console.
Log in as root
add a non-privileged user adduser <username> now you should have auser you can use to log into the desktop.



Then reconfigure the Graphics on the system, you said this was Suse right ? so that would be sax2 but I think you want to be in runlevel 3 before reconfiguring X, so:


init3
sax2


Once X is reconfigured you can try logging into the desktop again.
 
Old 12-23-2008, 02:39 PM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Opensuse has when it startup a failsafe mode.
Choice the failsafe mode and it brings you the command line
Login as root
Start yast with the command yast choice yast>hardware>graphic card and monitor.
It will configure you're monitor and graphic card again .
If the settings are correct save it
If you goto user management you can also create a new user
logout as root
login as a user
Startx should start the xserver

Last edited by ronlau9; 12-23-2008 at 02:43 PM. Reason: add info
 
Old 12-24-2008, 03:31 AM   #7
tailender
LQ Newbie
 
Registered: Oct 2006
Posts: 27

Rep: Reputation: 15
some of the suse systems you cannot login into graphical user interface as root user. Same in the case of debian. You have to make a normal user and login to the system then use root password to do the administration work
 
Old 12-24-2008, 10:10 AM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Wink No idea abt suse , but dont not debian

Plz dont say in debian cant be logged as root thru GUI, i have no idea abt suse
just edit the file /etc/gdm/gdm.conf and find "allowroot" and assign true as its value
 
Old 12-24-2008, 02:37 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
He basically is saying that logging into the GUI as root is disabled by default in Debian as it should be. You should NOT log into your GUI as root, that is a really bad practice to get into. I've never ever found anything that needed done on a Linux system that had to have you logged into the GUI as root. Look into tools such as gksu, gksudo, kdesu, etc..

Saying you shouldn't do something, or the default setting is that something shouldn't be done, doesn't mean that it can't be done.

For example, You SHOULD NOT put your hand in the powered Mitre-saw before turning it on lowering the blade, but you certainly COULD if you wanted to. There is definitely a difference between should not, and could not.
 
  


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 password reset log cmsisb Red Hat 5 01-14-2013 05:49 PM
How to let several users log in to the internet - without root password frank320 Fedora 4 05-25-2007 10:34 AM
Run a .desktop as root without password prompt subquantum Mandriva 3 08-01-2005 12:38 AM
Cannot Log into MySQL root password I just set... k41184 Linux - Software 3 07-18-2005 11:57 AM
how to check root password reset log cmsisb Red Hat 1 04-11-2005 08:23 AM


All times are GMT -5. The time now is 05:58 AM.

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