Date: Mon, 29 Aug 2005 13:07:50 +0200 From: Hanspeter Roth <hampi@rootshell.be> To: freebsd-gnome@freebsd.org Subject: Re: Gdm session files Message-ID: <20050829110750.GB6248@twelvegates.homeip.net> In-Reply-To: <1125264278.25434.8.camel@shumai.marcuscom.com> References: <20050828100403.GA1392@twelvegates.homeip.net> <7daacbbe05082803155a3b6f79@mail.gmail.com> <20050828183203.GA80043@twelvegates.homeip.net> <1125254959.25434.0.camel@shumai.marcuscom.com> <20050828200937.GA81373@twelvegates.homeip.net> <1125260087.25434.5.camel@shumai.marcuscom.com> <20050828212057.GA81628@twelvegates.homeip.net> <1125264278.25434.8.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 28 at 17:24, Joe Marcus Clarke spoke: > 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? No, of course it can't know _before_ just _after_ the user enters his name. > > .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. Yes, I'm also using ~/.xinitrc with startx since I don't run GDM on all hosts. I was looking for a means to reuse ~/.xinitrc. It seems that GDM's Default session honors ~/.Xclients. So I can also link ~/.xinitrc to ~/.Xclients and chose the Default session. I also tried a /usr/X11R6/etc/dm/Sessions/custom.desktop which looks like this: [Desktop Entry] Encoding=UTF-8 Name=Xsession custom Comment=Xsession custom Exec=/usr/X11R6/etc/gdm/Xsession custom TryExec=true Icon= Type=Application This honors ~/.xsession. -Hanspeter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050829110750.GB6248>