From owner-freebsd-gnome@FreeBSD.ORG Mon Aug 29 11:07:55 2005 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0732716A41F for ; Mon, 29 Aug 2005 11:07:55 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from mail20.bluewin.ch (mail20.bluewin.ch [195.186.19.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 781A643D49 for ; Mon, 29 Aug 2005 11:07:54 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from twelvegates.homeip.net (213.3.70.218) by mail20.bluewin.ch (Bluewin 7.2.063) id 42D281C4006ED24C for freebsd-gnome@freebsd.org; Mon, 29 Aug 2005 11:07:53 +0000 Received: from gicco.here (localhost [127.0.0.1]) by twelvegates.homeip.net (8.13.1/8.13.1) with ESMTP id j7TB7qoD006364 for ; Mon, 29 Aug 2005 13:07:52 +0200 (CEST) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by gicco.here (8.13.1/8.12.11/Submit) id j7TB7oi1006363 for freebsd-gnome@freebsd.org; Mon, 29 Aug 2005 13:07:50 +0200 (CEST) (envelope-from hampi@rootshell.be) X-Authentication-Warning: gicco.here: idefix set sender to hampi@rootshell.be using -f Date: Mon, 29 Aug 2005 13:07:50 +0200 From: Hanspeter Roth To: freebsd-gnome@freebsd.org Message-ID: <20050829110750.GB6248@twelvegates.homeip.net> Mail-Followup-To: freebsd-gnome@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1125264278.25434.8.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.1i Subject: Re: Gdm session files X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gnome@freebsd.org List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 11:07:55 -0000 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