Date: 6 Nov 2004 16:22:27 +0100 From: "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org> To: "Joe Marcus Clarke" <marcus@FreeBSD.org>, gnome@FreeBSD.org Subject: Re: ports/73340: www/firefox install loops on invalid xinit invocation Message-ID: <zn1vknna.fsf@ID-23066.news.dfncis.de> In-Reply-To: <4187C733.2040309@marcuscom.com> (Joe Marcus Clarke's message of "Tue, 02 Nov 2004 12:43:15 -0500") References: <200410312230.i9VMUrnJ088544@freefall.freebsd.org> <is8o178l.fsf@ID-23066.news.dfncis.de> <4187C733.2040309@marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* 2004-11-02 Joe Marcus Clarke: > | ,---- > | | 0 p2 # xinit /usr/X11R6/lib/firefox/lib/firefox-1.0/run-mozilla.sh \ > | | /usr/X11R6/lib/firefox/lib/firefox-1.0/firefox-bin > -install-global-themes -- \ > | | /usr/X11R6/bin/Xvfb :1001 > | | > | | cat: /root/.Xauthority: No such file or directory > | | load: 0.12 cmd: xinit 44869 [wait] 0.00u 0.01s 0% 1304k > | | load: 0.03 cmd: xinit 44869 [wait] 0.00u 0.01s 0% 1304k > | `---- > | > | this one doesn't finish. computer idles for about fifteen minutes > now. what > | is it supposed to do, and how do i check the steps manually? > > It's supposed to initialize the global extensions and themes datastore. ~ > Try aborting this, then run it again. no. it can't be "aborted" in the packages pkg-install, because signals are off and all output goes to dev/null! the offending lines are: 8<-- cut-from-here -->8 su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1 su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :100 1" > /dev/null 2>&1 8<-- cut-upto-here -->8 why not change them to: 8<-- cut-from-here -->8 su - root -c "PATH=$PATH %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1 su - root -c "PATH=$PATH %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :100 1" > /dev/null 2>&1 8<-- cut-upto-here -->8 i think this is the direction to go, because it will allow the procedure to find "non-standard" shells. i provided "local/bin/bash" for roots account. the idea came to me as i found a workaround for the queer situation: when the shell idled, i typed "true", followed by "^D" (CTRL-D), and the script seemed to finish all right. i got a working copy of firefox! clemens
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zn1vknna.fsf>