From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Maya 7 hardware render
   Date: Thu, 10 Aug 2006 08:55:21 -0400
Msg# 1373
View Complete Thread (2 articles) | All Threads
Last Next
Andrew Kingston wrote:
Anyone know how to get Maya's hardware renderer to work with Rush? I get an:-

"Error: Can't open display:" in the logs.

I'm guessing I may need to set some sort of environment variable, but I'm not sure what.


Hi Andrew,

	I'm going to guess the platform's linux, and the variable
	that is missing is the DISPLAY variable, eg:

		$ENV{DISPLAY} = "localhost:0.0";

	..but such a setting would probably replace that error with
	a new one:

		Xlib: connection to ":0.0" refused by server

	..which might happen because the user logged into that machine's window
	manager doesn't match the user your render is running as, preventing
	your render from accessing the other user's desktop. By default, the
	user logged into the window manager is the only one that has access rights
	to the window manager, to prevent random background ssh/rsh users
	from being able to harass the desktop user by popping open windows.

	In which case the solution could be any /one/ of the following:

		a) run 'xhost +' to open the perms for the window manager,
		b) force the render and remote window user to run as the same user,
		c) force the render to run as root, to override all access issues

	..where:

	a) is being reasonable, but involves manual prep of the remote machine(s),
	b) is also reasonable, though may not be practical,

	.. and if all else fails:
	c) "hit it with a sledgehammer"

	BTW, if you're using OSX or Windows, ignore all the above, as those would
	have entirely different solutions.

--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next