X 11 trouble with OS X

Hello -

I have been trying to get Radiance loaded to my OS X system (v. 10.4.11). I am new to UNIX, so the process has been a bit rocky - but - makeall install and makeall library worked out (mostly) fine, and I changed the /etc/profile file to include RAYPATH, and everything seemed to be working fine. Commands like genprism work and the .oct file built OK. However, when I went to run rview I get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far as to write this little ditty into /etc/profile on the advice of a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced users.

any advice?

thanks a million

Dave

I hope it doesn't sound too condescending, but do you have X11 installed? I used "fink" to install a variety of Unix-like tools, and it installs X11 in the process.

Mark

···

On Wed, 20 Feb 2008, Dave Bosworth wrote:

Hello -

I have been trying to get Radiance loaded to my OS X system (v. 10.4.11). I am new to UNIX, so the process has been a bit rocky - but - makeall install and makeall library worked out (mostly) fine, and I changed the /etc/profile file to include RAYPATH, and everything seemed to be working fine. Commands like genprism work and the .oct file built OK. However, when I went to run rview I get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far as to write this little ditty into /etc/profile on the advice of a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced users.

any advice?

thanks a million

Dave

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Dave,

Like Mark suggests, you may not have X11 installed (or running). It is still an optional install on many versions of Mac OS X, but it's there under the Optional Installs of your system disk. If you can't find it there, you can also download it from Apple's website. There should be no need to compile it, but you will have to run it before starting rvu.

Best,
-Greg

···

From: Dave Bosworth <[email protected]>
Date: February 20, 2008 4:41:01 PM PST

Hello -

I have been trying to get Radiance loaded to my OS X system (v. 10.4.11). I am new to UNIX, so the process has been a bit rocky - but - makeall install and makeall library worked out (mostly) fine, and I changed the /etc/profile file to include RAYPATH, and everything seemed to be working fine. Commands like genprism work and the .oct file built OK. However, when I went to run rview I get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far as to write this little ditty into /etc/profile on the advice of a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced users.

any advice?

thanks a million

Dave

Greg,

Right---it should be on the OSX disc. I've found that X11 runs itself when I run rvu. Tell us how it goes, Dave.

Mark

···

On Wed, 20 Feb 2008, Greg Ward wrote:

Hi Dave,

Like Mark suggests, you may not have X11 installed (or running). It is still an optional install on many versions of Mac OS X, but it's there under the Optional Installs of your system disk. If you can't find it there, you can also download it from Apple's website. There should be no need to compile it, but you will have to run it before starting rvu.

Best,
-Greg

From: Dave Bosworth <[email protected]>
Date: February 20, 2008 4:41:01 PM PST

Hello -

I have been trying to get Radiance loaded to my OS X system (v. 10.4.11). I am new to UNIX, so the process has been a bit rocky - but - makeall install and makeall library worked out (mostly) fine, and I changed the /etc/profile file to include RAYPATH, and everything seemed to be working fine. Commands like genprism work and the .oct file built OK. However, when I went to run rview I get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far as to write this little ditty into /etc/profile on the advice of a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced users.

any advice?

thanks a million

Dave

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

No, I had to install X11 to run Matlab. I have installed: X11 1.1.3 - XFree86 4.4.0

Does rview usually open up x11 on its own, or do I have to boot it up separately?

finally, is rvu the same as rview?

thanks for getting back to me so quickly!

cheers

Dave

···

-----Original Message-----

From: Greg Ward <[email protected]>
Sent: Feb 20, 2008 8:29 PM
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] X 11 trouble with OS X

Hi Dave,

Like Mark suggests, you may not have X11 installed (or running). It
is still an optional install on many versions of Mac OS X, but it's
there under the Optional Installs of your system disk. If you can't
find it there, you can also download it from Apple's website. There
should be no need to compile it, but you will have to run it before
starting rvu.

Best,
-Greg

From: Dave Bosworth <[email protected]>
Date: February 20, 2008 4:41:01 PM PST

Hello -

