Author Topic: Openbox session broken  (Read 7268 times)

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Openbox session broken
« on: February 08, 2012, 02:14:09 AM »
This popped up whilst testing a new FM, but I don't think it is related.  Did a system update which installed -
Quote
gnupg (1.4.11-1pclos2010) to 1.4.12-1pclos2012
htop (0.9-1pclos2010) to 1.0-1pclos2012
mozilla-thunderbird (9.0.1-1pclos2011) to 10.0-1pclos2012
openbox (3.5.0-2pclos2011) to 3.5.0-3pclos2012

On reboot I met with -
Quote
No Exec line in the session file;
26 Openbox.  Running the GNOME failsafe session instead.

Needless to say GNOME failsfe didn't happen and I was dropped into xterm.  There I disabled auto-login, which allowed me to reboot to the login point.  It was there I discovered that the session was now 26openbox, not 25openbox as is listed in all the /etc files.  As a result the autostart.sh file doesn't load, although the .rc and menu.xml file load and work.

Melodie gave me an example of a 26openbox file from /etc/X11/wmsession.d but it is identical to my 25openbox file.  Creating the 26 version didn't change anything.

What do I need to change to get the current session to recognise the autostart.sh file?  And has anyone else updated and had a similar result?
Linux Registered User # 529407


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Openbox session broken
« Reply #1 on: February 08, 2012, 03:38:42 AM »
Taco.22,     
You have a non-standard install. Adding spacefm rendered your system non-standard. Please check this on a standard install.     

If you do not have libopenbox2 installed, install it.     

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Openbox session broken
« Reply #2 on: February 08, 2012, 05:42:03 AM »
Taco.22,     
You have a non-standard install. Adding spacefm rendered your system non-standard. Please check this on a standard install.     

If you do not have libopenbox2 installed, install it.     

Thanks Neal, took your advice regarding libopenbox2 and all seems to be well.  The reason I posted here was because I thought the issue where it happened seemed OB-specific, and rather than bog that thread down with what seemed to be an issue that may be more at home here I posted here.  I seem to be caught in a cleft stick - how do we work out what the issue was?  I know that Archie had a similar issue with kde after updating - ah, maybe that was too obvious!  Nothing like poking something until it breaks! 

Do we continue this discussion here or back in the Advanced Users Section?
Linux Registered User # 529407


Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #3 on: February 08, 2012, 05:56:00 AM »
Hi,
I have a Bonsai in a virtual machine. I am going to update it and look if it breaks the system.

Regards,
Mélodie

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox session broken
« Reply #4 on: February 08, 2012, 06:17:29 AM »
The Openbox update did not go well for me, either. After the update, none of the menus were available. No way to logout, reboot, etc., from a menu. Did a Ctrl-Backspace to restart X. After logging in, I had ... nothing but a black screen. No autostarted apps, no wallpaper, no tint2 panel. But, I did have menus again. On the offhand chance a reboot would set things right, I tried that. Same scenario.

I restarted X and logged into an IceWM session. After reading this thread, I opened Synaptic and installed libopenbox2. Logged out of the IceWM session and logged into an Openbox session. Much better. Things are almost back to normal. Had to reset the wallpaper (no biggie). Settings were looking at my home directory for wallpaper instead of /usr/share/wallpapers. I still have to figure out what happened to my tint2 panel borders, colors, etc.

I can assure you that this installation is 100% PCLinuxOS, pure and clean, no outside additions. IMHO, libopenbox2 should be added as a prerequisite or dependency.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Openbox session broken
« Reply #5 on: February 08, 2012, 06:25:22 AM »
Silly question, but what exactly does "libopenbox2" do?  And if it is that important, why is it not part of the install?
Linux Registered User # 529407


Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox session broken
« Reply #6 on: February 08, 2012, 06:38:56 AM »
Silly question, but what exactly does "libopenbox2" do?  And if it is that important, why is it not part of the install?

I'm wondering if it should replace libopenbox1. Currently, they're both installed.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #7 on: February 08, 2012, 06:47:42 AM »
borked my install also  :-X

edit: installed libopenbox2. didn't help

re-edit : installed task-gnome. now at least I can get to a desktop.  ;)
« Last Edit: February 08, 2012, 07:08:06 AM by LKJ »
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Openbox session broken
« Reply #8 on: February 08, 2012, 07:15:08 AM »
I'm wondering if it should replace libopenbox1. Currently, they're both installed.
     
obconf needs libopenbox1.     

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Openbox session broken
« Reply #9 on: February 08, 2012, 07:15:54 AM »
I'm wondering if it should replace libopenbox1. Currently, they're both installed.
     
obconf needs libopenbox1.     

Okay. Thanks, Neal.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #10 on: February 08, 2012, 07:16:41 AM »
Hi,

I prudently tested in a virtual machine and I confirm the update of openbox breaks the session. Neal, why did you update packages that were working well ?

I'll be back in a moment with some screenshots...

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #11 on: February 08, 2012, 07:23:43 AM »
after installing gnome I can now log into plain openbox. however, I can't set the wallpaper and lxpanel no longer starts at log in.
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline Taco.22

  • Sr. Member
  • ****
  • Posts: 481
Re: Openbox session broken
« Reply #12 on: February 08, 2012, 07:32:12 AM »
after installing gnome I can now log into plain openbox. however, I can't set the wallpaper and lxpanel no longer starts at log in.

I know you installed libopenbox2 before, but was that in OB?  Try Synaptic in OB and if necessary reinstall.  Then reboot. 
Linux Registered User # 529407


Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: Openbox session broken
« Reply #13 on: February 08, 2012, 07:35:44 AM »
after installing gnome I can now log into plain openbox. however, I can't set the wallpaper and lxpanel no longer starts at log in.

I know you installed libopenbox2 before, but was that in OB?  Try Synaptic in OB and if necessary reinstall.  Then reboot.  
actually I installed it  in the TTL along with gnome since that was the only thing I could get to at the time. I will try.

edit: didn't help. I'm getting a no execute line error in 26openbox when it tries to start.

well now I can start in gnome, log out and into openbox and lxpanel is starting and I can set the wallpaper. not sure why I can't boot directly into openbox though.  :-\
« Last Edit: February 08, 2012, 07:47:44 AM by LKJ »
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Openbox session broken
« Reply #14 on: February 08, 2012, 07:49:47 AM »
A few shots...

Before update:




During update (not much to update):




After update:




Very minimalist, isn't it ?

/when it ain't broken don't fix it. If broken hit harder !

//I'll install libopenbox2 now and look if it fixes it.


« Last Edit: February 08, 2012, 07:59:46 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode