Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 68604 invoked from network); 8 Aug 2004 05:01:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Aug 2004 05:01:55 -0000 Received: (qmail 18641 invoked by uid 500); 8 Aug 2004 05:01:53 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 18605 invoked by uid 500); 8 Aug 2004 05:01:52 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 18593 invoked by uid 99); 8 Aug 2004 05:01:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [65.42.175.122] (HELO ferrari.solidusdesign.com) (65.42.175.122) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 07 Aug 2004 22:01:51 -0700 Received: (qmail 16343 invoked by uid 0); 8 Aug 2004 05:01:49 -0000 Received: from unknown (HELO ?192.168.1.102?) (user0009@69.208.80.175) by 0 with SMTP; 8 Aug 2004 05:01:49 -0000 Message-ID: <4115B3A9.2040002@brondsema.net> Date: Sun, 08 Aug 2004 01:01:29 -0400 From: Dave Brondsema User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: Solaris problem References: <200408050001.i75018713693@teneriffa.ifi.unizh.ch> <1091666629.13878.29021.camel@ighp> <16658.7923.73768.257839@chios.ifi.unizh.ch> <16658.12124.770867.544317@chios.ifi.unizh.ch> <1091755522.13877.38124.camel@ighp> <16659.22843.746983.454250@chios.ifi.unizh.ch> <1091801852.13882.43274.camel@ighp> <16659.50917.729014.511440@chios.ifi.unizh.ch> <1091815900.13882.44883.camel@ighp> <16659.54448.471159.722067@chios.ifi.unizh.ch> <1091819701.13878.45331.camel@ighp> <16661.8951.681276.986851@chios.ifi.unizh.ch> In-Reply-To: <16661.8951.681276.986851@chios.ifi.unizh.ch> X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3890A2980F2AA4FD9E9ED57E" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3890A2980F2AA4FD9E9ED57E Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Fabio Rinaldi wrote: > David Crossley writes: > > Fabio Rinaldi wrote: > > > > > > Actually, there is still a problem (though not necessarily solaris > > > specific, I get it on Linux as well). As long as the installation > > > belongs to me, it runs fine, but as soon as I change the ownership, > > > then try to run it (as a different user), I get the following error: > > > > > > However, that is fair enough. A UNIX system is insistent about > > correct permissions. > > > > Yes, but if we are in a multi-user environment, and we want one > installation to be used by multiple users, then this problems prevents > it: only the user which installed the software can actually use > it. When a user is running forrest to build a web site, it should not > need to write anything to the installation directory: all intermediate > and final files should be written in the build directory, or at least > this is what I would expect. > Yes, definitely. We need to look into this. I think we've all overlooked multi-user installations. > Besides, I have discovered another (minor) problem which might surface > in a multi-user environment. If a user is trying to run forrest > through a rlogin/ssh connection in a remote machine, this might be > difficult because the conversion of svg images seems to require > access to the X server. The workaround is to grant access to the X > server on the machine where forrest is being run (xhost +) and set the > DISPLAY variable to the remote machine's display. See below the error > message that I get when I try to run it remotely (without correct X > settings): > > ------------------------------------------------------------ > > * [11/33] [0/0] 13.862s 0b samples/cocoon-pyramid.png > Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '80-219-172-65.dclient.hispeed.ch:0' as the value of the DISPLAY variable. > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) > at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:125) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:140) > at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) > at sun.awt.font.FontResolver.(FontResolver.java:46) > at sun.awt.font.FontResolver.getInstance(FontResolver.java:150) > at java.awt.font.TextLine.getFontAtCurrentPos(TextLine.java:984) > at java.awt.font.TextLayout.standardInit(TextLayout.java:721) > > ------------------------------------------------------------ > See http://forrest.apache.org/faq.html#headless_operation for another solution. > None of these problems actually prevents me from using Forrest, but I > though it might be good to report them. Thanks! -- Dave Brondsema : dave@brondsema.net http://www.splike.com : programming http://csx.calvin.edu : student org http://www.brondsema.net : personal --------------enig3890A2980F2AA4FD9E9ED57E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBFbOpVvBSb5uzznARAvXhAKCgsW6Pm0EPVu7grkvMNpAh+bsbJACgqRjU RZ4BeYMaVBXWiublXRlfXEY= =qxiq -----END PGP SIGNATURE----- --------------enig3890A2980F2AA4FD9E9ED57E--