DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 14th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Old 14th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

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 ?
Reply With Quote
Old 14th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

Quote:
simply use xinit or its front end startx script.


What is xinit ? there is a file and there is a program.


Quote:
xinit /usr/local/bin/golem

/root/.xinitrc

and

xinit /usr/local/bin/....
Reply With Quote
Old 14th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

$ which xinit
Quote:
/usr/X11R6/bin/xinit
$ man xinit
Quote:
xinit - X Window System initializer
It has a front end : startx
$ man startx
Quote:
The startx script is a front end to xinit(1) that provides a somewhat
nicer user interface for running a single session of the X Window
System. It is often run with no arguments.
xinit can be used when you have many window managers that you'd want to choose from every now and then ..
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
For golem : install it and start it either way :
$ 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
Reply With Quote
Old 14th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default barti, please read the following text carefully

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:
  • "gnome" -- a standard Gnome installation
  • "gnome-extras" -- accessibility, development, personal information management and office tools.
Since you want Gnome, please continue to get that working. I recommend avoiding installing any other window manager -- daemonfowl is trying to be helpful, but in this case I believe he is needlessly sending you down paths you need not follow. He, like you, is a new user -- he just has some months head start on you.

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.
Reply With Quote
Old 14th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

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)
At one time, dbus was optional. This is not the case any longer. You must make these changes to the pkg_scripts variable in /etc/rc.conf.local so that dbus_daemon scripts are run during boot up, and you must revise the gnome-session command in your .xinitrc file also.
Reply With Quote
Old 14th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thank you very much @jggimi !
Reply With Quote
Old 14th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

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.
Reply With Quote
Old 14th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Old 15th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

http://www.daemonforums.org/showthre...4766#post44766

Last edited by daemonfowl; 15th July 2012 at 03:16 AM.
Reply With Quote
Old 15th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

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 ?
Reply With Quote
Old 15th July 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 572
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by barti View Post
By the way, what is the best minimalistic window manager?
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.
Reply With Quote
Old 15th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,907
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by barti View Post
By the way, what is the best minimalistic window manager?

XFCE4?

TWM ?
A third-party site which harvests information found in OpenBSD's CVS ports tree can be found at the following:

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.
Reply With Quote
Old 15th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by barti View Post
So, what do I need to do?


pkg_add gnome
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:
By the way, what is the best minimalistic window manager?
Please keep Gnome as your target for now. If you stray from your journey's destination you are likely never to arrive at the end.

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:
XFCE4?
This is not a minimal window manager. It was once intended to be a lightweight integrated desktop environment, but over the years has grown to be similar in size, scope, and complexity to KDE or Gnome.

Last edited by jggimi; 15th July 2012 at 08:00 PM. Reason: typo, clarity
Reply With Quote
Old 15th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Old 16th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default still it is not cleat to me what to do

Quote:
There are now two meta-packages for installing Gnome:
"gnome" -- a standard Gnome installation
"gnome-extras" -- accessibility, development, personal information management and office tools.



Quote:
And, barti, when you install the "gnome" meta-package, there will be a README file. In it, you will see:


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:
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)



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.
Reply With Quote
Old 16th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

Yes.

You may not need gnome-extras -- that's entirely optional.
Reply With Quote
Old 16th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

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.
Reply With Quote
Old 16th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

So now I need to install gnome again with ;

pkg_add gnome

and check the dbus variable + add the line
Reply With Quote
Old 16th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

If you have already installed the gnome meta-package, you need not re-install anything.
Reply With Quote
Reply

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
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


All times are GMT. The time now is 06:19 AM.


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