On Mon, Aug 22, 2011 at 10:45:51AM +0200, intrigeri wrote:
> † wrote (21 Aug 2011 18:24:37 GMT) :
> > In a mean time, I've tried to add PostSession script which resets
> > the password to default (this workaround was suggested before) but
> > the problem is the there's already dummy script in squeeze for that.
> > So installation (via install directive in debian/rules) fails.
> 
> > I've tried to add divert into .postinst/.prerm but it still fails -
> > it looks like 'rules' script is executed earlier than .postinst -
> > where should I add divert directives to make it work?
> 
> The diversions mechanism should not be used for conffiles (ref:
> dpkg-divert(8)); /etc/gdm3/PostSession/Default is a conffile (ref:
> dpkg -s gdm3).
> 
> Anyway, gdm3(8) reads:
> 
>   When the session has completed, gdm attempts to run
>   /etc/gdm3/PostSession/display, or /etc/gdm3/PostSession/Default.
> 
> Have you experimented with /etc/gdm3/PostSession/display ?
> 
> (I wonder if it's litteraly "display" or rather a value of "$DISPLAY",
> such as ":0" in Tails. If the former does not work, the latter should
> be tried.)

Examples I've seen on the web tends to say display should be written in
the later form (":0").

bert.
_______________________________________________
tails-dev mailing list
tails-dev@boum.org
https://boum.org/mailman/listinfo/tails-dev

Reply via email to