Brian Cameron-san wrote (02/ 5/09 09:59 AM):
> 
> Alan/Takao:
> 
>> Other specific comments:
>>
>>> +    echo "This script is not designed to run directly."
>>> +    echo "Please use /etc/X11/gdm/Xsession instead."
> 
> Note that /etc/X11/gdm/Xsession should only be run if the user
> is using the GDM display manager.  Perhaps the comment should
> highlight this?

I thought Indiana Live session from the bootable CD.
It runs dtstart but now xinitrc.d is loaded by /etc/X11/gdm/Xsession so I'd 
like to avoid to run dtstart directly.
I think if Indiana Live session calls /etc/X11/gdm/Xsession instead of dtstart, 
this problem can be resolved.

> 
>> If it's not designed to be run directly, it shouldn't be in /usr/bin
> 
> The dtstart script now no longer does seems to do anything except
> translate "jds" to "/usr/bin/gnome-session".  I think it be better to
> just get rid of the dtstart script altogether and also get rid of the
> gnome-session-06-Xsession-dtstart.diff and the
> gnome-session-07-Xsession.diff patches and just let gnome-session be
> run directly from the /etc/X11/gdm/Xsession script when using GDM.
> What do you think?  Since CDE login doesn't use the
> /usr/share/xsessions/gnome.desktop file, this shouldn't have any impact
> on CDE login.

I think it's good to remove dtstart if we can. GDM don't have to call dtstart.

> 
> However, if there is some reason we need the dtstart script that I
> am missing, then perhaps /etc/X11/init be a better directory to install
> it.  It's intended to be a general interface that could be used by any
> display manager (though we will not likely enhance CDE login to make use
> of the /etc/X11/init interfaces).
> 
> If we want to provide a "recommended command" in the dtstart script to
> start GNOME, it should probably be the following instead of just telling
> them to run the Xsession script with no arguments.
> 
>   /etc/X11/gdm/Xsession /path/to/dtstart $SESSION_NAME
> 
> Where $SESSION_NAME could be "jds" to start GNOME, for example.
> 
> Brian
> 


Reply via email to