From owner-freebsd-gnome@FreeBSD.ORG Sun Apr 15 01:48:15 2007 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC33116A404 for ; Sun, 15 Apr 2007 01:48:15 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8646313C480 for ; Sun, 15 Apr 2007 01:48:15 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.1/8.14.1) with ESMTP id l3F1mKcS049210; Sat, 14 Apr 2007 21:48:20 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kevin Downey In-Reply-To: <1d3ed48c0704141533r1d7161a0tc1452e7b3f7d40f2@mail.gmail.com> References: <1d3ed48c0703221120w3dd52a1ao8d24fa206f22c02d@mail.gmail.com> <7fb728f20703230426s4fa5f451u682441ecfbdd736d@mail.gmail.com> <1d3ed48c0703231038s2df1401aw787bf4612a2a3424@mail.gmail.com> <1174671891.46644.24.camel@shumai.marcuscom.com> <1d3ed48c0704081826t44061639i7de021686cecc8cc@mail.gmail.com> <1176588698.26219.4.camel@shumai.marcuscom.com> <1d3ed48c0704141533r1d7161a0tc1452e7b3f7d40f2@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-H8f66M8jz2yo2iZhAZ0d" Organization: MarcusCom, Inc. Date: Sat, 14 Apr 2007 21:48:13 -0400 Message-Id: <1176601693.26219.9.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on creme-brulee.marcuscom.com Cc: gnome@freebsd.org Subject: Re: GDM thinks I am root X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 01:48:15 -0000 --=-H8f66M8jz2yo2iZhAZ0d Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-04-14 at 15:33 -0700, Kevin Downey wrote: > On 4/14/07, Joe Marcus Clarke wrote: > > On Sun, 2007-04-08 at 18:26 -0700, Kevin Downey wrote: > > > On 3/23/07, Joe Marcus Clarke wrote: > > > > On Fri, 2007-03-23 at 10:38 -0700, Kevin Downey wrote: > > > > > On 3/23/07, Timur Guseinov wrote: > > > > > > try to change your home directory "chsh". > > > > > > > > > > > > > > > > > > 2007/3/22, Kevin Downey : > > > > > > > > > > > > > > I have a laptop running 6.2-STABLE and modular Xorg, I have b= een > > > > > > > having trouble logging in using gdm for sometime, but with th= e new > > > > > > > gnome I get a more informative error message (how is that for > > > > > > > progress). When I log in a little window pops up and says som= ething > > > > > > > like "cannot write to /root/.ICEauthority" which makes sense,= because > > > > > > > I am not logging in as root so I should not be able to write = to that. > > > > > > > What I can't figure out is why it is trying. Gnome then fails= to > > > > > > > start. If I pick the 'Xclients' session from GDM a little win= dow pops > > > > > > > up that says 'no Xclients file, launching failsafe terminal' = so I get > > > > > > > a xterm. In the xterm 'whoami' returns 'kpd' (my user) but 'e= cho > > > > > > > $HOME' is '/root'. > > > > > > > Any ideas? > > > > > > > > > > > > My home directory is set correctly to /home/kpd (kpd is my userna= me), > > > > > if I login any other way I am not given a /root home directory, = if I > > > > > login on the console and put gnome-session in my .xinitrc file gn= ome > > > > > starts up fine with the correct home directory > > > > > > > > What are the contents of your /usr/local/etc/gdm/custom.conf file? = What > > > > are the permissions on /etc/passwd and /etc/pwd.db? You may need t= o > > > > ktrace or truss gdm as root when logging in as kpd to see if there = are > > > > any obvious errors there. > > > > > > > > Joe > > > the exact text of the little error box that pops up is: > > > The GNOME session manager was unable to lock the file > > > '/root/.ICEauthority'. Please report this as a GNOME bug. Sometimes > > > this error may occur if the file's directory is unwritable, you could > > > try logging in via the failsafe session and ensuring that it is. > > > > > > My /usr/local/etc/gdm/custom.conf is blank because I deinstalled gdm, > > > deleted all the directories pkg_delete said it could not completely > > > delete, and reinstalled gdm. Ran a ktrace, but this is the first time > > > I have used it so I am still trying to pick through the results. gdm > > > appears to look at the .ICEauthority in the 'kpd' user's home > > > directory. Then a few hundred lines later it tries the same file name= , > > > but in /root. > > > > Who owns ~kpd/.ICEauthority? It should be owned by kpd with 0600 perms= . > > If that is already the case, try deleting this file, then try logging i= n > > again. > > > > Joe >=20 > ~kpd/.ICEauthority has 600 for its permissions. I deleted it and no > change. I tried logging in with the failsafe gnome session and that > works. I am not sure what the difference between a normal session and > failsafe are. I am also seeing strange behaviour with xdm, not sure if > it is related. if I use xdm, after I login, the machine drops back to > the console(X exits), and then back to xdm. >=20 > when I try the 'Xclient' session, gdm says it can't find the Xclient > script, and does the failsafe xterm thing. The zsh is the shell in the > xterm, but zsh doesn't load any of my zsh related dotfiles because > $HOME is set to /root. This is just weird. Where is the ktrace you captured of the failing login? Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-H8f66M8jz2yo2iZhAZ0d Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGIYRbb2iPiv4Uz4cRAqjiAKCqVAAgUJbfGyW17X/BpLIEyu1FnwCgsOcz 0p9BeZdUx8P/abvVL1L07wQ= =Tkfl -----END PGP SIGNATURE----- --=-H8f66M8jz2yo2iZhAZ0d--