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

Re: gconfd-2 does not exit when a user log out, breaks unmountinghome

On Thu, 2003-10-30 at 13:32, mike flyn org wrote:
> The problem comes when a system tries to unmount a user's home directory when
> the user logs out.  For example, pam_mount unmounts an encrypted home
> directory then I log out of my system.  Other people use NFS or other means
> to mount home directories.

I think the simple solution is to exec "gconftool-2 --shutdown" as the
last thing gnome-session does before exiting, or perhaps even in the X
scripts in xinitrc. If you wrote and tested a patch along those lines
it'd be useful.

Another possible solution is to have an X server monitor process for
gconfd; basically gconfd would fork/exec a tiny little program that
simply connects to the X server and sits there, exiting when it loses
the X connection. gconfd would then exit when this program exits. This
is conceivably a more robust approach and still pretty easy to


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