From owner-freebsd-gnome@FreeBSD.ORG Wed Sep 24 07:50:27 2003 Return-Path: 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 D6AB816A4B3 for ; Wed, 24 Sep 2003 07:50:27 -0700 (PDT) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 758AA44014 for ; Wed, 24 Sep 2003 07:50:25 -0700 (PDT) (envelope-from joek@mail.flyingcroc.net) Received: from mail.flyingcroc.net (zircon.staff.flyingcroc.net [207.246.150.92])h8OEoOHG091421 for ; Wed, 24 Sep 2003 07:50:25 -0700 (PDT) Message-ID: <3F71AF30.9040106@mail.flyingcroc.net> Date: Wed, 24 Sep 2003 07:50:24 -0700 From: Joe Kelsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gnome@freebsd.org References: <3F7077F3.5080502@mail.flyingcroc.net> <1064413813.96890.10.camel@localhost> In-Reply-To: <1064413813.96890.10.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gnome-session 2.4 no longer runs $HOME/.gnomerc X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 14:50:28 -0000 Brian Gruber wrote: > 1) set up your gnome session to be executed inside of an ssh-agent. it > really doesn't matter how you do this. i for one, have an .xinitrc file > that just says "ssh-agent gnome-session" and that seems to work for > startx and i believe gdm as well (hard to test since gdm is currently > broken on my system). I do not consider anything related to using startx as anything worth considering. Why do you think gdm does not work on your system? Do you run some sort of ancient FreeBSD or have you just not tried recently? GDM has included *automatic* use of ssh-agent for quite a long time. The _corrrect_ method to use ssh-agent to start gnome-session (and the one used by GDM) is: ssh-agent -- gnome-session The -- serves to stop ssh-agent from scanning for command-line arguments in case you put something besides a simple command word instead of gnome-session. > 2) put aside any prejudices you might have against gui config tools for > half a second and bring up the gnome "Sessions" control panel. > foot->applications->desktop preferences->advanced->sessions. I have nothing agains gui config tools. I never implied I had anything against gui config tools. I have a problem with the convoluted and obscure and undocumented way that Gnome uses config files that have no gui front end. > 3) click on the "Startup Programs" tab. click add. Enter the command > "ssh-add" and give it a sensibly high order number (mine is 90). This so-called "solution" has many problems, not the least of which involve the way that ssh-askpass gratuitously "grabs" focus. If you don't type quickly, the password box quickly becomes hidden by other windows starting up and leads to extreme problems with focus. > and i think that's it. from now on, after you log in, you should get an > ssh-askpass box (of course, assuming you have openssh-askpass installed, > which i'm taking as a given here). i've noticed that openssh-askpass is > a little funky in that maintains keyboard focus even when other windows > seem to take focus. whatever, maybe it's a security feature or > something to prevent a window popping up and taking keyboard focus in > the middle of you typing a password. Your solution may work for you personally, but I find it unusable in the extreme. I experimented with it long ago and rejected it due to the many problems that ssh-askpass has in the presence of other windows starting up. /Joe