OpenBSD Gnome Configuration Problem
I followed all the steps from the tutorial gabsoftware.com/tips/tutorial-install-gnome-desktop-and-gnome-display-manager-on-openbsd-4-8 to put gnome up and running in one ACER Aspire laptop - running OpenBSD 4.9.
However, the gnome does not load after booting. Only if I run nautilus, then it kind of start some parts of the gnome (the sunny beach wallpaper appears on desktop), but no complete gnome environment takes off really -- e.g. no main menu, gnome panel, etc appears.
According to this suggestion - lists.freebsd.org/pipermail/freebsd-questions/2008-February/169268 , I tried to run the command
echo 'dbus_enable="YES"' >>/etc/rc.conf && /usr/local/etc/rc.d/dbus start
but the system complains that the rc.d/dbus was not found, although I have also installed dbus with
pkg_add -rv dbus
I also have installed all gtk and all gnome programs present in the ports.
Tried the suggested command "bbs.archlinux.org/viewtopic 60582" on terminal:
pacman -S $(comm -3 <(pacman -Qq) <(pacman -Qqm))
But it complains of syntax error as: "'(' expected".
Reboot the system, and still nothing.
The thing has been mocking around with me for the whole week, but I couldn´t figure out some way around to fix this.
Is it some additional file configuration that should be missing, or what else could have changed from 4.8 to 4.9?
All comments and suggestions are highly appreciated and welcome.
OpenBSD is not FreeBSD, nor or is it Arch Linux.
Blindly copying commands you find without understanding what they mean is a very bad idea..
OpenBSD's rc(8) is not compatible with FreeBSD's, this is very obvious to anyone would would take the time to look at it.. as for "pacman", that is obviously a package manager for Linux.
Don't follow random outdated tutorials you find on someones blog either.
To start "gnome" you can execute the proper program, gnome-session. You can start it from your ~/.xinitrc or ~/.xsession file.
If you want X to start at boot, you need a "display manager", several exist in the ports tree.. but xdm is in base.
Thanks for your suggestion. Going on terminal and running gnome-session, it make the gnome start with main menu, etc.
But, to make the gnome run automatically with no need to run first a terminal, I did:
echo 'exec gnome-session' > /root/.xinitrc and also for my /home/username.
chmod + .xinitrc
I also did the same at
But it still did not run, unless I open a terminal and type gnome-session, but although starting, gnome still gives the following errors that appears on that same terminal:
warning: could not connect to consolekit: failed to connect to socket /var/run/dbus/system_bus_socket> No such fuile or directory
warning: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file /usr/obj/i386/dbus-1.4.1/dbus-1.4.1/dbus/dbus-connection.c line 5981.
This is normally a bug in some application using the D-Bus library.
As mentioned before, I already have installed dbus: pkg_add dbus. However, the system gives these error message.
In addition I have also put:
/usr/local/bin/gnome-session in file /home/username/.xinitrc
and in file /etc/rc.conf:
Any suggestions? All comments are highly appreciated.
Last edited by threaderslash; 1st August 2011 at 02:33 PM.
Hint #1: OpenBSD documentation for ports and packages can be found primarily in two places. a) FAQ 15, on general function of the package tools and ports tree, and b) installed when a package is installed, or posted as an installation message, or both.
Hint #2: The gnome-session package places a README file for OpenBSD on your system when you install it. You will probably find it here:
remove the xdm reference in your /etc/rc.conf.local
once you restart, the gnome login will take over
in Session, select gnome desktop
it will ask you if you wish to make this the default, say yes.
I've already tried to respond, so second time luck or I'll just delete my account.
Now for a reasonable intelligent answer, where you don't get flamed.
If you follow the link you mentioned, then you are very close !
all you need to do is remove xdm from your /etc/rc/conf.local
when you restart you will see gnome login manager. Then select session->gnome.desktop
it will ask you if you want to make it default, select yes.
That it ! good luck, and please stick to OpenBSD.
Thank you all.
Yes, I stick to OpenBSD.
I can say to have worked with all kinds of OS. After all these years, I must admit that OpenBSD won preference and deserve my passion for it: portability, safety, reliability, are just few qualities to name.
About the Gnome now it is working.
|Thread||Thread Starter||Forum||Replies||Last Post|
|gnome configuration in NetBSD 5.1||jewsofeast||NetBSD Package System (pkgsrc)||8||10th January 2011 04:09 AM|
|WindowMaker 0.92.0p7 (OpenBSD 4.4/i386 Packages) configuration issue.||xixobrax||OpenBSD General||1||3rd May 2009 05:04 PM|
|Problem with x11/gnome+libcaca in ports||Kilo1||OpenBSD Packages and Ports||3||2nd August 2008 01:58 AM|
|Instaling Gnome in OpenBSD 4.3||Ragnar||FreeBSD Ports and Packages||1||21st May 2008 03:21 AM|
|Working Configuration for Openbsd 4.0 - Postfix - SASL - TLS||roundkat||Guides||0||4th May 2008 06:38 PM|