DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th January 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default how to start openbox

Hi,
I've installed Openbox on OpenBSD 5.8 (quad cores AMD64), i do entry like this :
Code:
pkg_add openbox
pkg_add obconf
pkg_add obmenu
and

Code:
.xinitrc
exec openbox-session
I do reboot my computer !

and now i don't know how to start openbox ?

I do
Code:
$ openbox
Openbox-Message: A window manager is already running on screen 0
$
Reply With Quote
  #2   (View Single Post)  
Old 5th January 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

There are two files which are used to start X applications. Select the proper file, depending on how you start the X Windows System.

$HOME/.xinitrc

This file is used when starting X manually, such as with startx(8) or xinit(8).

$HOME/.xsession

This file is used when starting X with a Display Manager such as xdm(1), gdm, or kdm.

Because users may start X both ways, these are two separate files.

Some users use ln(1), so that both .xinitrc and .xsession are two names for the same file.
Reply With Quote
  #3   (View Single Post)  
Old 5th January 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

what's can i write into the $HOME/.xsession for start openbox because i use Kde4 ?
Reply With Quote
  #4   (View Single Post)  
Old 5th January 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Ah, now I understand your objective. Openbox can integrate with KDE so that it can be used as the user's window manager inside of a KDE session. This is done at login time, by the user selecting Openbox from the KDE Display Manager (KDM) login screen.

http://openbox.org/wiki/Help:KDE/Openbox

In this case, you must have KDM running as your Display Manager.

Last edited by jggimi; 5th January 2016 at 12:51 AM.
Reply With Quote
  #5   (View Single Post)  
Old 5th January 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Please can you advisor me about another virtual machine for OpenBSD 5.8 with Kde4 ?
Reply With Quote
  #6   (View Single Post)  
Old 5th January 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I think you are confusing Openbox with VirtualBox. These are similar names for software packages which have two very different purposes.
  • Openbox is a Window Manager for X Windows Systems.
  • VirtualBox is a virtualization tool from Oracle Corporation.
Now, let's start over. What is the problem you are trying to solve?

Last edited by jggimi; 5th January 2016 at 01:06 AM. Reason: typo
Reply With Quote
  #7   (View Single Post)  
Old 5th January 2016
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default

Yesterday i try to virtualize with qemu ! it's run but it's very very slow, i know very well virtualbox under lot of UNIX and LINUX operating system, i'm very curiosity to understand the virtualisation consept...

But now i do pkg_add virtualbox and pkg_add virtualbox-ose, it's doesn't found a package, have a good referenciel !
How can i do for use virtualbox on OpenBSD ?

Last edited by philo_neo71; 5th January 2016 at 01:33 AM.
Reply With Quote
  #8   (View Single Post)  
Old 5th January 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

VirtualBox has nothing to do with Openbox, and it is not available on OpenBSD.

If you want to use OpenBSD as a host for guest operating systems, you must use a hardware emulator such as Qemu or simh -- with one exception, noted below. Hardware emulators are slow, because they emulate hardware functionality entirely in software. If you want to understand concepts, as you've stated, then Qemu is an excellent teaching tool, because it can emulate many different hardware platforms, emulate many types of network interconnections, and emulate many types of peripheral devices.

If you want more performance, I recommend using an OS that supports a hypervisor in production, such as FreeBSD with bhyve, NetBSD with Xen. Or, as you've stated, using a Linux solution. Hypervisors are virtualization tools that either operate completely in hardware (such as on mainframe computers) or partially with hardware assistance.

---

OpenBSD has a hypervisor currently in development. It is available to the user community for testing, but it is not production-ready and I would not recommend it to anyone for learning about virtualization.

This hypervisor currently requires amd64 architecture processors with hardware virtualization support, requires the use of a custom kernel, and any guest virtual machines are limited to single-CPU systems running OpenBSD/amd64 kernels with serial consoles.
Reply With Quote
  #9   (View Single Post)  
Old 5th January 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Quote:
Originally Posted by philo_neo71 View Post
what's can i write into the $HOME/.xsession for start openbox because i use Kde4 ?
I run openbox and my install has the following:

Code:
PooBear$ ls /usr/local/bin/openbox*
/usr/local/bin/openbox                  /usr/local/bin/openbox-kde-session
/usr/local/bin/openbox-gnome-session    /usr/local/bin/openbox-session
with more information here.
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
X11 won't start. abtekk OpenBSD General 11 8th August 2012 09:47 PM
Is openbox still available ? sw2wolf OpenBSD Packages and Ports 5 1st April 2012 04:17 PM
value of machdep.allowaperture for openbox sepuku OpenBSD General 6 4th July 2011 12:04 AM
How to change terminal color (Openbox)? Daffy OpenBSD Packages and Ports 6 14th July 2010 07:47 AM
DE Forging (Openbox) greencross FreeBSD Ports and Packages 2 25th September 2008 07:02 AM


All times are GMT. The time now is 08:36 AM.


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