LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-03-2017, 11:47 PM   #1
frisbee77
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Rep: Reputation: Disabled
Unhappy linux gdm user does not exist error


hello everyone, i'm a beginner in using linux and have been given a task to maintain an application that is installed using linux OS 5.

I recently restarted the server and its showing a dialogue stating
"the gdm user 'gdm' does not exist.please correct gdm configuration and restart gdm"

when i press esc it allows me to enter the login and password.
i have tried with the prevailing username and password but it says "Login incorrect".

I'm not being able to login to the system due to this error.
plz guys help me out i'm facing a major crisis is there any way to reset the user or create a user without login in??
plz help me
 
Old 12-04-2017, 09:06 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,515
Blog Entries: 15

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
You say "linux OS 5" - could you elaborate? Is that RedHat Enterprise Linux 5 (RHEL5)? CentOS5? Some other 5?

Linux is a generic term - there are many "distributions" such as RHEL, CentOS, Debian, Ubuntu, Suse, SLES, Slackware, LFS etc...
 
Old 12-05-2017, 06:04 AM   #3
frisbee77
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for taking the time,

The linux version is " Red Hat Enterprise Linux 5, release 5.8, kernel version is 2.6.18-308.24.1.e15"
I Tried the single sign on method but it is still showing "login incorrect".

Last edited by frisbee77; 12-05-2017 at 06:05 AM.
 
Old 12-05-2017, 08:06 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,214
Blog Entries: 12

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Hi frisbee77. RHEL 5 ended production I think in 2014 and is scheduled to be off long term support in 2020. It is a commercial version of Linux.

You've been given a very difficult task, but since you say you've been given this task, then this seems to be either for work or for an organization. Therefore long ago, they likely purchased RHEL and got support, which they can renew or purchase more of.

You'll likely have to boot this system using a live media and try to fix it that way. Why it won't boot into single user mode is beyond me since this would not require GDM. Was the error different when trying single user mode?
 
Old 12-05-2017, 08:15 AM   #5
frisbee77
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi rtmistler

Thanks for taking the time,

And no it doesn't give any other error except "login incorrect".

I did some googling n found out that one can install gdm user but,wasn't able to find any gud article on how to do it prior to login..if there is some way to repair the os could you please send me links as to where I can get the patch. And if it's possible could you please guide me in repairing the os.
Thanks again
 
Old 12-05-2017, 08:31 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 7,214
Blog Entries: 12

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
As far as repairing that exact OS, you'll need to speak to RedHat.

Your other option is to do a fresh install.

Is this a production server? That is a very specific machine, and also one which usually will not have a window manager. Why does this system have GDM on it?
 
Old 12-05-2017, 08:38 AM   #7
frisbee77
LQ Newbie
 
Registered: Dec 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yup, its a production server. I think gdm is for security reasons..ok guess I'll hav to speak to red hat..thanks for Ur input..really appreciate it
 
Old 12-05-2017, 11:45 AM   #8
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,515
Blog Entries: 15

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
You can change the root password for RHEL5 by booting into single user mode. (Since you say this is Production you'd have to do it off hours and using any change control process your company has.)

1) On console run "ctrl-alt-del" to reboot the server. .
2) At RedHat GRUB prompt to hit any key to interrupt boot.
3) In menu that appears select the kernel line then hit "e" for edit. In kernel line that appears add "1" to the end of the line then hit "b" to boot.
4) Once booted into single user mode mount /usr (and maybe /var).
5) Save a copy of /etc/passwd.
6) Run "passwd" to change root's password and follow the prompts.
7) Reboot again (shutdown -r 0) and let normal boot complete.
(Technically you could use init to change run level to multiuser level but that sometimes seems not to be as clean as a
full reboot).

P.S. RHEL5 went EOL in March 2017. You can pay for extended support ($$$) after that but really you should be planning on migrating at least to RHEL6 (which has a 2.6.x kernel like RHEL5) at a minimum or better yet RHEL7 (which has a 3.x kernel) if possible. RHEL6 will go EOL in 2020. There are already things in RHEL5 that don't work and won't be fixed such as the fact RHEL5 can't do TLSv1.1 and higher - most sites are using TLSv1.1 or TLSv1.2 now and TLSv1.3 is coming.

Last edited by MensaWater; 12-05-2017 at 11:48 AM.
 
Old 12-06-2017, 12:18 AM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,482

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
gdm is gnome-display-manager. It's used to log into the gnome DE. You could try CTRL+ALT+F2 to get to a terminal and do the repair from there.
 
1 members found this post helpful.
  


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
GDM user 'gdm' does not exist AN28 Linux - Newbie 1 10-25-2013 03:50 AM
gdm user does not exist tulsi Linux - Newbie 1 11-05-2009 10:35 AM
Problems with GDM (GDM user does not exist error) utkarshrawat Linux - Software 1 09-25-2007 09:39 AM
GDM doesn't work: Authdir /usr/var/gdm does not exist jimhap Linux - Newbie 11 06-08-2007 05:22 PM
Solution to Mdk 9.1 gdm user doesnt exist problem gn000we Mandriva 0 12-14-2003 05:08 PM

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

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