You are not logged in.

#1 2026-03-27 13:53:54

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Bunsenlabs Devuan

Preferring Devuan to Debian and a different init system, I installed the Devuan Excalibur iso and then the Bunsenlabs netinstall script. Everything works, except bl-exit which is linked to systemd; To overcome this, I created a small script with gMessage. And this is the result...

Istantanea-2026-03-27-14-30-45.png

Last edited by Wasp (2026-03-27 14:13:04)


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#2 2026-03-27 15:35:06

greenjeans
Member
Registered: 2025-01-18
Posts: 323
Website

Re: Bunsenlabs Devuan

Very very nice!! And I like that you made your own script for shutdown, that looks great!

I wonder though for a drop-in solution to shutdown, if Obsession would work?

Offline

#3 2026-03-27 15:54:05

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

greenjeans wrote:

Very very nice!! And I like that you made your own script for shutdown, that looks great!

I wonder though for a drop-in solution to shutdown, if Obsession would work?

Thank's smile
I don't know if oblogout works only with systemd...


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#4 2026-03-27 17:00:43

greenjeans
Member
Registered: 2025-01-18
Posts: 323
Website

Re: Bunsenlabs Devuan

I'm running Devuan-based Openbox, and Obsession works great, at least in daedalus/bookworm. It's an older program, but very simple and hardy.

Offline

#5 2026-03-27 17:09:01

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

greenjeans wrote:

I'm running Devuan-based Openbox, and Obsession works great, at least in daedalus/bookworm. It's an older program, but very simple and hardy.

Ah grazie della informazione, non conoscevo obsession... smile


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#6 2026-03-27 18:34:19

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,966

Re: Bunsenlabs Devuan

Looking very nice and I'm sure that down the road bl-exit be made more compatible with other inits including Sysv and most likely involve making some changes under the hood to accommodate the ways to end session/logout or reboot.

I might play with devuan-based BL myself on a test system. Is your logout/shutdown/reboot script on a repo somewhere?

Welcome to the BL Forums btw!

Last edited by DeepDayze (2026-03-27 18:37:13)


Real Men Use Linux

Offline

#7 2026-03-27 19:36:06

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

DeepDayze wrote:

Looking very nice and I'm sure that down the road bl-exit be made more compatible with other inits including Sysv and most likely involve making some changes under the hood to accommodate the ways to end session/logout or reboot.

I might play with devuan-based BL myself on a test system. Is your logout/shutdown/reboot script on a repo somewhere?

Welcome to the BL Forums btw!

Thank's, it's a simple script in bash, I love simplicity... smile smile

#!/bin/bash

gmessage "Chiudere OpenBox ?                                   " -center -title "ESCI" -default "Cancella" -buttons "Cancella":1,"Esci":2,"Sospendi":3,"Riavvia":4,"Spegni":5 >/dev/null

case $? in
1)
echo "Esci" ;;
2)
openbox --exit ;;
3)
loginctl suspend ;;
4)
loginctl reboot ;;
5)
loginctl poweroff ;;
esac

Last edited by Wasp (2026-03-27 19:55:24)


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#8 2026-03-28 12:48:27

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

I'm correcting what I wrote: bl-exit works with Devuan and loginctl. A small change needs to be made to line 115 in the /usr/bin/bl-exit.conf file (the change is in bold):

[logout]='--button= Esci!system-log-out:bash -c "openbox --exit"'

Last edited by Wasp (2026-03-28 17:49:26)


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#9 2026-03-29 01:54:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 13,161
Website

Re: Bunsenlabs Devuan

Hi Wasp, welcome to the forum, and thank you for this contribution!

Bl-exit was specifically written (by a forum member who does not use systemd) to be init-agnostic. That is, it should work OK without systemd.

Thank you for the suggestion to make logout work on Devuan (the file is /usr/bin/bl-exit), but I'm eager to learn why the original script does not work with "loginctl terminate-session $XDG_SESSION_ID", and fix it if necessary.

