From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <24260-36175@sneakemail.com> References: <24260-36175@sneakemail.com> Date: Tue, 4 Aug 2009 22:54:39 -0700 Message-ID: Subject: Re: [9fans] A note on using E From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 3959d032-ead5-11e9-9d60-3106f5b1d025 > #!/bin/sh > if 9p stat plumb > /dev/null 2>&1 > then > =C2=A0 =C2=A0 =C2=A0 =C2=A0exit > else > =C2=A0 =C2=A0 =C2=A0 =C2=A0plumber > fi > > to ensure that the plumber is running. =C2=A0This works nicely for me, as= I > can exit and restart acme, and the plumber continues running. =C2=A0When = 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. =C2=A0Unfortunately, t= hat > 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. =C2=A0I 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