You are not logged in.

#1 2012-10-23 22:08:08

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

[SOLVED] Closing Openbox doesn't close X

Hey guys, I'm not sure if this is specifically a [testing] problem or not, but:

Whenever I close openbox or run openbox restart, it drops me to a simple x session with no window management and doesn't close X. As a result of this, I've had no way to restart openbox without rebooting my computer completely.

CTRL+ALT+F1 and CTRL+C doesn't work, as it did in the past, since it seems X now starts on VT1, which I think is a side-effect of systemd but I'm not sure.

If anyone has experienced this, or has advice on how to restore this behavior to normal, I would appreciate it.

Last edited by ndt (2012-11-02 18:29:33)


[~/.]

Offline

#2 2012-10-23 22:10:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,427

Re: [SOLVED] Closing Openbox doesn't close X

How do you start openbox?

Last edited by karol (2012-10-23 22:11:11)

Offline

#3 2012-10-23 22:20:12

Gusar
Member
Registered: 2009-08-25
Posts: 3,446

Re: [SOLVED] Closing Openbox doesn't close X

Ah, so it's not just me. I'm not sure, but I think it started with the upgrade of xorg-server to 1.13. I use a zenity dialog for shutdown/reboot/suspend/logout and simply changed it from doing "openbox --exit" to "pkill -KILL openbox". Yeah, totally not elegant smile. But hey, it works smile

Offline

#4 2012-10-23 22:43:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,237

Re: [SOLVED] Closing Openbox doesn't close X

I use openbox on two up-to-date systemd machines with no problems at all. Shutting down/rebooting is done via dbus-send, and exiting is done using the built in exit menu "action", which I suspect is the same as "openbox --exit" which doesn't seem to work for Gusar.

I think the answer to Karol's question will be the most useful information you can both provide right now.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Online

#5 2012-10-23 22:59:43

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [SOLVED] Closing Openbox doesn't close X

karol wrote:

How do you start openbox?

startx with

exec ck-launch-session dbus-launch openbox-session

in ~/.xinitrc

Running "openbox --exit" or using the built-in openbox menu produces the same issue.


[~/.]

Offline

#6 2012-10-23 23:43:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,237

Re: [SOLVED] Closing Openbox doesn't close X

Can you switch to tty2? If so, does your journalctl list anything relevant immediately after the erroneous behaviour?

If you can't switch to tty2, check your persistent journals for relevant entries.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Online

#7 2012-10-24 05:07:57

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: [SOLVED] Closing Openbox doesn't close X

Same here. I use systemd with gdm as my login manager.

Offline

#8 2012-10-28 02:19:38

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [SOLVED] Closing Openbox doesn't close X

I can switch to TTY2, and journalctl doesn't show anything of importance.

What's interesting is I can still fully use the programs that are open when I shutdown openbox. It's like openbox closes, but the X session doesn't shut down and none of the programs that are running react to the shutdown, so they just run like if X didn't have a window manager ...


[~/.]

Offline

#9 2012-10-28 06:25:59

martadinata
Member
Registered: 2012-01-26
Posts: 25

Re: [SOLVED] Closing Openbox doesn't close X

doesn't need ck-launch-session

my xinitrc start

exec dbus-launch openbox-session

Last edited by martadinata (2012-10-28 06:26:56)

Offline

#10 2012-10-31 15:02:24

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [SOLVED] Closing Openbox doesn't close X

Removed ck-launch-session, and thanks for the tip, but that didn't solve the problem, unfortunately.


[~/.]

Offline

#11 2012-10-31 15:37:14

Beemer
Member
Registered: 2012-05-02
Posts: 13

Re: [SOLVED] Closing Openbox doesn't close X

Since today's update I'm experiencing the same issue.  'openbox --exit' stops openbox itself but Xserver, tint2, other open apps stay running.

my .xinitrc just has the

exec dbus-launch openbox-session

Offline

#12 2012-10-31 23:18:06

ATmega328
Member
Registered: 2012-10-31
Posts: 11

Re: [SOLVED] Closing Openbox doesn't close X

Another thread is also discussing this problem:

https://bbs.archlinux.org/viewtopic.php?id=151786

Offline

#13 2012-10-31 23:55:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: [SOLVED] Closing Openbox doesn't close X

Beemer, are you sure openbox exits? What I'm seeing here is that openbox's functionality disappears i.e. I can no longer manage windows, but the openbox executable is still running. Killing that returns me to a console prompt.

Offline

#14 2012-11-01 02:05:12

mervinb
Member
Registered: 2011-11-19
Posts: 20

Re: [SOLVED] Closing Openbox doesn't close X

I see exactly the same problem. It appears that 'openbox --exit' kills the WM, but does not fully exit openbox, hence the session remains. In my logout script, I now need an extra line after the exit, eg. 'openbox --exit; pkill -9 openbox'.

The issue also affects oblogout.

[EDIT}: I didn't notice that this is on [testing]. I do not use testing. This affects me on non-testing repos. I noticed it today (Oct 30).

Last edited by mervinb (2012-11-01 02:08:08)

Offline

#15 2012-11-02 00:38:36

martadinata
Member
Registered: 2012-01-26
Posts: 25

Re: [SOLVED] Closing Openbox doesn't close X

somehow this happen, after recent update the problem exactly the same,,, reported as bug maybe?

Offline

#16 2012-11-02 18:28:54

ndt
Member
From: USA
Registered: 2011-10-12
Posts: 30
Website

Re: [SOLVED] Closing Openbox doesn't close X


[~/.]

Offline

Board footer

Powered by FluxBB