![]() |
|
|||||||
| OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Again , no need for gdm to start gnome-session as xdm is needless to start X .. & kdm needless to startkde .. and besides this won't solve the issue.
Using a new window manager , simply use xinit or its front end startx script. |
|
|||
|
It was root
whoami I checked. I will post files only tommorow. so, gnome is the window manager = the Xclient, and, gdm is the dispaly manager = the Xserver? I'm doing well ? |
|
|||
|
Quote:
What is xinit ? there is a file and there is a program. Quote:
/root/.xinitrc and xinit /usr/local/bin/.... |
|
|||
|
$ which xinit
Quote:
Quote:
$ man startx Quote:
When you make up your mind on one window manager for daily use .. eg : gnome-session .. you'd create .xinitrc in your home directory that overrides the default window manager (fvwm .. which is initiated with startx without arguments ) so : Code:
$ echo "/usr/local/bin/gnome-session" > ~/.xinitrc $ xinit /usr/local/bin/golem or by setting it as default so that whenever you do : startx it starts golem and not fvwm. by creating ~/.xinitrc (again as user not as root) : Code:
$ echo "/usr/local/bin/golem" > ~/.xinitrc |
|
||||
|
barti, I may have mislead you -- gnome-session and its dependencies are no longer sufficient as the packages needed for a minimum Gnome installation. I have not installed Gnome since OpenBSD 5.0, and this change is effective with 5.1.
There are now two meta-packages for installing Gnome:
You started with fvwm already working, so you need not worry about X -configure or XDM or GDM. Your intent, at this point, is to get Gnome working. Please, stick to that. ONE THING AT A TIME. You should try to reach your objectives without diversions. The .xsession file is used by the Window Managers (XDM, GDM, KDM...) and the .xinitrc file is used by startx and xinit. We have been suggesting you log on to a console and use startx so that you can more easily collect logs and other information if and when there were problems. Once you have your configuration working, you may use a Window Manager with .xsession if you prefer to do so.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
And, barti, when you install the "gnome" meta-package, there will be a README file. In it, you will see:
Code:
==============
Before running gnome-session(1), a system-wide D-Bus daemon needs to be
running ("dbus_daemon" needs to be added to the "pkg_scripts" variable
in rc.conf.local(8)).
Then the following line needs to be added:
exec /usr/local/bin/ck-launch-session /usr/local/bin/gnome-session
in ~/.xinitrc when using startx(1) (console login)
in ~/.xsession when using xdm(1) (X Display Manager login)
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Thank you very much @jggimi !
|
|
||||
|
No, don't thank me. Were I a Gnome user, I would not have provided misdirection for barti and caused a grey screen. I have deployed Gnome systems, but not since 5.0, and was unaware of recent changes.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I must thank anyone helping me advance and get better ..
I've installed OpenBSD 5.1 on an old external disk and am installing gnome-session & gnome-extras .. dbus-daemon is started .. I'll see if it loads well this time .. Last edited by daemonfowl; 15th July 2012 at 01:35 AM. |
|
|||
|
Last edited by daemonfowl; 15th July 2012 at 03:16 AM. |
|
|||
|
So, what do I need to do?
pkg_add gnome pkg_add gnome-extras ??? By the way, what is the best minimalistic window manager? XFCE4? TWM ? |
|
||||
|
It may be of interest to review this long thread, since it has many opinions/options mentioned. Almost anything in there would probably be more minimalistic than gnome. As to "best," this would depend heavily on your needs and tastes, and even so there is perhaps no such animal.
|
|
|||
|
Quote:
http://openports.se/ Note that the information presented is specific to -current. Packages found in -release/-stable may be older or non-existent. As for window managers, one of the best minimal alternatives is cwm(1) which is part of a base OpenBSD installation assuming all X filesets have been installed. For the record, XFCE4 is not minimalistic, however I recognize if Gnome were one's only exposure to window managers, every other window manager is minimal in comparison. ![]() barti, this site attempts to maintain that every thread is about one subject only, & this is covered in the forum rules. Most members of this site use the archives extensively for searching, & limiting threads to a single subject helps simplify the task. Because this was your first thread, I have let this slide, but in the future I will not be so lenient. As stated earlier, I am only allowing questions about X & Gnome in this thread. While asking about other window managers is an X-related topic, it is outside the spirit of how to configure Gnome in X. Please consider this when attempting to change the subject again within the same thread. |
|
||||
|
That would be sufficient, yes. But you will also need to change your .xinitrc file, and ensure dbus is started, as described in the README.
Quote:
There is no answer to your question, as there is only "what's best for you" == there are many, many choices and you must experiment with them to find the one (or two, or three) that you find meets your needs. Quote:
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 15th July 2012 at 08:00 PM. Reason: typo, clarity |
|
|||
|
It looks to me funny to start new session on every question I have.
And I have so many. It is ok to start new session about PF but just asking about an alternative to gnome since it seems to hard to work with this beast doesn't seems to me like breaking the rules. I will try to install gnome and see... Thanks. |
|
|||
|
Quote:
Quote:
What I did is pkg_add gnome-session So now I need to reinstall gnome again with : pkg_add gnome pkg_add gnome-extras and then : Quote:
I need to edit ~/.xinitrc file and put inside it : exec /usr/local/bin/ck-launch-session /usr/local/bin/gnome-session And this is it? Thanks. |
|
||||
|
Yes.
You may not need gnome-extras -- that's entirely optional.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
Oops -- no, that's not it. You also need to ensure dbus_daemon is started. There is an environment variable called pkg_scripts in /etc/rc.conf.local (or /etc/rc.conf if you don't use .local). Iff that variable is not defined, you need to add it, and ensure that dbus_daemon is included in its definition.
See the rc.d(8) man page.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
So now I need to install gnome again with ;
pkg_add gnome and check the dbus variable + add the line |
|
||||
|
If you have already installed the gnome meta-package, you need not re-install anything.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| connect to OpenBSD BOX with VNC | mfaridi | OpenBSD General | 9 | 14th April 2010 08:38 PM |
| Bewan ADSL modem bewan adsl pci | pico | OpenBSD Installation and Upgrading | 2 | 2nd April 2010 05:48 AM |
| How to connect Free VPN with OpenBSD | mfaridi | OpenBSD General | 19 | 9th February 2009 11:52 AM |
| connect to openbsd box (ssh) | milo974 | Other BSD and UNIX/UNIX-like | 4 | 3rd January 2009 01:44 AM |
| PPPoE -> ADSL Router (Bridge) - Slow connect? | DraconianTimes | OpenBSD General | 0 | 31st December 2008 12:07 PM |