Hi Dmitrij,

On Sun, Sep 11, 2011 at 5:46 PM, Dmitrij D. Czarkoff <[email protected]> wrote:
> On Sun, Sep 11, 2011 at 11:07:14AM -0400, Jeffrey Walton wrote:
>> OK, I deleted 4.9 and installed 4.8. I saved the console messages and
>> started and started the gdm, avahi, and dbus daemon as instructed. No
>> joy.
>
> Could You please be a bit more precise?
My apologies. I'll try and clear things up now (for grandma!).

I fell back to 4.8 because Tom stated something to the effect that
Gnome was not yet [fully] ported (forgive my misquotes). This made
some sense to me since I did see a few messages related to outdated
binaries on 4.9 when running `startx` from a teminal. I presumed the
developers knew about it, and it was OK with them (otherwise, it would
have been fixed).

> Which instructions did You follow - those unofficial instructions on some
> website about OpenBSD 4.7 or the official README that is cited in the
> install-message at installation time?

I followed the instructions from
http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/session/pkg/README?rev=1.13;content-type=text%2Fplain.
Actually, I missed gnome-audio and gnome-power-manager was not found:

   # pkg_add eog \
       file-roller \
       gdm \
       gedit \
       gnome-applets2 \
       gnome-audio \
       gnome-backgrounds \
       gnome-control-center \
       gnome-keyring \
       gnome-media \
       gnome-panel \
       gnome-power-manager \
       gnome-screensaver \
       gnome-terminal \
       gnome-themes \
       gnome-utils

After the list of 'primary' packages was installed, I then executed:

   # pkg_add gnome-session \
       gnome-desktop \
       nautilus-open-terminal

While installing the 'primary' packages (eog, ...,gnome-utils), I did
so in an XTERM so I was able to scroll through messages. Despite my
sincerest efforts to install the 'primary' packages, I still had to add
the following to rc.local per the terminal messages:

 if [ -x /usr/local/bin/dbus-daemon ]; then
  install -d -o _dbus -g _dbus /var/run/dbus
  echo -n ' dbus'; /usr/local/bin/dbus-daemon --system
 fi

 if [ -x /usr/local/sbin/gdm ]; then
  echo -n ' gdm'; (sleep 5; /usr/local/sbin/gdm)&
 fi

 if [ -x /usr/local/sbin/avahi-daemon ]; then
  echo -n ' avahi-daemon'; /usr/local/sbin/avahi-daemon -D
 fi

For what its worth, nautilus-open-terminal *should* be listed in the
'primary' list.

> What does the phrase "No joy" mean?
My bad. It is slang for 'not successful'. I appreciate the help, so I
don't want to use terms like 'failed' and 'broken'.

> You've got some errors? You've got no
> error but no GNOME? You didn't like the default color theme? You were
> depressed and decided not to go ahead?
I think it was approaching the latter :)

> I used to install GNOME on OpenBSD 4.9. It is 100% straight forward exactly as
> written in a README file that is referenced in the install message.
OK. This raises my suspicions (please don't take offense). I tried
following the instructions from the provided link on both 4.8 and 4.9.
I was not successful.

> And I am
> planning to instruct my grandmother to install OpenBSD 5.0 with GNOME.
Perhaps you should be at your gandmom's house when the migration occurs.

> You please share You experience in some more detail?
OK. For me, its all about 'dumb users' and 'reasonable expectations'.
I'm a dumb user, and I think my expectations are reasonable.

I think the documentation is lacking and the process is too involved.
I personally found Christian's link of
http://www.gabsoftware.com/tips/tutorial-install-gnome-desktop-and-gnome-display-manager-on-openbsd-4-8/
much more helpful. At minimum, it had pictures which are always easy
to follow.

I cannot explain why I got a 2 year old document as a top hit when
searching for 'OpenBSD install gnome' (perhaps SEO?). And I cannot
explain why the official OpenBSD document was not predominantly listed
in the Google'd results. Nor can I explain why neither the README nor
the INSTALL mention anything gnome or its installation document.

In practice, after following the official OpenBSD instructions, GDM
would start (ie, a 'gnome login screen') but I would get XTERM when I
logged in. Christian's instructions seems to have taken me a little
further, but I had to add to rc.conf.local:

 # cat /etc/rc.conf.local
 ...
 xdm_flags=NO
 gnome_enable=YES
 gdm_enable=YES#

In addition, I still needed to select Session -> gnome.desktop despite
the fact that gnome.desktop was listed as the default.

My feelings: since I wanted to install the gnome desktop manager, why
is there not a single package that includes gdm, gnome-desktop, and
gnome-session which *also* includes the modifications to rc.local and
rc.conf.local? I think its a very reasonable expectation when
installing the manager.

Since I was installing gnome and gnome-session, why were the changes
not made to rc.local and rc.conf.local with a message telling the user
how to turn it off? I think its a very reasonable behavior when
installing the manager.

Remember - dumb users (like me) just want it to work.

Jeff

Reply via email to