Gdm session files

Joe Marcus Clarke marcus at marcuscom.com
Sun Aug 28 21:24:43 GMT 2005


On Sun, 2005-08-28 at 23:20 +0200, Hanspeter Roth wrote:
>   On Aug 28 at 16:14, Joe Marcus Clarke spoke:
> 
> > On Sun, 2005-08-28 at 22:09 +0200, Hanspeter Roth wrote:
> > >   On Aug 28 at 14:49, Joe Marcus Clarke spoke:
> > > 
> > > > Your TryExec line is probably wrong.  Note: you should not create
> > > > a .xinitrc entry for any display manager.
> > > 
> > > Why not?
> > 
> > Because .xinitc and a display manager do the same thing in different
> > ways.  In any event, what you're doing below is not possible.
> 
> Hm. The display manager is active before and while loggin in.

Yes, but before the user enters their name, how does it know how to
expand $HOME?

> .xinitrc is active mainly just after loggin in.
> So what is the thing they both do?

They both control X sessions, but for different applications.
~/.xinitrc is designed to be called by startx.  There could conceivably
be conflicts in using it to drive a display manager.

> 
> [...]
> > TryExec means, test to see if this file is executable.  If it is, then
> > this is a valid desktop entry.  If not, then it's foo.  $HOME is not set
> 
> I have no tried TryExec=true. And since true is executable the Name
> Xinitrc is now displayed. This approach is probably not intended by
> the creator. But it works for me.
> 
> [...]
> > > Are these fields documented somewhere?
> > 
> > Yes, in the GDM online help.
> 
> While the greeter is active there is no help available. So I guess
> it should be the help available in gdmsetup. This seems to be the
> same as /usr/X11R6/share/gnome/help/gdm/C/gdm.xml.
> But this file doesn't contain any string 'TryExec'.

You're right.  I thought it was documented there, but I guess not.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050828/1f806fdb/attachment.bin


More information about the freebsd-gnome mailing list