Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2005 13:00:07 -0500 (EST)
From:      "Louis J. LeBlanc" <FreeBSD@keyslapper.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: gnome2
Message-ID:  <44238.38.112.155.126.1133978407.squirrel@www.keyslapper.net>
In-Reply-To: <05833021B4235FC1C06BB6CD@utd59514.utdallas.edu>
References:  <4396F1AB.7040603@gmail.com> <A30FC36AF4B72FE152EC93FB@utd59514.utdallas.edu> <20276.38.112.155.126.1133972025.squirrel@www.keyslapper.net> <05833021B4235FC1C06BB6CD@utd59514.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, December 7, 2005 12:21 pm, Paul Schmehl wrote:
> --On Wednesday, December 07, 2005 11:13:45 -0500 "Louis J. LeBlanc"
> <FreeBSD@keyslapper.net> wrote:
>
>> <quote who=3D"Paul Schmehl">
>>>
>>> Edit /etc/ttys like this:
>>> ttyv8   "/usr/X11R6/sbin/gdm -nodaemon" xterm   on  secure
>>>
>>> And gnome will start when you boot.
>>>
>> Actually, don't the docs suggest turning OFF ttyv8?  IIRC, the more
>> recent
>> approach is to put "gdm_enable=3DYES" (or something similar) in /etc/r=
c.d.
>> Check the pkg_message file in the port directory to be sure.
>>
> pkg-message points to www.freebsd.org/gnome, which doesn't say anything
> about startup (AFAICS) except this:
>
> Make GNOME 2.12 start when X starts.
>
> Once you have the GNOME 2.12 desktop installed, GNOME 2.12 can be start=
ed
> by adding the following line to ~/.xsession or ~/.xinitrc, as appropria=
te:
>
> exec gnome-session

Yes, this detail was mentioned previously, and I did forget to repeat it =
...

> There's nothing about starting gnome in /usr/ports/UPDATING.
>
> The Handbook suggests using ttyv8 (as I do) for xdm (section 5.6.2):
> ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

Yes, this turns the display manager running on ttyv8 off - no display
manager will start up.  It does, however, create the virtual terminal for
gdm to start on.  This is actually the default entry anyway.

> <SNIP>

> Section 5.7.1.2 says this:
>
> The easiest way to start GNOME is with GDM, the GNOME Display Manager.
> GDM,
> which is installed as a part of the GNOME desktop (but is disabled by
> default), can be enabled by adding gdm_enable=3D"YES" to /etc/rc.conf. =
Once
> you have rebooted, GNOME will start automatically once you log in -- no
> further configuration is necessary.
>
> In short, there's more than one way to skin a cat.

Actually, I was under the impression they were just different parts of th=
e
same procedure.  I believe the entry above assumes that /etc/ttys has not
already been modified to start xdm (i.e. it's still "off", which is the
default at install).

If the virtual terminal line is omitted or commented out, gdm will not
have a place to run.  If it is "on" instead of "off" that terminal will
run xdm instead.  If "gdm_enable=3Dyes" is not put in /etc/rc.conf (I wro=
te
/etc/rc.d in my last message, which was a mistake on my part), the script
installed in /usr/local/etc/rc.d/ will not start gdm at startup.

Thanks for the correction regarding /etc/rc.conf.

Cheers.
Lou
--=20
Louis LeBlanc                 FreeBSD@keyslapper.net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :=FE
http://www.keyslapper.net                       =D4=BF=D4=AC




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44238.38.112.155.126.1133978407.squirrel>