LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error stopping gdm on shutdown ? (https://www.linuxquestions.org/questions/linux-newbie-8/error-stopping-gdm-on-shutdown-309093/)

penguinlnx 04-02-2005 08:18 PM

error stopping gdm on shutdown ?
 
Everytime I shutdown or log off, things go fairly smoothly except for one odd message:

stopping gdm...
error stopping gdm. [X]

Why is that, and how can I correct this?

Mara 04-03-2005 12:02 PM

Do you have GDM running? It may be that you just have it in the scripts, but not running (so the program can't find it and produces an error).

penguinlnx 04-03-2005 01:22 PM

hmmm....
 
Well, this is interesting. I thought (probably erroneously) that 'gdm' was another name for the Gnome GUI or some part of it. Since the GUI is running, if what you say is true, then I wonder what the 'gdm' is, and what it does?
And do I need it? Should it be running, preventing the error on shutdown, or should I edit some script that controls how the computer is shut down?

Mara 04-06-2005 03:28 PM

GDM is a program for graphical login. One of those that allow you to type your login and pass and window manager to use. It's a part of Gnome, but Gnome can be run from a different login manager and GDM can run KDE. If you can describe how your login screen looks like... The defaults are different for KDM (login manager from KDE) and GDM.

Can't find KDM screenshots at this moment. GDM looks this way: http://yippi.hypermall.com/gdm/index.shtml (it's highly configurable, so yours may be different).

penguinlnx 04-06-2005 07:41 PM

Hmmmm. I think you've found the clue to this problem...

My boot up screen begins in hi-res color (the install was a VLOS version of Gentoo) with a standing penguin background. You can have 'verbose' boot by hitting F2, which removes a layer to the graphic screen, and shows text commands scrolling by in color, like the log off.

Then, perplexingly, there is a sort of lower resolution 'black & white' screen, (still a graphic VGA) with a blank photo square on the left, and a sign-in box on the right, and a row of buttons along the bottom which include 'reboot' and 'shutdown'.

I don't know if this is a KDE or a GDM sign on front-end, but it automatically runs GNOME.

Mara 04-12-2005 05:06 PM

Quote:

Then, perplexingly, there is a sort of lower resolution 'black & white' screen, (still a graphic VGA) with a blank photo square on the left, and a sign-in box on the right, and a row of buttons along the bottom which include 'reboot' and 'shutdown'
It can be both GDM and KDM. Please look at the screenshots from link in my last post. First screen shows default GDM config. The picture on the left may be different. Does it look the same?

penguinlnx 04-12-2005 07:23 PM

Well, none of the screens in your link look like any of the stages of my bootups.

Mara 04-14-2005 02:50 PM

So it looks you're running kdm and that message is just because incorrect configuration (gdm is not started, so it's won't stop). To make sure run from command line
ps aux|grep kdm
ps aux|grep gdm
When you run first of the command you should get 5-6 lines of results. Second command - 1 or none.
(The commands show all processes having in their name kdm or gdm. The search command also counts, so it will be also shown in the gdm case).

TheRealDeal 04-20-2005 09:10 PM

Hello.

I too am having the problem. I am running gdm though.

ps -aux | grep gdm (returns this)

root 7903 0.0 0.4 8860 2264 ? Ss 11:55 0:00 /usr/bin/gdm
root 7913 0.0 0.5 9360 2964 ? S 11:55 0:00 /usr/bin/gdm
root 7983 5.6 5.8 45860 29964 ? S 11:55 0:17 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7


And in my /etc/rc.conf I have...

DISPLAYMANAGER="gdm"


No idea though. I have had this problem for ages and can't figure it out.

>Craig

penguinlnx 04-22-2005 12:54 AM

quick update:
 
I just have to mention that I have now reinstalled Gentoo using the LiveCD.
(an entirely different system than my VidaLinux1 install disk)
and amazingly, the same error on Shutdown happens. (stopping Gdm.... Error stopping Gdm [!!])

Kinda spooky....

FC3noob 05-07-2005 02:13 PM

Various fixes to this problem (although the message is apparently harmless :) ) exist at
see http://forums.gentoo.org/viewtopic.php?t=25772
Cheers


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