Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 12:38:17 -0700
From:      "Kevin Downey" <redchin@gmail.com>
To:        "Joe Marcus Clarke" <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: consolekit/polkit problem
Message-ID:  <1d3ed48c0803281238q4b60eb43i37600aa2a7c40543@mail.gmail.com>
In-Reply-To: <1206732644.2392.79.camel@shumai.marcuscom.com>
References:  <200803281749.m2SHnuDh030298@multi.usr.ch> <1206727968.2392.39.camel@shumai.marcuscom.com> <1d3ed48c0803281229h3bee1c4emae5188107f67de7d@mail.gmail.com> <1206732644.2392.79.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 28, 2008 at 12:30 PM, Joe Marcus Clarke
<marcus@marcuscom.com> wrote:
> On Fri, 2008-03-28 at 12:29 -0700, Kevin Downey wrote:
>  > On Fri, Mar 28, 2008 at 11:12 AM, Joe Marcus Clarke
>  > <marcus@marcuscom.com> wrote:
>  > > On Fri, 2008-03-28 at 18:49 +0100, Stefan Hauser wrote:
>  > >  > > XDG_SESSION_COOKIE should be set by gdm.  You can do a ps -auwwex and
>  > >  > > grep for gnome-session to see that it's being set in the environment.
>  > >  >
>  > >  > tadaaa.. i did the ps and saw nothing.. there was no procfs mouted.
>  > >  > now with /proc, everything runs as expected...
>  > >
>  > >  Yeah, procfs IS REQUIRED for GNOME.  Sucks, I know, but until we have a
>  > >  replacement for /proc/PID/file on all supported versions of FreeBSD,
>  > >  we're stuck with it.
>  > >
>  > >  Joe
>  > >
>  >
>  > so procfs is required for GNOME,
>  > That means you have to choose between java and gnome?
>
>  I use both on my workstation with /proc mounted and I don't have a
>  problem.  Where does it state that the /proc and Java don't mix?
>
>
>
>  Joe
>
>  --
>  PGP Key : http://www.marcuscom.com/pgp.asc
>

I forgot where I read it, but I was having trouble getting java to
work and I googled and found a site that said they don't mix. When I
unmounted /proc java started working.


kpd@eskarina ~/clojure_20080213% java -version
java version "1.5.0_14-p8"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_14-p8-root_28_feb_2008_23_34)
Java HotSpot(TM) Server VM (build 1.5.0_14-p8-root_28_feb_2008_23_34,
mixed mode)
kpd@eskarina ~/clojure_20080213% java -cp
/usr/local/share/java/classes/jline.jar:clojure.jar
jline.ConsoleRunner clojure.lang.Repl
Clojure
user=> (+ 1 3)
4
user=>
kpd@eskarina ~/clojure_20080213% sudo mount -t procfs null /proc
kpd@eskarina ~/clojure_20080213% java -cp
/usr/local/share/java/classes/jline.jar:clojure.jar
jline.ConsoleRunner clojure.lang.Repl
Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
zsh: exit 2     java -cp /usr/local/share/java/classes/jline.jar:clojure.jar
kpd@eskarina ~/clojure_20080213%


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d3ed48c0803281238q4b60eb43i37600aa2a7c40543>