http://defect.opensolaris.org/bz/show_bug.cgi?id=13166
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CAUSEKNOWN
CC| |alan.maguire at sun.com
AssignedTo|nwam-dev at opensolaris.org |alan.maguire at sun.com
--- Comment #1 from amaguire <alan.maguire at sun.com> 2009-12-09 15:35:07 UTC
---
(In reply to comment #0)
> An early access user reports that he's unable to create an ENM whose start
> string attempts to pop up a xenity window; the problem is that when nwamd
> execs
> the string, there's no DISPLAY value set.
zenity actually has an option to specify a display value - adding
--display=:0.0 would appear to be a workaround. However, we also need to
specify the HOME environment variable (as we did in phase 0) before zenity
popups will be displayed in OpenSolaris. The problem is the ENM scripts inherit
a limited environment from the NWAM service which does not include the path to
the XAUTHORITY file of the console user (this can be specified directly or
derived from HOME) or DISPLAY. A workaround is to export the XAUTHORITY env
variable (set to "/export/home/<username>/.Xauthority" in OpenSolaris) or HOME
along with setting DISPLAY=":0.0".
So we need to lookup a console login user as we did before to get the value for
HOME and also set DISPLAY explicitly in the environment I think.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.