Maybe you need to install elogind to make it work?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#10 2026-03-29 07:32:48

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

johnraff wrote:

Hi Wasp, welcome to the forum, and thank you for this contribution!

Bl-exit was specifically written (by a forum member who does not use systemd) to be init-agnostic. That is, it should work OK without systemd.

Thank you for the suggestion to make logout work on Devuan (the file is /usr/bin/bl-exit), but I'm eager to learn why the original script does not work with "loginctl terminate-session $XDG_SESSION_ID", and fix it if necessary.

Maybe you need to install elogind to make it work?

Hi and thanks smile
The command doesn't produce anything.

:~$ loginctl terminate-session $XDG_SESSION_ID
:~$


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#11 2026-03-29 07:40:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 13,161
Website

Re: Bunsenlabs Devuan

Have you installed elogind?

...if so, what is the output of 'man loginctl'?

Last edited by johnraff (2026-03-29 07:43:11)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#12 2026-03-29 07:54:46

ceeslans
Member
Registered: 2015-09-30
Posts: 212

Re: Bunsenlabs Devuan

fwiw: running fluxbox on devuan 6 (excalibur) - with elogind duly installed, however "loginctl terminate-session $XDG_SESSION_ID" doesn't do anything.

to logout, I could use "fluxbox-remote exit" command (pretty much similar to @Wasp's openbox logout command).
but mostly using "pkill -KILL -u $USER"  - which I believe is init-agnostic ?

Last edited by ceeslans (2026-03-29 08:06:37)

Offline

#13 2026-03-29 07:58:35

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

johnraff wrote:

Have you installed elogind?

...if so, what is the output of 'man loginctl'?

it is installed...


LOGINCTL(1)                         loginctl                        LOGINCTL(1)

NAME
       loginctl - Control the elogind login manager

SYNOPSIS

       loginctl [OPTIONS...] {COMMAND} [NAME...]

       /lib/elogind/system-shutdown

       /lib/elogind/system-sleep

DESCRIPTION
       loginctl may be used to introspect and control the state of the

       elogind(8) login manager

COMMANDS
       The following commands are understood:

   Session Commands
       list-sessions
Manual page loginctl(1) line 1 (press h for help or q to quit)...skipping...
LOGINCTL(1)                         loginctl                        LOGINCTL(1)

NAME
       loginctl - Control the elogind login manager

SYNOPSIS

       loginctl [OPTIONS...] {COMMAND} [NAME...]

       /lib/elogind/system-shutdown

       /lib/elogind/system-sleep

DESCRIPTION
       loginctl may be used to introspect and control the state of the

       elogind(8) login manager

COMMANDS
       The following commands are understood:

   Session Commands
       list-sessions
           List current sessions.

       session-status [ID...]
           Show terse runtime status information about one or more sessions,
           followed by the most recent log data from the journal. Takes one or
           more session identifiers as parameters. If no session identifiers
           are passed, the status of the caller's session is shown. This
           function is intended to generate human-readable output. If you are
           looking for computer-parsable output, use show-session instead.

           Added in version 233.

       show-session [ID...]
           Show properties of one or more sessions or the manager itself. If no
           argument is specified, properties of the manager will be shown. If a
           session ID is specified, properties of the session are shown.
           Specially, if the given ID is "self", the session to which the
           loginctl process belongs is used. If "auto", the current session is
           used as with "self" if exists, and falls back to the current user's
           graphical session. By default, empty properties are suppressed. Use
           --all to show those too. To select specific properties to show, use
           --property=. This command is intended to be used whenever

Last edited by Wasp (2026-03-29 08:00:33)


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#14 Yesterday 02:55:06

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 13,161
Website

Re: Bunsenlabs Devuan

^Thanks. It's difficult for me to debug this without a non-systemd system that uses elogind.
I found the manual online: https://manpages.debian.org/trixie/elog … .1.en.html

terminate-session ID... is there under Session Commands so why isn't "loginctl terminate-session $XDG_SESSION_ID" working? (Confirmed by ceeslans.) Could it be that with elogind that command needs root permissions, but not with systemd?

Another user had the same issue on the Artix Linux Forum: https://forum.artixlinux.org/index.php/ … 851.0.html
But man pages for elogind all claim that the loginctl command should work.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#15 Yesterday 09:34:15

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

johnraff wrote:

^Thanks. It's difficult for me to debug this without a non-systemd system that uses elogind.
I found the manual online: https://manpages.debian.org/trixie/elog … .1.en.html

terminate-session ID... is there under Session Commands so why isn't "loginctl terminate-session $XDG_SESSION_ID" working? (Confirmed by ceeslans.) Could it be that with elogind that command needs root permissions, but not with systemd?

Another user had the same issue on the Artix Linux Forum: https://forum.artixlinux.org/index.php/ … 851.0.html
But man pages for elogind all claim that the loginctl command should work.

Not even giving the command as root via sudo, nothing happens...


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#16 Yesterday 17:02:59

chroot
Member
Registered: 2024-12-12
Posts: 128

Re: Bunsenlabs Devuan

wrong thread

Last edited by chroot (Today 00:21:22)

Offline

#17 Yesterday 20:34:28

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,966

Re: Bunsenlabs Devuan

Love the theme and the icons @chroot!


Real Men Use Linux

Offline

#18 Today 02:17:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 13,161
Website

Re: Bunsenlabs Devuan

Wasp wrote:
johnraff wrote:

...why isn't "loginctl terminate-session $XDG_SESSION_ID" working? Could it be that with elogind that command needs root permissions, but not with systemd?

Not even giving the command as root via sudo, nothing happens...

Thanks for confirming that.

You already have a solution that works well for your situation, so lets leave it there for now.

I would like to get bl-exit working on non-systemd systems - as it's supposed to - but it will probably need some time debugging on a devuan system. Later, I guess...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#19 Today 07:43:49

Wasp
Member
Registered: 2026-03-27
Posts: 11
Website

Re: Bunsenlabs Devuan

johnraff wrote:
Wasp wrote:
johnraff wrote:

...why isn't "loginctl terminate-session $XDG_SESSION_ID" working? Could it be that with elogind that command needs root permissions, but not with systemd?

Not even giving the command as root via sudo, nothing happens...

Thanks for confirming that.

You already have a solution that works well for your situation, so lets leave it there for now.

I would like to get bl-exit working on non-systemd systems - as it's supposed to - but it will probably need some time debugging on a devuan system. Later, I guess...

Thanks, the small change by inserting openbox --exit to the other command, it works perfectly...

PS I wrote this review for my blog, if it may interest you... smile
https://luddisti.noblogs.org/?p=435


Il cielo prima di tutto. Sempre...
Luddisti

Offline

#20 Today 14:29:04

greenjeans
Member
Registered: 2025-01-18
Posts: 323
Website

Re: Bunsenlabs Devuan

Wasp wrote:

PS I wrote this review for my blog, if it may interest you... smile
https://luddisti.noblogs.org/?p=435

Nice write-up, thanks! I was wondering how you proceeded. So basically do a net-install of the basic system, boot up into console and run the BL script?

I just don't like using the debian installer, takes sooo long on my old machine, I wonder if I couldn't just take an existing Devuan Mate install I have and add the new configs/script then re-boot into that and un-install the Mate session components? I know it sounds like the harder way, but I have used this de-construct/re-construct method for so long now that it's second nature and I can work very fast using it.

Pondering this...assuming success one could then roll up an iso with Refracta-Snapshot, then sharing that as a nice base to tinker with, @johnraff you mentioned needing such before you could effectively de-bug, would it be helpful if I or someone else made one?

Offline

Board footer

Powered by FluxBB