Date: Sun, 9 Apr 2000 23:01:53 -0700 (PDT) From: William Richard <wdr@tdl.com> To: Michael Lewis <m1ewis@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Gnome/Enlightenment config Message-ID: <Pine.BSF.4.21.0004092245030.754-100000@wdr.my.domain> In-Reply-To: <20000409224419.67770.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.daemonnews.org/200001/xdm.html>. If you have any other questions, e-mail me. Cheers, William Richard wdr@tdl.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004092245030.754-100000>