Takao Fujiwara - Tokyo S/W Center wrote:
> I created the patch for xinitrc.d however I'm not sure how is the packaging.
All of the references to /usr/openwin need to be replaced with /usr/X11
/usr/openwin is obsolete in Nevada/Indiana, and while a symlink exists
for binary compatibility in Indiana from /usr/openwin -> /usr/X11, it
can get broken by people installing certain older packages, so you should
not count on it and just use the right paths to begin with.
Other specific comments:
> + echo "This script is not designed to run directly."
> + echo "Please use /etc/X11/gdm/Xsession instead."
If it's not designed to be run directly, it shouldn't be in /usr/bin
> + echo "Not found your display manager."
"Display managers" in X are programs that start X & show login screens,
like dtlogin, gdm, etc. This is looking for a window manager (like twm)
or session manager (gnome-session).
A better error would be something like:
"Could not find session startup for $SESSION_NAME"
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering