Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th July 2011
threaderslash threaderslash is offline
New User
Join Date: Jul 2011
Posts: 6
Talking 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.
Reply With Quote
  #2   (View Single Post)  
Old 30th July 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223

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.
Reply With Quote
  #3   (View Single Post)  
Old 1st August 2011
threaderslash threaderslash is offline
New User
Join Date: Jul 2011
Posts: 6

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:

$ gnome-session
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 01:33 PM.
Reply With Quote
  #4   (View Single Post)  
Old 1st August 2011
fossala's Avatar
fossala fossala is offline
Real Name: David
Fdisk Soldier
Join Date: Feb 2011
Location: Cornwall, UK
Posts: 58

Your still not looking at O P E N B S D documentation.
Reply With Quote
  #5   (View Single Post)  
Old 1st August 2011
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
Join Date: May 2008
Location: USA
Posts: 6,517

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:

Reply With Quote
  #6   (View Single Post)  
Old 16th August 2011
Fizban Fizban is offline
New User
Join Date: Aug 2011
Posts: 2

Hi threaderslash,

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.

Job done.
Reply With Quote
  #7   (View Single Post)  
Old 16th August 2011
Fizban Fizban is offline
New User
Join Date: Aug 2011
Posts: 2

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.
Reply With Quote
  #8   (View Single Post)  
Old 29th August 2011
threaderslash threaderslash is offline
New User
Join Date: Jul 2011
Posts: 6
Default solved

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.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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 04:04 PM
Problem with x11/gnome+libcaca in ports Kilo1 OpenBSD Packages and Ports 3 2nd August 2008 12:58 AM
Instaling Gnome in OpenBSD 4.3 Ragnar FreeBSD Ports and Packages 1 21st May 2008 02:21 AM
Working Configuration for Openbsd 4.0 - Postfix - SASL - TLS roundkat Guides 0 4th May 2008 05:38 PM

All times are GMT. The time now is 06:05 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick