Re: What is the cleanest way to shutdown in a gnome-session?




On Mon, 30 Aug 1999, Dan Hensley wrote:
> 
> 1)  Device / was busy, so it forced a check on reboot.  This happens
> quite often, and I'm not sure of the cause.  I've only noticed it since
> I upgraded to 2.2.x kernel, and moreso now that I'm using gnome-session.
>

weird, this doesn't seem like it would be a Gnome problem - I don't have
any insight. Maybe someone else will.
 
> 2)  When I restarted the machine and logged in, gnome-session tried to
> restart gshutdown as user, so I natually got the message about not being
> able to use it as non-root.  

Ah crap. This is a bug in gshutdown. Can you file a bug on bugs.gnome.org
about this? (send mail to submit@bugs.gnome.org describing the bug,
including these lines at the top of the message body:
Package: gnome-utils
Version: <your version>

Thanks!

> Is there any way to manage Gnome
> applications from gnome-session?  What I'd really like to do is not have
> it restart applications that were running during my last logout, or at
> least have more control.  Along these lines, is it possible to have
> gshutdown allow shutdown and reboot for non-root users if I set-uid
> shutdown?
> 

Right now gshutdown requires you to be root. You might file a bug about
this too...

> 3)  It seems as though Gnome did not exit cleanly, because I had a core
> dump from one of the Gnome components.  I _always_ get one when logging
> back in
> after an unnatural gnome-session logout (i.e. shutdown,
> <CTRL>-<ALT>-<BACKSPACE>).  The application that dumps will vary, but it
> will always happen.
> 

GTK+ 1.2.4 should fix this; the problem was just that GTK+ dumped core
when an X error occurred, so we could debug the X error. What you are
actually seeing is _all_ the GTK+ apps dumping core in a big core-pile,
each overwriting the last. Now the debug behavior is turned off. :-)

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]