You are not logged in.
NOTE:
I disavow responsibility for troubleshooting spaces and quotes in the Exec line of a .desktop file!
I dont blame you!! Few weeks ago i couldnt understand what i did wrong to a .desktop file to make it stop working, low and behold it was a 1 byte space in front of the Exec line!!
Im a bit confused on how to check runit scripts ? Im fairly new at this so please forgive any mistakes, coming from voidlinux is where my confusion starts.
So i installed a fresh copy of debian bullseye just to see how runit-init works (just as a test bed, i aim to do this with devuan as well) and it is working well except i had to create run scripts for NetworkManager to make it work (or did i not have to?). Having researched this a it more would it be right that to start, stop and check status of init scripts the way to do this would be like so? So this is using sysv-rc style scripts and how these transfer over to runit? So there is a separation for now on sysv scripts and native runit scripts?
sudo /etc/init.d/lightdm status # start and stop etc?
For the network manager run script i used this info from here https://kchard.github.io/runit-quickstart/ as couldnt see one in /etc/init.d/
Are these scripts ok and are they missing anything, in the right locations?
run..
/etc/runit/NetworkManager/run
#!/bin/sh -e
exec 2>&1
exec chpst -u root NetworkManager
log..
/etc/runit/NetworkManager/log/run
#!/bin/sh
exec chpst -u root svlogd -tt /var/log/NetworkManager/
Then finally
# ln -s /etc/runit/NetworkManager /etc/service
Can confirm that NetworkManager is working.
pstree
~$ pstree
runit─┬─ModemManager───2*[{ModemManager}]
├─NetworkManager───2*[{NetworkManager}]
├─at-spi-bus-laun─┬─dbus-daemon
│ └─3*[{at-spi-bus-laun}]
├─at-spi-bus-laun───3*[{at-spi-bus-laun}]
├─at-spi2-registr───2*[{at-spi2-registr}]
├─avahi-daemon───avahi-daemon
├─colord───2*[{colord}]
├─cron
├─3*[dbus-daemon]
├─2*[dbus-launch]
├─dconf-service───2*[{dconf-service}]
├─elogind-daemon
├─gnome-keyring-d───3*[{gnome-keyring-d}]
├─gpg-agent
├─gvfs-udisks2-vo───3*[{gvfs-udisks2-vo}]
├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}]
│ └─2*[{gvfsd}]
├─gvfsd-metadata───2*[{gvfsd-metadata}]
├─lightdm─┬─Xorg───9*[{Xorg}]
│ ├─lightdm─┬─xfce4-session─┬─Thunar───2*[{Thunar}]
│ │ │ ├─applet.py
│ │ │ ├─light-locker───3*[{light-locker}]
│ │ │ ├─nm-applet───3*[{nm-applet}]
│ │ │ ├─polkit-gnome-au───2*[{polkit-gnome-au}]
│ │ │ ├─ssh-agent
│ │ │ ├─xfce4-notifyd───2*[{xfce4-notifyd}]
│ │ │ ├─xfce4-panel─┬─panel-10-notifi───2*[{panel-10-notifi}]
│ │ │ │ ├─panel-14-action───2*[{panel-14-action}]
│ │ │ │ ├─panel-6-systray───2*[{panel-6-systray}]
│ │ │ │ ├─panel-8-pulseau───2*[{panel-8-pulseau}]
│ │ │ │ ├─panel-9-power-m───2*[{panel-9-power-m}]
│ │ │ │ └─2*[{xfce4-panel}]
│ │ │ ├─xfce4-power-man───2*[{xfce4-power-man}]
│ │ │ ├─xfdesktop───2*[{xfdesktop}]
│ │ │ ├─xfsettingsd───2*[{xfsettingsd}]
│ │ │ ├─xfwm4───6*[{xfwm4}]
│ │ │ ├─xiccd───2*[{xiccd}]
│ │ │ └─2*[{xfce4-session}]
│ │ └─2*[{lightdm}]
│ └─2*[{lightdm}]
├─polkitd───2*[{polkitd}]
├─pulseaudio───2*[{pulseaudio}]
├─rsyslogd───3*[{rsyslogd}]
├─rtkit-daemon───2*[{rtkit-daemon}]
├─runsvdir─┬─6*[runsv───fgetty]
│ └─runsv───svlogd
├─saned───saned
├─systemd-udevd
├─udisksd───4*[{udisksd}]
├─upowerd───2*[{upowerd}]
├─wpa_supplicant
├─x-www-browser─┬─Privileged Cont───23*[{Privileged Cont}]
│ ├─2*[Web Content───23*[{Web Content}]]
│ ├─2*[Web Content───24*[{Web Content}]]
│ ├─Web Content───17*[{Web Content}]
│ ├─WebExtensions───22*[{WebExtensions}]
│ └─61*[{x-www-browser}]
├─xfce4-terminal─┬─bash───pstree
│ └─2*[{xfce4-terminal}]
└─xfconfd───2*[{xfconfd}]
Anyhow, thanks for making runit available on devuan/debian.
dice wrote:I still dont understand what is going on with debians runit as i get the below output to check dbus and lightdm sv status ?
Thanks.
here is something i picked up today in regards to having a tray menu app to logout and shutdown, the first script calls the exit.sh menu similar to how gnome-desktop does it but with dwm statusbar systray and you can easily lock and logout the session here, then when the shutdown is pressed the exit menu appears with reboot or shutdown. The tray icon needs to be specified directly within yad. This is for dwm using the systray patch as shown in screens but could be used for any panel with tray app i think.
#!/bin/sh
PIPE="/tmp/.pipe.tmp"
rm "$PIPE"
mkfifo "$PIPE"
exec 3<> "$PIPE"
yad --notification --listen <&3 &
echo "menu:\
Lock !i3lock-fancy!system-lock-screen-symbolic||\
Logout !loginctl kill-user "$USER"!exit||\
Shutdown !exit.sh!system-shutdown-symbolic" >&3
echo "icon:$HOME/.icons/system-shutdown-symbolic.svg" >&3
echo "tooltip:Right click to choose option" >&3
exit.sh script
#!/bin/bash
yad_cancel () {
kill -USR1 "$YAD_PID"
}
export -f yad_cancel
yad --no-buttons --geometry=150x100+1300+0 --form --columns=1 --borders=10 --keep-icon-size --on-top \
--field='!/usr/share/icons/Papirus-Dark/24x24/panel/system-restart-panel.svg!reboot':fbtn "loginctl reboot" \
--field='!/usr/share/icons/Papirus-Dark/24x24/panel/system-shutdown-panel.svg!poweroff':fbtn "loginctl poweroff" \
--field='!/usr/share/icons/Papirus-Dark/24x24/actions/button_cancel.svg!cancel':fbtn "bash -c 'yad_cancel'"
screens
Morty wrote:Debian 11 (Bullseye) will be released with runit and SysV, probably even with OpenRC. Together with a few shim-packages to avoid the installation of systemd dependencies.
The runit-init package has been removed from the dependency list for the init metapackage in Debian bullseye so technically only systemd and sysvinit are supported. It is possible to use runit-init or openrc-init as PID1 though.
AFAIK there are no "shim-packages to avoid the installation of systemd dependencies", not sure where you're getting that from. Perhaps provide a citation?
dice wrote:These other inits that debian may be supporting still rely on systemd shims afaik?
No.
Okay maybe i should have said transitional packages like runit-systemd, not really a shim just a dummy package?
Edit: thats wrong, seem like runit-systemd is only used to start runit supervision via systemd
how does one use runit-init on debian, like get the services run scripts to work when absent of systemd and sysvinit.
Void linux is easy as
# ln -s /etc/sv/NetworkManager /var/service/
With debian i cant seem to find the service files for networkmanager (and yes i have a debian testing system working with runit-init but network manager not up).
Is it still too early for this under debian and maybe i would need to create the init script myself?
Edit: managed to get network manager going with the help of this page here: https://kchard.github.io/runit-quickstart/
I still dont understand what is going on with debians runit as i get the below output to check dbus and lightdm sv status ?
$ sudo sv status dbus
fail: dbus: unable to change to service directory: file does not exist
sudo sv status lightdm
fail: lightdm: unable to change to service directory: file does not exist
pstree =
~$ pstree
runit─┬─ModemManager───2*[{ModemManager}]
├─NetworkManager───2*[{NetworkManager}]
├─at-spi-bus-laun─┬─dbus-daemon
│ └─3*[{at-spi-bus-laun}]
├─at-spi-bus-laun───3*[{at-spi-bus-laun}]
├─at-spi2-registr───2*[{at-spi2-registr}]
├─avahi-daemon───avahi-daemon
├─colord───2*[{colord}]
├─cron
├─3*[dbus-daemon]
├─2*[dbus-launch]
├─dconf-service───2*[{dconf-service}]
├─elogind-daemon
├─gnome-keyring-d───3*[{gnome-keyring-d}]
├─gnome-keyring-d───2*[{gnome-keyring-d}]
├─gpg-agent
├─gvfs-udisks2-vo───3*[{gvfs-udisks2-vo}]
├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}]
│ └─2*[{gvfsd}]
├─gvfsd-metadata───2*[{gvfsd-metadata}]
├─lightdm─┬─Xorg───9*[{Xorg}]
│ ├─lightdm─┬─xfce4-session─┬─Thunar───2*[{Thunar}]
│ │ │ ├─applet.py
│ │ │ ├─light-locker───3*[{light-locker}]
│ │ │ ├─nm-applet───3*[{nm-applet}]
│ │ │ ├─polkit-gnome-au───2*[{polkit-gnome-au}]
│ │ │ ├─ssh-agent
│ │ │ ├─xfce4-notifyd───2*[{xfce4-notifyd}]
│ │ │ ├─xfce4-panel─┬─panel-10-notifi───2*[{panel-10-notifi}]
│ │ │ │ ├─panel-14-action───2*[{panel-14-action}]
│ │ │ │ ├─panel-6-systray───2*[{panel-6-systray}]
│ │ │ │ ├─panel-8-pulseau───2*[{panel-8-pulseau}]
│ │ │ │ ├─panel-9-power-m───2*[{panel-9-power-m}]
│ │ │ │ └─2*[{xfce4-panel}]
│ │ │ ├─xfce4-power-man───2*[{xfce4-power-man}]
│ │ │ ├─xfdesktop───2*[{xfdesktop}]
│ │ │ ├─xfsettingsd───2*[{xfsettingsd}]
│ │ │ ├─xfwm4───6*[{xfwm4}]
│ │ │ ├─xiccd───2*[{xiccd}]
│ │ │ └─2*[{xfce4-session}]
│ │ └─2*[{lightdm}]
│ └─2*[{lightdm}]
├─packagekitd───2*[{packagekitd}]
├─polkitd───2*[{polkitd}]
├─pulseaudio───2*[{pulseaudio}]
├─rsyslogd───3*[{rsyslogd}]
├─rtkit-daemon───2*[{rtkit-daemon}]
├─runsvdir─┬─6*[runsv───fgetty]
│ └─runsv───NetworkManager
├─saned───saned
├─systemd-udevd
├─udisksd───4*[{udisksd}]
├─upowerd───2*[{upowerd}]
├─wpa_supplicant
├─x-www-browser─┬─Privileged Cont───24*[{Privileged Cont}]
│ ├─2*[Web Content───24*[{Web Content}]]
│ ├─Web Content───17*[{Web Content}]
│ ├─WebExtensions───22*[{WebExtensions}]
│ └─63*[{x-www-browser}]
├─xfce4-terminal─┬─bash───pstree
│ └─2*[{xfce4-terminal}]
└─xfconfd───2*[{xfconfd}]
I cant answer you questions but here is a good read on the situtation from the debian side of things. I would say what is done is done in regards to your system unless you reinstall and choose the option not to merge.
as has been said already use sysvinit if you are beginner. I havent tried runit on devuan yet but i have on voidlinux and imo is a really good init there. Im not sure how it works on devuan, but i believe sysvinit is still required to function for runit to work??
I believe the biggest difference between devuan and debian as it stands now is that devuan does not depend on systemd shims? These other inits that debian may be supporting still rely on systemd shims afaik?
Gojira - Born For One Thing
https://www.youtube.com/watch?v=3p85-KtgDSs
the ending is so precise.....
uninstalling apparmor also solves this issue. But im being obnoxious sorry...
dice wrote:I use fdroid app repo on my phone and found a cross platform Gemini browser called deedum if anyone is interested in that sort of thing.
It seems to work really well.
Looks interesting, always good to see whats out there. I'm using Ariane by OppenLab https://oppen.digital/ on android, looks like you can get it for fdroid too. Not cross platform though.
@yeti yes cross protocol browsers would be nice, even in the form of an addon
Ariane seems a bit more user friendly than deedum, thanks.
By not cross platform i suppose this is not compatible on iphone and some other non android devices?
Cross protocol browsers are more fun!
Wouldn't they, but how would E Corp make their mega bux!
I use fdroid app repo on my phone and found a cross platform Gemini browser called deedum if anyone is interested in that sort of thing.
It seems to work really well.
that is strange behaviour. Maybe you accidently hit the wifi button on or near the keyboard. I know on my laptop i have a kill switch button that is sensitive and it softblocks the wifi, ive accidently hit it in the past and not known then thought i had software issues when in fact it was PEBKAC.
what does rfkill say?
# rfkill list
~$ aptitude why-not consolekit
i policykit-1-gnome Depends policykit-1
i A policykit-1 Depends libpolkit-backend-1-0 (= 0.105-25+devuan8)
i A libpolkit-backend-1-0 Depends libpolkit-backend-elogind-1-0 | libpolkit-backend-consolekit-1-0
i A libpolkit-backend-elogind-1-0 Conflicts consolekit
why are you using apt list ?
if you want to see what is on your system use dpkg
dpkg -l | grep -i consolekit
Maybe see if Theo de Raadt can give you a hand lol....
I think you will be ok upgrading from consolkit to elogind.
Hello:
dice wrote:... dont use backintime.
... see what happens when i install backintime.Thanks.
dice wrote:... elogind is the preferred choice over consolekit?
Don't know.
dice wrote:... using the lxqt desktop maybe?
No, the XFCE that came by default with ASCII
groucho@devuan:~$ apt list | grep -i installed | grep xfce4 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. --- snip --- xfce4/stable,stable,now 4.12.5 all [installed] groucho@devuan:~$
dice wrote:... no issues installing and using backintime-qt4 ...
Mine is not Qt:
groucho@devuan:~$ apt list | grep -i installed | grep backintime WARNING: apt does not have a stable CLI interface. Use with caution in scripts. backintime-common/stable,stable,now 1.1.24-0.1 all [installed,automatic] backintime-qt4/stable,stable,now 1.1.24-0.1 all [installed] groucho@devuan:~$
Thanks for your input.
Cheers,
A.
Looks like you have backintime-qt4 installed ??
Do you use any kde apps ?
i dont know i dont use backintime. Ill get on my other machine running beowulf soon and see what happens when i install backintime.
going forward though i believe elogind is the preferred choice over consolekit?
Edit: are you using the lxqt desktop maybe? You didnt say.
I have no issues installing and using backintime-qt4 using my xfce4 partition, polkit for that is gnome.
Hello:
So then I tried to see if I could install the missing dependency:
[root@devuan ~]# apt install libpam-systemd Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libpam-elogind' instead of 'libpam-systemd' <------------ this is the clue? The following packages were automatically installed and are no longer required: libcgmanager0 liblz4-1:i386 libnih-dbus1 libnih1 Use 'apt autoremove' to remove them. The following additional packages will be installed: elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0 Recommended packages: libpam-elogind:i386 The following packages will be REMOVED: consolekit libpam-ck-connector libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0 libsystemd0 libsystemd0:i386 The following NEW packages will be installed: elogind:i386 libacl1:i386 libattr1:i386 libelogind0 libelogind0:i386 libpam-elogind libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0 0 upgraded, 8 newly installed, 6 to remove and 1 not upgraded. Need to get 1414 kB of archives. After this operation, 2204 kB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. [root@devuan ~]#
Now, seeing that I did an ASCII --> Beowulf dist-upgrade as per the pertinent instructions, why is this happening?
Was something missing in my ASCII?
Did I miss something whiole installing?Do I have to install libpam-elogind?
Is consolekit no longer used?
I recall it was the one I had to use for the SLiM/XFCE combination.Thanks you both for your input.
Cheers,
A.
That looks fairly normal to me. That should fix the libpolkit-qt5-1-1 issue, does it?
Hello:
Ron wrote:Do the movie sites use DRM?
What?
Not the ones I frequent ... 8^D !!!
uBlock Origin gets heavy use though.Ron wrote:Pale Moon does not and will not support DRM.
I don't go near any of those.
Cheers,
A.
https://yesmovies.ag/yes.html looks to be a pirate streaming website, no wonder it doesn't work properly? Im using ungoogled-chromium and it wont even load.
why not apt update && apt dist-upgrade
dice wrote:but startx still needs needs_root_rights=yes in /etc/X11/Xwrapper.config via the package xserver-xorg-legacy
No, it doesn't. That hasn't been a requirement for quite some time now.
See also https://www.debian.org/releases/stretch … uires-root
EDIT: Devuan may have needed that before it started using elogind but beowulf certainly doesn't need it (I've tested this in the live environment).
so if using elogind, xserver-xorg-legacy is not needed if using devuan?
I cant find anything on the web in regards to if needs_root_rights=yes in /etc/X11/Xwrapper.config could be a security issue, only time will tell i suppose. But interesting reading on lightdm vulnerabilities.
xdm is probably the better alternative for a login manager imo.
give it a try, but you may end up with a frankendevuan.
i decided to do a tasksel xfce4 install and got the same metapackage issue. Waste of bandwidth this but if you want to do away with task-desktop you can uninstall it, just be aware of what it wants to uninstall and heed fsmithreds advice on minimal installation.
# apt remove task-desktop