Re: Openbox without other desktop environments.

2015-11-11 Thread Brian
On Wed 11 Nov 2015 at 15:28:25 +0100, to...@tuxteam.de wrote:

> On Wed, Nov 11, 2015 at 02:51:30PM +, Darac Marjal wrote:
> 
> [...]
> 
> > "man startx" tells us that startx is a frontend to xinit. It also
> > states that configuration should be done in ".xsession". So, open
> > the file "~/.xsession" in your favourite editor (nano is a good
> > beginners editor). In that, try something like the following:
> > 
> > #!/bin/sh
> > xterm &
> > openbox
> 
> Yep: perhaps that's an even better avenue than what I proposed :-)

Using a ~/.xsession is only better if the user wants complete control
over the window manager (and programs) used when the X server is
started. Leaving everything in the hands of the system should still
produce a running WM. 



Re: Openbox without other desktop environments.

2015-11-11 Thread Patrick Bartek
On Wed, 11 Nov 2015, Rene Funck wrote:

> I have a virgin installation of Jessie v.8.2 and i want to run Openbox
> without other desktop environments. So my situation is almost
> identical to Dwijesh Gajadurs who posted to this list yesterday.
> 
> I followed the advises to Dwijesh: Installed Xorg, installed Openbox
> (my own idea, hope i didn't ruin anything, ha ha!), logged in as a
> regular user and executed
> 
> *startx.*
> It looked like the video-mode changed (probably from text to graphic)
> and then i had a working mouse-pointer on black screen.
> 
> Please help!

You're in luck.  My Wheezy system is set up the same way, a very custom
install.  And I made detailed notes of everything I did.  So ...

Since you've got a working pointer on a black screen, X and Openbox are
working.  Do you get a "floating" menu with a right mouse click?  If
not, did you install obmenu and menu (the Debian one)?  I'm assuming
you've not installed any apps.

Advise you go to Openbox's web site and read the documentation on
installing and configuring. Also, Arch Linux has VERY good step-by-step
documentation on Openbox, among other things.  Those are the two
sources I used when I set up my Wheezy system a couple years ago.

B



Re: Openbox without other desktop environments.

2015-11-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Nov 11, 2015 at 02:51:30PM +, Darac Marjal wrote:

[...]

> "man startx" tells us that startx is a frontend to xinit. It also
> states that configuration should be done in ".xsession". So, open
> the file "~/.xsession" in your favourite editor (nano is a good
> beginners editor). In that, try something like the following:
> 
> #!/bin/sh
> xterm &
> openbox

Yep: perhaps that's an even better avenue than what I proposed :-)

regards
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZDUIkACgkQBcgs9XrR2kYouQCdHv2otYFMutPMHmLgvDM5xCS2
LVEAn23q5nFPwxkPCmSydntUDriz6HLO
=fcV0
-END PGP SIGNATURE-



Re: Openbox without other desktop environments.

2015-11-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Nov 11, 2015 at 03:34:52PM +0100, Rene Funck wrote:
> Hello Users
> 
> I have a virgin installation of Jessie v.8.2 and i want to run Openbox
> without other desktop environments. So my situation is almost identical to
> Dwijesh Gajadurs who posted to this list yesterday.
> 
> I followed the advises to Dwijesh: Installed Xorg, installed Openbox (my
> own idea, hope i didn't ruin anything, ha ha!), logged in as a regular user
> and executed
> 
> *startx.*
> It looked like the video-mode changed (probably from text to graphic) and
> then i had a working mouse-pointer on black screen.
> 
> Please help!

Hm. It seems the window manager isn't set up in your X session. What's the
file /usr/bin/x-window-manager? (I'd expect it to be a symlink to
/etc/alternatives/x-window-manager, and this one to be a symlink to your
window manager, probably /usr/bin/openbox or something similar).

What does the command

  update-alternatives x-window-manager

say?

Perhaps you could fix it with

  sudo update-alternatives --config x-window-manager

or with

  sudo update-alternatives --set x-window-manager /usr/bin/openbox

(please, double-check the path to the openbox executable).

Aditionally you might want to have a display manager (xdm, gdm or whatever)
if you want to have a graphical login instead of issuing "startx" from
the console.

Before all that, you could try starting the window manager from a (Linux)
console like so:

  DISPLAY=:0 openbox &

(so you can check whether all of the above might work).

HTH
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZDUCAACgkQBcgs9XrR2kZJ+wCfdF8S6DNsxy6W9N9VBGuOC23Z
VmMAn0PgyWWyJroMba6B8iW8K/bHy463
=MeRR
-END PGP SIGNATURE-



Re: Openbox without other desktop environments.

2015-11-11 Thread Darac Marjal

On Wed, Nov 11, 2015 at 03:34:52PM +0100, Rene Funck wrote:


Hello Users

I have a virgin installation of Jessie v.8.2 and i want to run Openbox 
without other desktop environments. So my situation is almost identical 
to Dwijesh Gajadurs who posted to this list yesterday.


I followed the advises to Dwijesh: Installed Xorg, installed Openbox 
(my own idea, hope i didn't ruin anything, ha ha!), logged in as a 
regular user and executed startx.


It looked like the video-mode changed (probably from text to graphic) 
and then i had a working mouse-pointer on black screen.


Please help!


'startx' starts X. It appears that you've managed to get that working 
(evidenced by the mouse pointer). Press Ctrl+Alt+Backspace to terminate 
X and return to the prompt.


"man startx" tells us that startx is a frontend to xinit. It also states 
that configuration should be done in ".xsession". So, open the file 
"~/.xsession" in your favourite editor (nano is a good beginners 
editor). In that, try something like the following:


#!/bin/sh
xterm &
openbox

That will start an xterm terminal and background it (so that we can 
start another command in parallel), then run openbox and wait. X will 
terminate when the .xsession script stops, so we DON'T background this 
last command. Only when openbox exits will the X session shut down.


Hope that gives you a place to start :)





Regards, Rene.



-- For more information, please reread.


signature.asc
Description: PGP signature


Openbox without other desktop environments.

2015-11-11 Thread Rene Funck
Hello Users

I have a virgin installation of Jessie v.8.2 and i want to run Openbox
without other desktop environments. So my situation is almost identical to
Dwijesh Gajadurs who posted to this list yesterday.

I followed the advises to Dwijesh: Installed Xorg, installed Openbox (my
own idea, hope i didn't ruin anything, ha ha!), logged in as a regular user
and executed

*startx.*
It looked like the video-mode changed (probably from text to graphic) and
then i had a working mouse-pointer on black screen.

Please help!

Regards, Rene.