|
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 |
|
||||
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) |
|
|||
Thank you very much @jggimi !
|
|
|||
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:
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. |
|
|||
still it is not cleat to me what to do
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. |
|
||||
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. |
|
|||
So now I need to install gnome again with ;
pkg_add gnome and check the dbus variable + add the line |
|
|
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 12:52 PM |
connect to openbsd box (ssh) | milo974 | Other BSD and UNIX/UNIX-like | 4 | 3rd January 2009 02:44 AM |
PPPoE -> ADSL Router (Bridge) - Slow connect? | DraconianTimes | OpenBSD General | 0 | 31st December 2008 01:07 PM |