From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B080E1381F3 for ; Thu, 16 May 2013 05:33:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A61E4E08ED; Thu, 16 May 2013 05:32:43 +0000 (UTC) Received: from mail0131.smtp25.com (mail0131.smtp25.com [75.126.84.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68F80E08DA for ; Thu, 16 May 2013 05:32:42 +0000 (UTC) Received: from ccs.covici.com (s-out-001.smtp25.com [67.228.91.90]) by d-out-001.smtp25.com (8.14.2/8.14.2) with ESMTP id r4G5Weij024510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 16 May 2013 01:32:40 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.7/8.14.5) with ESMTP id r4G5WdwB001697 for ; Thu, 16 May 2013 01:32:39 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gnome not working In-reply-to: References: <10356.1368443162@ccs.covici.com> <20130515182710.GB27396@waltdnes.org> <27382.1368666609@ccs.covici.com> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FB=3FQ2FuZWsgUGVsw6FleiBWY?= =?us-ascii?Q?Wxkw6lz=3F=3D?= message dated "Wed, 15 May 2013 20:16:09 -0500." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 16 May 2013 01:32:39 -0400 Message-ID: <1696.1368682359@ccs.covici.com> From: covici@ccs.covici.com X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-r4G5Weij024510 X-Archives-Salt: fac0994c-dd8e-4326-baa3-463f5983b1a4 X-Archives-Hash: 51acb09b86d91c3d44c161ee60fa21e8 Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Wed, May 15, 2013 at 8:10 PM, wrote: > > waltdnes@waltdnes.org wrote: > > > >> On Mon, May 13, 2013 at 07:06:02AM -0400, covici@ccs.covici.com wrote > >> > When I start gdm, I get a message on the screen which says oh no, > >> > something has gone wrong. The log file is at > >> > http://pastebin.com/qwNE7ee6 -- I would appreciate any help. > >> > > >> > I am running gentoo testing with the 3.8 unmasked. > >> > >> Direct from the "Making systemd more accessible to "normal" users" > >> flamewar on gentoo-dev... > >> > >> > And now that GNOME 3.8 is out, the game starts over again: logind > >> > is a hard requirement, logind is part of systemd, starting logind > >> > (which replaces consolekit) is not that trivial as you may think > >> > (and is the thing I started to work on anyway). > >> > > >> > And if this wasn't enough, it means that if you want GNOME 3.8, > >> > you need to get logind, which may or not may get included in our > >> > udev ebuild and if it won't, it means that you will be forced to use > >> > systemd as device manager if you want GNOME 3.8, which is believe > >> > it or not, the thing that Ubuntu did. > >> > >> Do you have systemd/logind installed? > > > > Nope, sure don't. None of the ebuilds pulled it in. But what about > > startx? Would I need logind to do that? >=20 > When you use startx, what does your .xinitrc have? Try with only >=20 > exec gnome-session My startx is: #!/bin/sh # # This is just a sample implementation of a slightly less primitive # interface than xinit. It looks for user .xinitrc and .xserverrc # files, then system xinitrc and xserverrc files, else lets xinit choose # its default. The system xinitrc should probably do things like check # for .Xresources files and merge them in, start up a window manager, # and pop a clock and several xterms. # # Site administrators are STRONGLY urged to write nicer versions. # unset DBUS_SESSION_BUS_ADDRESS unset SESSION_MANAGER userclientrc=3D$HOME/.xinitrc sysclientrc=3D/etc/X11/xinit/xinitrc userserverrc=3D$HOME/.xserverrc sysserverrc=3D/etc/X11/xinit/xserverrc defaultclient=3Dxterm defaultserver=3D/usr/bin/X defaultclientargs=3D"" defaultserverargs=3D"" defaultdisplay=3D":0" clientargs=3D"" serverargs=3D"" enable_xauth=3D1 # Automatically determine an unused $DISPLAY d=3D0 while true ; do [ -e /tmp/.X$d-lock ] || break d=3D$(($d + 1)) done defaultdisplay=3D":$d" unset d whoseargs=3D"client" while [ x"$1" !=3D x ]; do case "$1" in # '' required to prevent cpp from treating "/*" as a C comment. /''*|\./''*) if [ "$whoseargs" =3D "client" ]; then if [ x"$client" =3D x ] && [ x"$clientargs" =3D x ]; then client=3D"$1" else clientargs=3D"$clientargs $1" fi else if [ x"$server" =3D x ] && [ x"$serverargs" =3D x ]; then server=3D"$1" else serverargs=3D"$serverargs $1" fi fi ;; --) whoseargs=3D"server" ;; *) if [ "$whoseargs" =3D "client" ]; then clientargs=3D"$clientargs $1" else # display must be the FIRST server argument if [ x"$serverargs" =3D x ] && \ expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then display=3D"$1" else serverargs=3D"$serverargs $1" fi fi ;; esac shift done # process client arguments if [ x"$client" =3D x ]; then client=3D$defaultclient # For compatibility reasons, only use startxrc if there were no client = command line arguments if [ x"$clientargs" =3D x ]; then if [ -f "$userclientrc" ]; then client=3D$userclientrc elif [ -f "$sysclientrc" ]; then client=3D$sysclientrc fi fi fi # if no client arguments, use defaults if [ x"$clientargs" =3D x ]; then clientargs=3D$defaultclientargs fi # process server arguments if [ x"$server" =3D x ]; then server=3D$defaultserver # For compatibility reasons, only use xserverrc if there were no server= command line arguments if [ x"$serverargs" =3D x -a x"$display" =3D x ]; then if [ -f "$userserverrc" ]; then server=3D$userserverrc elif [ -f "$sysserverrc" ]; then server=3D$sysserverrc fi fi fi # if no server arguments, use defaults if [ x"$serverargs" =3D x ]; then serverargs=3D$defaultserverargs fi # if no display, use default if [ x"$display" =3D x ]; then display=3D$defaultdisplay fi if [ x"$enable_xauth" =3D x1 ] ; then if [ x"$XAUTHORITY" =3D x ]; then XAUTHORITY=3D$HOME/.Xauthority export XAUTHORITY fi removelist=3D # set up default Xauth info for this machine case `uname` in Linux*) if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then hostname=3D`hostname -f` else hostname=3D`hostname` fi ;; *) hostname=3D`hostname` ;; esac authdisplay=3D${display:-:0} mcookie=3D`/usr/bin/mcookie` if test x"$mcookie" =3D x; then echo "Couldn't create cookie" exit 1 fi dummy=3D0 # create a file with auth information for the server. ':0' is a dummy. xserverauthfile=3D$HOME/.serverauth.$$ trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM xauth -q -f "$xserverauthfile" << EOF add :$dummy . $mcookie EOF serverargs=3D${serverargs}" -auth "${xserverauthfile} # now add the same credentials to the client authority file # if '$displayname' already exists do not overwrite it as another # server man need it. Add them to the '$xserverauthfile' instead. for displayname in $authdisplay $hostname$authdisplay; do authcookie=3D`xauth list "$displayname" \ | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"` 2>/dev/nu= ll; if [ "z${authcookie}" =3D "z" ] ; then xauth -q << EOF=20 add $displayname . $mcookie EOF removelist=3D"$displayname $removelist" else dummy=3D$(($dummy+1)); xauth -q -f "$xserverauthfile" << EOF add :$dummy . $authcookie EOF fi done fi xinit "$client" $clientargs -- "$server" $display $serverargs retval=3D$? if [ x"$enable_xauth" =3D x1 ] ; then if [ x"$removelist" !=3D x ]; then xauth remove $removelist fi if [ x"$xserverauthfile" !=3D x ]; then rm -f "$xserverauthfile" fi fi exit $retval And my .xinitrc is: exec gnome-session --=20 Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com