I have been trying to get Radiance loaded to my OS X system (v.
10.4.11). I am new to UNIX, so the process has been a bit rocky -
but - makeall install and makeall library worked out (mostly) fine,
and I changed the /etc/profile file to include RAYPATH, and
everything seemed to be working fine. Commands like genprism work
and the .oct file built OK. However, when I went to run rview I
get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far
as to write this little ditty into /etc/profile on the advice of
a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced
users.

any advice?

thanks a million

Dave

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Dave,

I thought X11 started on its own (I have OSX 10.5.2). I don't know what the problem might be, then.

rvu == rview (Unless the rview from the vim package appears before Radiance in the PATH)

Mark

···

On Wed, 20 Feb 2008, Dave Bosworth wrote:

No, I had to install X11 to run Matlab. I have installed: X11 1.1.3 - XFree86 4.4.0

Does rview usually open up x11 on its own, or do I have to boot it up separately?

finally, is rvu the same as rview?

thanks for getting back to me so quickly!

cheers

Dave

-----Original Message-----

From: Greg Ward <[email protected]>
Sent: Feb 20, 2008 8:29 PM
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] X 11 trouble with OS X

Hi Dave,

Like Mark suggests, you may not have X11 installed (or running). It
is still an optional install on many versions of Mac OS X, but it's
there under the Optional Installs of your system disk. If you can't
find it there, you can also download it from Apple's website. There
should be no need to compile it, but you will have to run it before
starting rvu.

Best,
-Greg

From: Dave Bosworth <[email protected]>
Date: February 20, 2008 4:41:01 PM PST

Hello -

I have been trying to get Radiance loaded to my OS X system (v.
10.4.11). I am new to UNIX, so the process has been a bit rocky -
but - makeall install and makeall library worked out (mostly) fine,
and I changed the /etc/profile file to include RAYPATH, and
everything seemed to be working fine. Commands like genprism work
and the .oct file built OK. However, when I went to run rview I
get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far
as to write this little ditty into /etc/profile on the advice of
a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced
users.

any advice?

thanks a million

Dave

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

If it means anything, my DISPLAY variable is set to:

/tmp/launch-fitdx8/:0

Mark

···

On Wed, 20 Feb 2008, Dave Bosworth wrote:

Hello -

I have been trying to get Radiance loaded to my OS X system (v. 10.4.11). I am new to UNIX, so the process has been a bit rocky - but - makeall install and makeall library worked out (mostly) fine, and I changed the /etc/profile file to include RAYPATH, and everything seemed to be working fine. Commands like genprism work and the .oct file built OK. However, when I went to run rview I get this error:

rview: cannot open X-windows; DISPLAY variable set?
rview: fatal - cannot initialize x11

I have tried setting DISPLAY=0 and no effect. I even went so far as to write this little ditty into /etc/profile on the advice of a radiance-general user:

if [ -z "${DISPLAY}" ];then echo -n
export DISPLAY=':0'
fi

also, no luck. So, now I am begging the wisdom of more advanced users.

any advice?

thanks a million

Dave

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

No, I had to install X11 to run Matlab. I have installed: X11 1.1.3 - XFree86 4.4.0

Does rview usually open up x11 on its own, or do I have to boot it up separately?

No, you have to load X11 first. I have some code in my .profile that automatically loads X11 when I open a terminal window (if it's not already running) since many times when I open a terminal window I'm about to use Radiance, but you could just remember to start up X11 prior to running any of the graphical Radiance apps.

finally, is rvu the same as rview?

Mark got this one already; it was renamed to avoid a very common alias conflict on most Linux systems (with vim).

Rob Guglielmetti
www.rumblestrip.org

···

On Feb 20, 2008, at 7:30 PM, Dave Bosworth wrote:

That's new in 10.5.x. If he's got an older version of Mac OS he has to start it like any other app.

Randolph

···

On Feb 20, 2008, at 6:52 PM, Mark Stock wrote:

I thought X11 started on its own (I have OSX 10.5.2). I don't know what the problem might be, then.