cancel
Showing results for 
Search instead for 
Did you mean: 

how to restart my gdm....

prawin
Occasional Contributor

how to restart my gdm....

the GDM user 'gdm' does not exist.Please correct GDM configuration and restart GDM.
2 REPLIES
prawin
Occasional Contributor

Re: how to restart my gdm....

if i give the command gdm-safe-restart means it shows that
"Can't find the PID file in the configuration file, going to try:
/var/run/gdm.pid
/var/run/gdm.pid dosen't exist, perhaps GDM isn't running "
lisk this i got now what i have to do...
Matti_Kurkela
Honored Contributor

Re: how to restart my gdm....

Apparently the gdm-safe-restart is for restarting an already-running gdm. In your situation, gdm is unable to run.

In your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1441426

... you said you had accidentally deleted the root user.

The error message "the GDM user 'gdm' does not exist.Please correct GDM configuration..." indicates you had deleted the "gdm" user too. If you have a backup that includes /etc/passwd and /etc/shadow, please restore those files.

What *exactly* did you do when the problem appeared? Exact commands would be good to know, to estimate the extent of damage they caused to your system.

What is the name and version of your Linux distribution? (RedHat Enterprise Linux, RedHat Linux, SuSE, Debian, Ubuntu, other?)

The procedure to restart gdm (after you've restored the missing user ID) depends on the Linux distribution. You might want to try these commands:

telinit q
or
sh /etc/init.d/gdm start

MK
MK