> #!/bin/sh
> if 9p stat plumb > /dev/null 2>&1
> then
>        exit
> else
>        plumber
> fi
>
> to ensure that the plumber is running.  This works nicely for me, as I
> can exit and restart acme, and the plumber continues running.  When I
> log out of this linux system, however, it appears that the plumber is not
> killed, and the next time I log in and start acme, the script sees that
> the plumber is still running and doesn't start it.  Unfortunately, that
> running plumber doesn't seem to be work right because when I click on a
> URL in acme it doesn't get opened in my web browser.  I have to kill and
> restart the plumber to get this to work.

The problem is that the old plumber does not have
access to your new X desktop, so it cannot start
a new firefox nor can it tell one running on the new
desktop to do anything.

The solution is to restart plumber always, perhaps in
your .xinitrc.

Russ

Reply via email to