Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

unable to exit openbox

Mon Apr 19, 2021 10:57 am

I don't know how but I accidentally entered openbox

I was trying to set the default python version
but all of a sudden I wasn't able to open the terminal
so I rebooted my pi and boom I'm in openbox
I didn't know what was going on, my taskbar is gone and ctrl + alt + t to open the terminal also doesn't work the only thing that was able to do was right click

when I right clicked it showed some options
I was able to open all apps using it and also there was the exit option
I click it, and it showed a message saying Are you sure you want to exit Openbox? so I clicked exit and the system rebooted
so I logged in again with my account, but nothing changed !!!

OS: raspberry pi os 64 bit
Raspberry pi: rpi4 b

I'm really desperate I wasn't able to find any good pieces of information online
someone, please help me!!! I'm a beginner!!!

klricks
Posts: 7730
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: unable to exit openbox

Mon Apr 19, 2021 3:24 pm

Do not try to exit openbox. OB is needed......

Did you change the contents of autostart? If so make sure autostart has these 2 lines:

Code: Select all

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
Note there is no Python default to be set.
When you need Python 2 then use python or python2
When you need Python 3 then use python3
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Mon Apr 19, 2021 7:41 pm

you say exactly what you did/changed

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Mon Apr 19, 2021 11:57 pm

I didn't edit autostart I just checked if those two lines were there, and they were there
and what do you mean by do not try to exit openbox??? I need to exit it
I want my normal pi DE back

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 12:08 am

Joonius wrote:
Mon Apr 19, 2021 11:57 pm
I didn't edit autostart I just checked if those two lines were there, and they were there
and what do you mean by do not try to exit openbox??? I need to exit it
I want my normal pi DE back
is "appearance settings" in that desktop menu.
if so open it> default tab, medium
then reboot

klricks
Posts: 7730
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: unable to exit openbox

Tue Apr 20, 2021 12:59 am

Joonius wrote:
Mon Apr 19, 2021 11:57 pm
I didn't edit autostart I just checked if those two lines were there, and they were there
and what do you mean by do not try to exit openbox??? I need to exit it
I want my normal pi DE back
Openbox must be running. The DE LXDE runs on top of OB. Closing OB puts you deeper in the 'hole'.
Try running these 2 commands from the OB terminal:

Code: Select all

lxpanel --profile LXDE-pi &
pcmanfm --desktop --profile LXDE-pi &
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 1:34 am

How do I open the OB terminal???

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 1:39 am

Joonius wrote:
Tue Apr 20, 2021 1:34 am
How do I open the OB terminal???
right click on the desktop

klricks
Posts: 7730
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: unable to exit openbox

Tue Apr 20, 2021 1:40 am

Joonius wrote:
Tue Apr 20, 2021 1:34 am
How do I open the OB terminal???
Right click on the screen and select terminal.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 1:46 am

I ran the commands and I selected defaults for medium in appeance setting and rebooted
and the taskbar is back but it's still not the classic raspberry pi DE

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 2:04 am

Joonius wrote:
Tue Apr 20, 2021 1:46 am
I ran the commands and I selected defaults for medium in appeance setting and rebooted
and the taskbar is back but it's still not the classic raspberry pi DE
press print & post the pic

selecting default should have reset everything back to stock, like when you first install.
unless you installed something that is overriding the settings.

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 2:29 am

file:///home/Joonius/2021-04-20-052525_1920x1080_scrot.png
Attachments
2021-04-20-052525_1920x1080_scrot.png
2021-04-20-052525_1920x1080_scrot.png (135.18 KiB) Viewed 300 times
2021-04-20-052525_1920x1080_scrot.png
2021-04-20-052525_1920x1080_scrot.png (135.18 KiB) Viewed 300 times
2021-04-20-052525_1920x1080_scrot.png
2021-04-20-052525_1920x1080_scrot.png (135.18 KiB) Viewed 300 times

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 2:49 am

that's default lxde, if i had to guess i would say you somehow changed the session log in, so it's not logging into lxde-pi, but lxde instead.

can't remember the command to change, let me google & get back to you.

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 2:55 am

ok thanks

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 3:03 am

Code: Select all

sudo apt install --reinstall raspberrypi-ui-mods
try that command & reboot

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 3:14 am

might also want to try

Code: Select all

sudo apt install --reinstall raspberrypi-sys-mods

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 3:18 am

it worked
but I'm unable to open the terminal

error message: Invalid menu directory 'System/lxterminal.desktop'

Joonius
Posts: 28
Joined: Thu Mar 04, 2021 11:15 am

Re: unable to exit openbox

Tue Apr 20, 2021 3:23 am

Wait!! It worked
it worked after a reboot
thank you guys for all the answers bye!!!

User avatar
kerry_s
Posts: 2026
Joined: Thu Jan 30, 2020 7:14 pm

Re: unable to exit openbox

Tue Apr 20, 2021 4:53 am

that's good.
remember don't use lxde settings, raspberry is a modified lxde, but uses different settings/tweaks. only use what's in preferences.

Return to “Beginners”