[Solved] openbox --exit and logout

Post your suggestions and improvements for future releases of ARCHLabs.

Moderator: Founder

[Solved] openbox --exit and logout

PostPosted by natemaia » Fri Apr 14, 2017 5:23 am

Hi guys this is just a quick tip for those looking to get logout working.
when you logout currently is calls openbox --exit the problem with this is that it doesnt place you at the login, rather just ends your openbox-session.
For oblogout users modify oblogout.conf found in /etc on line: 24 change
Code: Select all
logout = openbox --exit

To:
Code: Select all
logout = kill -9 -1

For al-exit users modify al-exit found in /usr/bin on line: 102 change
Code: Select all
subprocess.check_output(["openbox", "--exit"])

To:
Code: Select all
subprocess.check_output(["kill", "-9","-1"])

This ends all user processes and places you back at lightDM login. I know this is a dirty way of logging out and im sure there is a better solution, this is simply the only current way ive found to do it without having a session manager and it works :D
Last edited by natemaia on Sat Apr 15, 2017 8:00 am, edited 1 time in total.
User avatar
natemaia
ArchLabs Guru
ArchLabs Guru
 
Posts: 75
Joined: Thu Mar 16, 2017 10:14 pm
Location: Canada - British Columbia
Running Release: 5.0

Re: openbox --exit and logout

PostPosted by erikdubois » Fri Apr 14, 2017 5:24 pm

We have isolated the issue.
There is no need for a complex solution.
Please make sure this line is removed or hashtagged out to solve the logout issue documented here.
https://github.com/ARCHLabs/Archlabs-Iso/issues/87
To all : Let us know if this fixes your issue.
Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
erikdubois
Site Admin
Site Admin
 
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium

Re: [Solved] openbox --exit and logout

PostPosted by natemaia » Sat Apr 15, 2017 8:01 am

^^^ this worked perfectly thanks erik
User avatar
natemaia
ArchLabs Guru
ArchLabs Guru
 
Posts: 75
Joined: Thu Mar 16, 2017 10:14 pm
Location: Canada - British Columbia
Running Release: 5.0

Re: [Solved] openbox --exit and logout

PostPosted by erikdubois » Sat Apr 15, 2017 5:45 pm

great
:D
Living to learn, learning to live.
Linux fits well in my life's motto.
More info on http://erikdubois.be
Archlabs support articles are on https://goo.gl/AaYI0b
Archlabs support youtube channel is on https://goo.gl/Lovquv
User avatar
erikdubois
Site Admin
Site Admin
 
Posts: 333
Joined: Sun Mar 05, 2017 5:42 am
Location: Belgium


Return to Suggestions and Improvements

Who is online

Users browsing this forum: No registered users and 0 guests

cron