From owner-freebsd-questions Thu Apr 13 13:31:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f110.law8.hotmail.com [216.33.241.110]) by hub.freebsd.org (Postfix) with SMTP id 6EAF637B84E for ; Thu, 13 Apr 2000 13:31:33 -0700 (PDT) (envelope-from m1ewis@hotmail.com) Received: (qmail 533 invoked by uid 0); 13 Apr 2000 20:31:33 -0000 Message-ID: <20000413203133.532.qmail@hotmail.com> Received: from 216.119.18.14 by www.hotmail.com with HTTP; Thu, 13 Apr 2000 13:31:33 PDT X-Originating-IP: [216.119.18.14] From: "Michael Lewis" To: wdr@tdl.com Cc: freebsd-questions@freebsd.org Subject: Gnome/Enlightenment config Date: Thu, 13 Apr 2000 13:31:33 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Mr. Richard -- you helped me out several days ago (cf. your reply below) with a problem in which X runs ok when I logged-on as root but not when I create a new user and log on as that user and startx. I checked the .xinitrc file in the user's home dir and made sure it contained WINDOW_MANAGER=/usr/X11R6/bin/enlightenment exec gnome-session as you suggested (in fact that's the entire contents of the file). This user (mlewis) runs bash-2.03 as his shell. When I ran startx as mlewis I got what appeared to the the normal X startup lines in the shell display. Then the X screen came up briefly, then shut down (no Gnome/Enlightenment displays), returning me to the shell command prompt after leaving the following messages on the shell display: System: 'usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb - xkm -m us -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" keymap/xfree86 /var/tmp/xfree86.xkm' Gdk-WARNING **: locale not supported by C library /dev/dsp: No such file or directory ** WARNING **: Unable to lock ICE authority file: /users/mlewis/.ICEauthority waiting for X server to shut down . When I return to the root tty, there is the message: Apr 13 12:23:13 coldcreek /kernel: pid 314 (gnome-session), uid 1000: exited on signal 11 (core dumped) and there is indeed a large gnome_session.core file in /users/mlewis. I'm assuming the fatal error is associated with the "unable to lock .ICEauthority" warning. When I ls -l /users/mlewis/.ICEauthority I get -rw------- 1 mlewis mlewis 886 Apr 11 20:15 .ICEauthority Can you advise me on what to do about the locking problem (if that's the problem!). thanks, Michael Lewis ---------------------------------------------------------------------- >From: William Richard >To: Michael Lewis >CC: freebsd-questions@FreeBSD.ORG >Subject: Re: Gnome/Enlightenment config >Date: Sun, 9 Apr 2000 23:01:53 -0700 (PDT) > >I think you're confused. > >No, strike that, you *are* confused. :) > >Adding new users is, in fact, decidedly easy. However, they will always >come up to the text-mode command prompt (like % or $) unless you tell the >system otherwise (such as by configuring and running the X Display >Manager, XDM, and adding the appropriate ~/.xsession files). > >Users specify their window manager (such as Enlightenment) and run other >programs (such as the Gnome session manager) in either their ~/.xinitrc >file (the file in their home directory called .xinitrc) if they invoke the >X Window session from the command line (that is, if they log in at a >text-mode screen). If your machine is set up to log in with a graphical >login prompt (using a program in the XFree86 distribution called XDM), the >users runs these programs from a file called ~/.xsession. > >If you want to have Gnome and Enlightenment run when a user invokes >'startx' on the command line, you must first add the following line to >either the .xinitrc (if you're invoking X Window from the command line) or >.xsession file (if you're set up for a graphical login): > >WINDOW_MANAGER=/usr/X11R6/bin/enlightenment > >Then, after the list of other programs you want to start (such as xterms >or xscreensaver), add this line at the bottom: > >exec gnome-session > >Then either exit and restart X Window (if running from the command >line) or log out and log back in again (if running the graphical log >in). You should see Gnome and Enlightenment come up. > >If you want to add this functionality to every user's account when it's >configured, add a dot.xinitrc and dot.xsession file to /usr/share/skel >with the desired defaults. > >I wrote an article about configuring XDM (the graphical login system), >which appeared in the January 2000 edition of Daemon News. You can read >it at . If you have any other >questions, e-mail me. > > >Cheers, >William Richard >wdr@tdl.com > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message